[*] Binary protection state of ptzaurus_server_report
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of ptzaurus_server_report
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ptzaurus_server_report @ 0xaf0 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 2336 named .text */
0x00000af0 lui gp, 2 |
0x00000af4 addiu gp, gp, -0x6ae0 |
0x00000af8 addu gp, gp, t9 | gp += t9;
0x00000afc lw v0, -0x7f68(gp) | v0 = *((gp - 8154));
0x00000b00 addiu sp, sp, -0x90 |
0x00000b04 lw t9, -0x7f6c(gp) | t9 = sym.imp.g_key_file_new;
0x00000b08 sw v0, 0x54(sp) | *(var_54h) = v0;
0x00000b0c lw v0, (v0) | v0 = *(v0);
0x00000b10 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00000b14 sw ra, 0x8c(sp) | *(var_8ch) = ra;
0x00000b18 sw s0, 0x68(sp) | *(var_68h) = s0;
0x00000b1c sw fp, 0x88(sp) | *(var_88h) = fp;
0x00000b20 sw s7, 0x84(sp) | *(var_84h) = s7;
0x00000b24 sw s6, 0x80(sp) | *(var_80h) = s6;
0x00000b28 sw s5, 0x7c(sp) | *(var_7ch) = s5;
0x00000b2c sw s4, 0x78(sp) | *(var_78h) = s4;
0x00000b30 sw s3, 0x74(sp) | *(var_74h) = s3;
0x00000b34 sw s2, 0x70(sp) | *(var_70h) = s2;
0x00000b38 sw s1, 0x6c(sp) | *(var_6ch) = s1;
0x00000b3c sw zero, 0x5c(sp) | *(var_5ch) = 0;
0x00000b40 sw v0, 0x64(sp) | *(var_64h) = v0;
0x00000b44 addiu s0, sp, 0x5c | s0 = sp + 0x5c;
0x00000b48 jalr t9 | t9 ();
0x00000b4c lw gp, 0x18(sp) | gp = *(var_18h);
0x00000b50 sw v0, 0x50(sp) | *(var_50h) = v0;
0x00000b54 lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x00000b58 lw t9, -0x7f84(gp) | t9 = sym.imp.g_key_file_load_from_file;
0x00000b5c move a3, s0 | a3 = s0;
0x00000b60 move a2, zero | a2 = 0;
0x00000b64 addiu a1, a1, 0x1594 | a1 += str._usr_share_ptz_framework.conf;
0x00000b68 move a0, v0 | a0 = v0;
0x00000b6c jalr t9 | t9 ();
0x00000b70 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000b74 beqz v0, 0xfd4 | goto label_7;
| }
0x00000b78 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00000b7c lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x00000b80 lw t9, -0x7fb4(gp) | t9 = sym.imp.g_key_file_get_integer;
0x00000b84 lw a0, 0x50(sp) | a0 = *(var_50h);
0x00000b88 move a3, s0 | a3 = s0;
0x00000b8c addiu a2, a2, 0x15ec | a2 += str.Channels;
0x00000b90 addiu a1, a1, 0x15f8 | a1 += str.PTZProperties;
0x00000b94 jalr t9 | t9 ();
0x00000b98 lw v1, 0x5c(sp) | v1 = *(var_5ch);
0x00000b9c lw gp, 0x18(sp) | gp = *(var_18h);
0x00000ba0 sw v0, 0x34(sp) | *(var_34h) = v0;
| if (v1 != 0) {
0x00000ba4 bnez v1, 0x1030 | goto label_8;
| }
0x00000ba8 lw t9, -0x7f90(gp) | t9 = sym.imp.g_key_file_free;
| if (v0 <= 0) {
0x00000bac blez v0, 0xe98 | goto label_9;
| }
0x00000bb0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000bb4 lw s1, -0x7f94(gp) | s1 = *((gp - 8165));
0x00000bb8 sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x00000bbc lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000bc0 lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x00000bc4 sw v0, 0x40(sp) | *(var_40h) = v0;
0x00000bc8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000bcc move s7, zero | s7 = 0;
0x00000bd0 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00000bd4 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000bd8 addiu v0, v0, 0x11e0 | v0 += 0x11e0;
0x00000bdc sw v0, 0x24(sp) | *(var_24h) = v0;
0x00000be0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000be4 addiu v0, v0, 0x126c | v0 += 0x126c;
0x00000be8 sw v0, 0x38(sp) | *(var_38h) = v0;
0x00000bec lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000bf0 addiu v0, v0, 0x163c | v0 += 0x163c;
0x00000bf4 sw v0, 0x44(sp) | *(var_44h) = v0;
0x00000bf8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000bfc addiu v0, v0, 0x1590 | v0 += 0x1590;
0x00000c00 sw v0, 0x48(sp) | *(var_48h) = v0;
0x00000c04 lw t9, 0x24(sp) | t9 = *(var_24h);
| label_1:
0x00000c08 addiu s7, s7, 1 | s7++;
0x00000c0c jalr t9 | t9 ();
0x00000c10 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000c14 lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x00000c18 lw a0, (s1) | a0 = *(s1);
0x00000c1c lw t9, -0x7fac(gp) | t9 = sym.imp.__fprintf_chk
0x00000c20 move a3, s7 | a3 = s7;
0x00000c24 addiu a2, v0, 0x1630 | a2 = v0 + str.Channel__u:_n;
0x00000c28 addiu a1, zero, 1 | a1 = 1;
0x00000c2c jalr t9 | t9 ();
0x00000c30 lw v0, 0x20d0(s0) | v0 = *((s0 + 2100));
0x00000c34 lw t9, 0x38(sp) | t9 = *(var_38h);
0x00000c38 addiu v0, v0, 1 | v0++;
0x00000c3c move a0, s7 | a0 = s7;
0x00000c40 sw v0, 0x20d0(s0) | *((s0 + 2100)) = v0;
0x00000c44 jalr t9 | t9 ();
0x00000c48 lw t9, 0x24(sp) | t9 = *(var_24h);
0x00000c4c move s3, v0 | s3 = v0;
0x00000c50 jalr t9 | t9 ();
0x00000c54 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000c58 lw v0, 0x40(sp) | v0 = *(var_40h);
0x00000c5c lw a3, (s1) | a3 = *(s1);
0x00000c60 lw t9, -0x7f74(gp) | t9 = sym.imp.fwrite;
0x00000c64 addiu a2, zero, 0x13 | a2 = 0x13;
0x00000c68 addiu a1, zero, 1 | a1 = 1;
0x00000c6c addiu a0, v0, 0x1640 | a0 = v0 + str.Presets_Positions:_n;
0x00000c70 jalr t9 | t9 ();
0x00000c74 lw v0, 0x20d0(s0) | v0 = *((s0 + 2100));
0x00000c78 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000c7c addiu v0, v0, 1 | v0++;
0x00000c80 sw v0, 0x20d0(s0) | *((s0 + 2100)) = v0;
| if (s3 == 0) {
0x00000c84 beqz s3, 0xf54 | goto label_10;
| }
0x00000c88 lw t9, -0x7f9c(gp) | t9 = sym.imp.g_key_file_get_groups;
0x00000c8c move a0, s3 | a0 = s3;
0x00000c90 move a1, zero | a1 = 0;
0x00000c94 jalr t9 | t9 ();
0x00000c98 lw a0, (v0) | a0 = *(v0);
0x00000c9c lw gp, 0x18(sp) | gp = *(var_18h);
0x00000ca0 move s5, v0 | s5 = v0;
| if (a0 == 0) {
0x00000ca4 beqz a0, 0xe5c | goto label_11;
| }
0x00000ca8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000cac move s2, s5 | s2 = s5;
0x00000cb0 sw v0, 0x28(sp) | *(var_28h) = v0;
0x00000cb4 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000cb8 addiu s6, sp, 0x60 | s6 = sp + 0x60;
0x00000cbc sw v0, 0x30(sp) | *(var_30h) = v0;
0x00000cc0 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000cc4 addiu v0, v0, 0x1660 | v0 += str._03u:_;
0x00000cc8 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00000ccc b 0xce0 |
| while (v0 != v1) {
0x00000cd0 addiu s2, s2, 4 | s2 += 4;
0x00000cd4 lw a0, (s2) | a0 = *(s2);
0x00000cd8 lw t9, -0x7f8c(gp) | t9 = sym.imp.g_strfreev;
| if (a0 == 0) {
0x00000cdc beqz a0, 0xe60 | goto label_12;
| }
| label_0:
0x00000ce0 lw v0, 0x28(sp) | v0 = *(var_28h);
0x00000ce4 lw t9, -0x7f88(gp) | t9 = sym.imp.__isoc99_sscanf;
0x00000ce8 move a2, s6 | a2 = s6;
0x00000cec addiu a1, v0, 0x1654 | a1 = v0 + str.Preset_u;
0x00000cf0 jalr t9 | t9 ();
0x00000cf4 addiu v1, zero, 1 | v1 = 1;
0x00000cf8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000cfc bne v0, v1, 0xcd0 |
| }
0x00000d00 lw t9, 0x24(sp) | t9 = *(var_24h);
0x00000d04 jalr t9 | t9 ();
0x00000d08 nop |
0x00000d0c lw gp, 0x18(sp) | gp = *(var_18h);
0x00000d10 lw a3, 0x60(sp) | a3 = *(var_60h);
0x00000d14 lw a0, (s1) | a0 = *(s1);
0x00000d18 lw t9, -0x7fac(gp) | t9 = sym.imp.__fprintf_chk
0x00000d1c lw a2, 0x2c(sp) | a2 = *(var_2ch);
0x00000d20 addiu a1, zero, 1 | a1 = 1;
0x00000d24 jalr t9 | t9 ();
0x00000d28 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000d2c lw v0, 0x30(sp) | v0 = *(var_30h);
0x00000d30 lw a1, (s2) | a1 = *(s2);
0x00000d34 lw t9, -0x7f98(gp) | t9 = sym.imp.g_key_file_get_string;
0x00000d38 move a3, zero | a3 = 0;
0x00000d3c addiu a2, v0, 0x1668 | a2 = v0 + str.Name;
0x00000d40 move a0, s3 | a0 = s3;
0x00000d44 jalr t9 | t9 ();
0x00000d48 move s4, v0 | s4 = v0;
0x00000d4c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000d50 beqz v0, 0xf10 | goto label_13;
| }
0x00000d54 lw t9, -0x7fa4(gp) | t9 = sym.imp.CGI_print_html_escaped;
0x00000d58 move a0, v0 | a0 = v0;
0x00000d5c jalr t9 | t9 ();
0x00000d60 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000d64 lw a1, (s1) | a1 = *(s1);
0x00000d68 lw t9, -0x7fa0(gp) | t9 = sym.imp.fputc;
0x00000d6c addiu a0, zero, 0xa | a0 = 0xa;
0x00000d70 jalr t9 | t9 ();
0x00000d74 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000d78 lw t9, -0x7f60(gp) | t9 = sym.imp.g_free;
0x00000d7c move a0, s4 | a0 = s4;
0x00000d80 jalr t9 | t9 ();
0x00000d84 lw gp, 0x18(sp) | gp = *(var_18h);
| label_3:
0x00000d88 lw v0, 0x20d0(s0) | v0 = *((s0 + 2100));
0x00000d8c lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00000d90 lw t9, -0x7f98(gp) | t9 = sym.imp.g_key_file_get_string;
0x00000d94 lw a1, (s2) | a1 = *(s2);
0x00000d98 addiu v0, v0, 1 | v0++;
0x00000d9c move a3, zero | a3 = 0;
0x00000da0 addiu a2, a2, 0x168c | a2 += 0x168c;
0x00000da4 move a0, s3 | a0 = s3;
0x00000da8 sw v0, 0x20d0(s0) | *((s0 + 2100)) = v0;
0x00000dac jalr t9 | t9 ();
0x00000db0 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000db4 lw a1, (s2) | a1 = *(s2);
0x00000db8 move a3, zero | a3 = 0;
0x00000dbc lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00000dc0 lw t9, -0x7f98(gp) | t9 = sym.imp.g_key_file_get_string;
0x00000dc4 addiu a2, a2, 0x1690 | a2 += str.Extra;
0x00000dc8 move a0, s3 | a0 = s3;
0x00000dcc move fp, v0 | fp = v0;
0x00000dd0 jalr t9 | t9 ();
0x00000dd4 move s4, v0 | s4 = v0;
0x00000dd8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (fp == 0) {
0x00000ddc beqz fp, 0xee8 | goto label_14;
| }
0x00000de0 lw t9, 0x24(sp) | t9 = *(var_24h);
0x00000de4 jalr t9 | t9 ();
0x00000de8 nop |
0x00000dec lw gp, 0x18(sp) | gp = *(var_18h);
0x00000df0 lw a0, (s1) | a0 = *(s1);
0x00000df4 move a3, fp | a3 = fp;
| if (s4 == 0) {
0x00000df8 beqz s4, 0xf48 | goto label_15;
| }
0x00000dfc lw v1, 0x48(sp) | v1 = *(var_48h);
0x00000e00 move v0, s4 | v0 = s4;
| label_2:
0x00000e04 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00000e08 lw t9, -0x7fac(gp) | t9 = sym.imp.__fprintf_chk
0x00000e0c addiu a2, a2, 0x15e4 | a2 += str._s_s_s_n;
0x00000e10 addiu a1, zero, 1 | a1 = 1;
0x00000e14 sw v1, 0x10(sp) | *(var_10h) = v1;
0x00000e18 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00000e1c jalr t9 | t9 ();
0x00000e20 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000e24 lw t9, -0x7f60(gp) | t9 = sym.imp.g_free;
0x00000e28 move a0, fp | a0 = fp;
0x00000e2c jalr t9 | t9 ();
0x00000e30 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000e34 lw t9, -0x7f60(gp) | t9 = sym.imp.g_free;
0x00000e38 move a0, s4 | a0 = s4;
0x00000e3c jalr t9 | t9 ();
0x00000e40 lw gp, 0x18(sp) | gp = *(var_18h);
| label_5:
0x00000e44 addiu s2, s2, 4 | s2 += 4;
0x00000e48 lw v0, 0x20d0(s0) | v0 = *((s0 + 2100));
0x00000e4c lw a0, (s2) | a0 = *(s2);
0x00000e50 addiu v0, v0, -1 | v0 += -1;
0x00000e54 sw v0, 0x20d0(s0) | *((s0 + 2100)) = v0;
| if (a0 != 0) {
0x00000e58 bnez a0, 0xce0 | goto label_0;
| }
| label_11:
0x00000e5c lw t9, -0x7f8c(gp) | t9 = sym.imp.g_strfreev;
| label_12:
0x00000e60 move a0, s5 | a0 = s5;
0x00000e64 jalr t9 | t9 ();
0x00000e68 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000e6c lw t9, -0x7f90(gp) | t9 = sym.imp.g_key_file_free;
0x00000e70 move a0, s3 | a0 = s3;
0x00000e74 jalr t9 | t9 ();
0x00000e78 lw gp, 0x18(sp) | gp = *(var_18h);
| label_4:
0x00000e7c lw v0, 0x20d0(s0) | v0 = *((s0 + 2100));
0x00000e80 addiu v0, v0, -2 | v0 += -2;
0x00000e84 sw v0, 0x20d0(s0) | *((s0 + 2100)) = v0;
0x00000e88 lw v0, 0x34(sp) | v0 = *(var_34h);
0x00000e8c lw t9, 0x24(sp) | t9 = *(var_24h);
| if (s7 != v0) {
0x00000e90 bne s7, v0, 0xc08 | goto label_1;
| }
0x00000e94 lw t9, -0x7f90(gp) | t9 = sym.imp.g_key_file_free;
| label_9:
0x00000e98 lw a0, 0x50(sp) | a0 = *(var_50h);
0x00000e9c jalr t9 | t9 ();
0x00000ea0 lw v0, 0x54(sp) | v0 = *(var_54h);
0x00000ea4 lw a0, 0x64(sp) | a0 = *(var_64h);
0x00000ea8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000eac lw v1, (v0) | v1 = *(v0);
0x00000eb0 move v0, zero | v0 = 0;
| if (a0 != v1) {
0x00000eb4 bne a0, v1, 0x1024 | goto label_16;
| }
0x00000eb8 lw ra, 0x8c(sp) | ra = *(var_8ch);
0x00000ebc lw fp, 0x88(sp) | fp = *(var_88h);
0x00000ec0 lw s7, 0x84(sp) | s7 = *(var_84h);
0x00000ec4 lw s6, 0x80(sp) | s6 = *(var_80h);
0x00000ec8 lw s5, 0x7c(sp) | s5 = *(var_7ch);
0x00000ecc lw s4, 0x78(sp) | s4 = *(var_78h);
0x00000ed0 lw s3, 0x74(sp) | s3 = *(var_74h);
0x00000ed4 lw s2, 0x70(sp) | s2 = *(var_70h);
0x00000ed8 lw s1, 0x6c(sp) | s1 = *(var_6ch);
0x00000edc lw s0, 0x68(sp) | s0 = *(var_68h);
0x00000ee0 addiu sp, sp, 0x90 |
0x00000ee4 jr ra | return v1;
| label_14:
0x00000ee8 lw t9, 0x24(sp) | t9 = *(var_24h);
| if (v0 != 0) {
0x00000eec beqz v0, 0xf9c |
0x00000ef0 jalr t9 | t9 ();
0x00000ef4 nop |
0x00000ef8 lw a3, 0x44(sp) | a3 = *(var_44h);
0x00000efc lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f00 lw a0, (s1) | a0 = *(s1);
0x00000f04 move v0, s4 | v0 = s4;
0x00000f08 move v1, a3 | v1 = a3;
0x00000f0c b 0xe04 | goto label_2;
| label_13:
0x00000f10 lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x00000f14 lw t9, -0x7f74(gp) | t9 = sym.imp.fwrite;
0x00000f18 lw a3, (s1) | a3 = *(s1);
0x00000f1c addiu a2, zero, 0x18 | a2 = 0x18;
0x00000f20 addiu a1, zero, 1 | a1 = 1;
0x00000f24 addiu a0, a0, 0x1670 | a0 += str.__Preset_name_missing___;
0x00000f28 jalr t9 | t9 ();
0x00000f2c lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f30 lw a1, (s1) | a1 = *(s1);
0x00000f34 lw t9, -0x7fa0(gp) | t9 = sym.imp.fputc;
0x00000f38 addiu a0, zero, 0xa | a0 = 0xa;
0x00000f3c jalr t9 | t9 ();
0x00000f40 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f44 b 0xd88 | goto label_3;
| label_15:
0x00000f48 lw v0, 0x44(sp) | v0 = *(var_44h);
0x00000f4c move v1, v0 | v1 = v0;
0x00000f50 b 0xe04 | goto label_2;
| label_10:
0x00000f54 lw t9, 0x24(sp) | t9 = *(var_24h);
0x00000f58 jalr t9 | t9 ();
0x00000f5c nop |
0x00000f60 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f64 lw v0, 0x4c(sp) | v0 = *(var_4ch);
0x00000f68 lw a3, (s1) | a3 = *(s1);
0x00000f6c lw t9, -0x7f74(gp) | t9 = sym.imp.fwrite;
0x00000f70 addiu a2, zero, 0x1d | a2 = 0x1d;
0x00000f74 addiu a1, zero, 1 | a1 = 1;
0x00000f78 addiu a0, v0, 0x16b4 | a0 = v0 + str.__Preset_data_file_missing___;
0x00000f7c jalr t9 | t9 ();
0x00000f80 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f84 lw a1, (s1) | a1 = *(s1);
0x00000f88 lw t9, -0x7fa0(gp) | t9 = sym.imp.fputc;
0x00000f8c addiu a0, zero, 0xa | a0 = 0xa;
0x00000f90 jalr t9 | t9 ();
0x00000f94 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f98 b 0xe7c | goto label_4;
| }
0x00000f9c lw a0, -0x7fd8(gp) | a0 = *((gp - 8182));
0x00000fa0 lw t9, -0x7f74(gp) | t9 = sym.imp.fwrite;
0x00000fa4 lw a3, (s1) | a3 = *(s1);
0x00000fa8 addiu a2, zero, 0x18 | a2 = 0x18;
0x00000fac addiu a1, zero, 1 | a1 = 1;
0x00000fb0 addiu a0, a0, 0x1698 | a0 += str.__Preset_data_missing___;
0x00000fb4 jalr t9 | t9 ();
0x00000fb8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000fbc lw a1, (s1) | a1 = *(s1);
0x00000fc0 lw t9, -0x7fa0(gp) | t9 = sym.imp.fputc;
0x00000fc4 addiu a0, zero, 0xa | a0 = 0xa;
0x00000fc8 jalr t9 | t9 ();
0x00000fcc lw gp, 0x18(sp) | gp = *(var_18h);
0x00000fd0 b 0xe44 | goto label_5;
| label_7:
0x00000fd4 lw v1, -0x7f64(gp) | v1 = *((gp - 8153));
0x00000fd8 lw v0, 0x5c(sp) | v0 = *(var_5ch);
0x00000fdc lw a0, (v1) | a0 = *(v1);
| if (v0 == 0) {
0x00000fe0 beqz v0, 0x105c | goto label_17;
| }
0x00000fe4 lw v1, 8(v0) | v1 = *((v0 + 2));
0x00000fe8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000fec addiu v0, v0, 0x1664 | v0 += 0x1664;
| label_6:
0x00000ff0 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x00000ff4 lw t9, -0x7fac(gp) | t9 = sym.imp.__fprintf_chk
0x00000ff8 sw v1, 0x14(sp) | *(var_14h) = v1;
0x00000ffc sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001000 addiu a3, a3, 0x15b4 | a3 += str.__Cant_open_file__usr_share_ptz_framework.conf;
| do {
0x00001004 lw a2, -0x7fd8(gp) | a2 = *((gp - 8182));
0x00001008 addiu a1, zero, 1 | a1 = 1;
0x0000100c addiu a2, a2, 0x15e4 | a2 += str._s_s_s_n;
0x00001010 jalr t9 | t9 ();
0x00001014 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001018 lw t9, -0x7f7c(gp) | t9 = sym.imp.exit;
0x0000101c addiu a0, zero, 1 | a0 = 1;
0x00001020 jalr t9 | t9 ();
| label_16:
0x00001024 lw t9, -0x7f70(gp) | t9 = sym.imp.__stack_chk_fail;
0x00001028 jalr t9 | t9 ();
0x0000102c nop |
| label_8:
0x00001030 lw v0, 8(v1) | v0 = *((v1 + 2));
0x00001034 lw v1, -0x7f64(gp) | v1 = *((gp - 8153));
0x00001038 lw a3, -0x7fd8(gp) | a3 = *((gp - 8182));
0x0000103c lw t9, -0x7fac(gp) | t9 = sym.imp.__fprintf_chk
0x00001040 lw a0, (v1) | a0 = *(v1);
0x00001044 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001048 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x0000104c addiu a3, a3, 0x1608 | a3 += str.__Cant_parse_out_number_of_channels;
0x00001050 addiu v0, v0, 0x1664 | v0 += 0x1664;
0x00001054 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001058 b 0x1004 |
| } while (1);
| label_17:
0x0000105c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00001060 addiu v0, v0, 0x163c | v0 += 0x163c;
0x00001064 move v1, v0 | v1 = v0;
0x00001068 b 0xff0 | goto label_6;
| }
[*] Function printf used 6 times ptzaurus_server_report