[*] Binary protection state of oak.cgi
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function system tear down of oak.cgi
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/oak.cgi @ 0x2364 */
| #include <stdint.h>
|
; (fcn) sym.api_get_oak () | void api_get_oak () {
0x00002364 lui gp, 2 |
0x00002368 addiu gp, gp, -0x6354 |
0x0000236c addu gp, gp, t9 | gp += t9;
0x00002370 addiu sp, sp, -0x60 |
0x00002374 lw t9, -0x7ee0(gp) | t9 = sym.imp.g_string_new;
0x00002378 sw s1, 0x3c(sp) | *(var_3ch) = s1;
0x0000237c lw s1, -0x7edc(gp) | s1 = *((gp - 8119));
0x00002380 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00002384 sw ra, 0x5c(sp) | *(var_5ch) = ra;
0x00002388 lw v0, (s1) | v0 = *(s1);
0x0000238c sw s6, 0x50(sp) | *(var_50h) = s6;
0x00002390 sw s4, 0x48(sp) | *(var_48h) = s4;
0x00002394 sw fp, 0x58(sp) | *(var_58h) = fp;
0x00002398 sw s7, 0x54(sp) | *(var_54h) = s7;
0x0000239c sw s5, 0x4c(sp) | *(var_4ch) = s5;
0x000023a0 sw s3, 0x44(sp) | *(var_44h) = s3;
0x000023a4 sw s2, 0x40(sp) | *(var_40h) = s2;
0x000023a8 sw s0, 0x38(sp) | *(var_38h) = s0;
0x000023ac move s6, a0 | s6 = a0;
0x000023b0 sw v0, 0x34(sp) | *(var_34h) = v0;
0x000023b4 sw zero, 0x28(sp) | *(var_28h) = 0;
0x000023b8 sw zero, 0x2c(sp) | *(var_2ch) = 0;
0x000023bc move a0, zero | a0 = 0;
0x000023c0 jalr t9 | t9 ();
0x000023c4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000023c8 move a2, zero | a2 = 0;
0x000023cc addiu a1, sp, 0x28 | a1 = sp + 0x28;
0x000023d0 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000023d4 lw t9, -0x7f1c(gp) | t9 = sym.imp.policykit_system_read_bootblock_param
0x000023d8 addiu a0, a0, 0x3128 | a0 += str.AXISNSKEY;
0x000023dc move s4, v0 | s4 = v0;
0x000023e0 jalr t9 | t9 ();
0x000023e4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x000023e8 beqz v0, 0x2684 |
0x000023ec lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000023f0 lw t9, -0x7f1c(gp) | t9 = sym.imp.policykit_system_read_bootblock_param
0x000023f4 move a2, zero | a2 = 0;
0x000023f8 addiu a1, sp, 0x2c | a1 = sp + 0x2c;
0x000023fc addiu a0, a0, 0x3168 | a0 += str.SERNO;
0x00002400 jalr t9 | t9 ();
0x00002404 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00002408 beqz v0, 0x2740 | goto label_4;
| }
0x0000240c lw t9, -0x7fb0(gp) | t9 = sym.psk_generate_nonce;
0x00002410 bal 0x18bc | sym_psk_generate_nonce ();
0x00002414 nop |
0x00002418 move s0, v0 | s0 = v0;
0x0000241c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00002420 beqz v0, 0x2758 | goto label_5;
| }
0x00002424 lw t9, -0x7fac(gp) | t9 = sym.psk_generate_psk;
0x00002428 lw a0, 0x28(sp) | a0 = *(var_28h);
0x0000242c move a1, v0 | a1 = v0;
0x00002430 bal 0x19d8 | sym_psk_generate_psk ();
0x00002434 move s2, v0 | s2 = v0;
0x00002438 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x0000243c beqz v0, 0x28a8 | goto label_6;
| }
0x00002440 lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00002444 lw t9, -0x7ed4(gp) | t9 = sym.imp.curl_easy_init;
0x00002448 sw v0, 0x20(sp) | *(var_20h) = v0;
0x0000244c jalr t9 | t9 ();
0x00002450 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002454 move a1, s2 | a1 = s2;
0x00002458 move s3, v0 | s3 = v0;
0x0000245c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00002460 lw t9, -0x7f14(gp) | t9 = sym.imp.g_strdup_printf;
0x00002464 addiu a0, a0, 0x31ec | a0 += str.x_auth_psk:__s;
0x00002468 jalr t9 | t9 ();
0x0000246c lw gp, 0x18(sp) | gp = *(var_18h);
0x00002470 move a1, s0 | a1 = s0;
0x00002474 move s7, v0 | s7 = v0;
0x00002478 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x0000247c lw t9, -0x7f14(gp) | t9 = sym.imp.g_strdup_printf;
0x00002480 addiu a0, a0, 0x31fc | a0 += str.x_auth_nonce:__s;
0x00002484 jalr t9 | t9 ();
0x00002488 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000248c move a0, zero | a0 = 0;
0x00002490 move fp, v0 | fp = v0;
0x00002494 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002498 lw t9, -0x7ee4(gp) | t9 = sym.imp.curl_slist_append;
0x0000249c addiu a1, a1, 0x3210 | a1 += str.accept:_application_json;
0x000024a0 jalr t9 | t9 ();
0x000024a4 move s5, v0 | s5 = v0;
0x000024a8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000024ac beqz v0, 0x2818 | goto label_7;
| }
0x000024b0 lw t9, -0x7ee4(gp) | t9 = sym.imp.curl_slist_append;
0x000024b4 move a1, s7 | a1 = s7;
0x000024b8 move a0, v0 | a0 = v0;
0x000024bc jalr t9 | t9 ();
0x000024c0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000024c4 beqz v0, 0x28cc | goto label_8;
| }
0x000024c8 lw t9, -0x7ee4(gp) | t9 = sym.imp.curl_slist_append;
0x000024cc move a1, fp | a1 = fp;
0x000024d0 move a0, v0 | a0 = v0;
0x000024d4 sw v0, 0x24(sp) | *(var_24h_2) = v0;
0x000024d8 jalr t9 | t9 ();
0x000024dc move s5, v0 | s5 = v0;
0x000024e0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000024e4 lw v1, 0x24(sp) | v1 = *(var_24h_2);
| if (v0 == 0) {
0x000024e8 beqz v0, 0x2920 | goto label_9;
| }
0x000024ec lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x000024f0 move a0, s7 | a0 = s7;
0x000024f4 jalr t9 | t9 ();
0x000024f8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000024fc lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x00002500 move a0, fp | a0 = fp;
0x00002504 jalr t9 | t9 ();
0x00002508 lw gp, 0x18(sp) | gp = *(var_18h);
| if (s3 == 0) {
0x0000250c beqz s3, 0x2854 | goto label_10;
| }
0x00002510 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
| if (s6 == 0) {
0x00002514 beqz s6, 0x2750 | goto label_11;
| }
0x00002518 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0000251c addiu a1, a1, 0x3104 | a1 += str.https:__oakcgi.dev.o3c.axis.com_v1;
| label_0:
0x00002520 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00002524 lw t9, -0x7f14(gp) | t9 = sym.imp.g_strdup_printf;
0x00002528 lw a2, 0x20(sp) | a2 = *(var_20h);
0x0000252c addiu a0, a0, 0x3284 | a0 += str._s__s;
0x00002530 jalr t9 | t9 ();
0x00002534 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002538 move a2, v0 | a2 = v0;
0x0000253c addiu a1, zero, 0x2712 | a1 = 0x2712;
0x00002540 lw t9, -0x7f60(gp) | t9 = sym.imp.curl_easy_setopt;
0x00002544 move a0, s3 | a0 = s3;
0x00002548 move s6, v0 | s6 = v0;
0x0000254c jalr t9 | t9 ();
0x00002550 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002554 move a2, s5 | a2 = s5;
0x00002558 addiu a1, zero, 0x2727 | a1 = 0x2727;
0x0000255c lw t9, -0x7f60(gp) | t9 = sym.imp.curl_easy_setopt;
0x00002560 move a0, s3 | a0 = s3;
0x00002564 jalr t9 | t9 ();
0x00002568 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000256c addiu a2, zero, 0x1e | a2 = 0x1e;
0x00002570 addiu a1, zero, 0xd | a1 = 0xd;
0x00002574 lw t9, -0x7f60(gp) | t9 = sym.imp.curl_easy_setopt;
0x00002578 move a0, s3 | a0 = s3;
0x0000257c jalr t9 | t9 ();
0x00002580 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002584 addiu a2, zero, 0xf | a2 = 0xf;
0x00002588 addiu a1, zero, 0x4e | a1 = 0x4e;
0x0000258c lw t9, -0x7f60(gp) | t9 = sym.imp.curl_easy_setopt;
0x00002590 move a0, s3 | a0 = s3;
0x00002594 jalr t9 | t9 ();
0x00002598 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000259c addiu a1, zero, 0x4e2b | a1 = 0x4e2b;
0x000025a0 move a0, s3 | a0 = s3;
0x000025a4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000025a8 lw t9, -0x7f60(gp) | t9 = sym.imp.curl_easy_setopt;
0x000025ac addiu a2, a2, 0x2190 | a2 += 0x2190;
0x000025b0 jalr t9 | t9 ();
0x000025b4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000025b8 move a2, s4 | a2 = s4;
0x000025bc addiu a1, zero, 0x2711 | a1 = 0x2711;
0x000025c0 lw t9, -0x7f60(gp) | t9 = sym.imp.curl_easy_setopt;
0x000025c4 move a0, s3 | a0 = s3;
0x000025c8 jalr t9 | t9 ();
0x000025cc lw gp, 0x18(sp) | gp = *(var_18h);
0x000025d0 lw t9, -0x7ec0(gp) | t9 = sym.imp.curl_easy_perform;
0x000025d4 move a0, s3 | a0 = s3;
0x000025d8 jalr t9 | t9 ();
0x000025dc lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x000025e0 bnez v0, 0x2874 | goto label_12;
| }
0x000025e4 lw t9, -0x7ec8(gp) | t9 = sym.imp.curl_easy_getinfo;
0x000025e8 lui a1, 0x20 | a1 = 0x200000;
0x000025ec addiu a2, sp, 0x30 | a2 = sp + 0x30;
0x000025f0 addiu a1, a1, 2 | a1 += 2;
0x000025f4 move a0, s3 | a0 = s3;
0x000025f8 jalr t9 | t9 ();
0x000025fc lw a3, 0x30(sp) | a3 = *(var_30h_2);
0x00002600 addiu v0, zero, 0xc8 | v0 = 0xc8;
0x00002604 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a3 == v0) {
0x00002608 beq a3, v0, 0x2780 | goto label_13;
| }
0x0000260c lw v0, (s4) | v0 = *(s4);
0x00002610 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002614 lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x00002618 addiu a2, a2, 0x328c | a2 += str.Failed_requesting_OAK_API__HTTP_code__d__response__s_n;
0x0000261c addiu a1, zero, 1 | a1 = 1;
0x00002620 addiu a0, zero, 4 | a0 = 4;
0x00002624 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00002628 jalr t9 | t9 ();
0x0000262c lw gp, 0x18(sp) | gp = *(var_18h);
0x00002630 lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x00002634 move a0, s6 | a0 = s6;
0x00002638 jalr t9 | t9 ();
0x0000263c lw gp, 0x18(sp) | gp = *(var_18h);
| label_2:
0x00002640 lw t9, -0x7f48(gp) | t9 = sym.imp.curl_slist_free_all;
0x00002644 move a0, s5 | a0 = s5;
0x00002648 jalr t9 | t9 ();
0x0000264c lw gp, 0x18(sp) | gp = *(var_18h);
0x00002650 move a0, s3 | a0 = s3;
0x00002654 lw t9, -0x7f2c(gp) | t9 = sym.imp.curl_easy_cleanup;
0x00002658 move s3, zero | s3 = 0;
0x0000265c jalr t9 | t9 ();
0x00002660 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002664 addiu a1, zero, 1 | a1 = 1;
0x00002668 addiu a0, zero, 4 | a0 = 4;
0x0000266c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002670 lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x00002674 addiu a2, a2, 0x3318 | a2 += str.Failed_to_make_request_to_API_n;
0x00002678 jalr t9 | t9 ();
0x0000267c lw gp, 0x18(sp) | gp = *(var_18h);
0x00002680 b 0x26ac | goto label_1;
| }
0x00002684 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002688 lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x0000268c addiu a2, a2, 0x3134 | a2 += str.Failed_to_read_boot_block_parameter_AXISNSKEY_n;
| do {
0x00002690 addiu a1, zero, 1 | a1 = 1;
0x00002694 addiu a0, zero, 3 | a0 = 3;
0x00002698 jalr t9 | t9 ();
0x0000269c lw gp, 0x18(sp) | gp = *(var_18h);
0x000026a0 move s2, zero | s2 = 0;
0x000026a4 move s0, zero | s0 = 0;
0x000026a8 move s3, zero | s3 = 0;
| label_1:
0x000026ac lw t9, -0x7f68(gp) | t9 = sym.imp.g_string_free;
0x000026b0 addiu a1, zero, 1 | a1 = 1;
0x000026b4 move a0, s4 | a0 = s4;
0x000026b8 jalr t9 | t9 ();
0x000026bc lw gp, 0x18(sp) | gp = *(var_18h);
0x000026c0 lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x000026c4 move a0, s2 | a0 = s2;
0x000026c8 jalr t9 | t9 ();
0x000026cc lw gp, 0x18(sp) | gp = *(var_18h);
0x000026d0 lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x000026d4 move a0, s0 | a0 = s0;
0x000026d8 jalr t9 | t9 ();
0x000026dc lw gp, 0x18(sp) | gp = *(var_18h);
0x000026e0 lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x000026e4 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x000026e8 jalr t9 | t9 ();
0x000026ec lw gp, 0x18(sp) | gp = *(var_18h);
0x000026f0 lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x000026f4 lw a0, 0x28(sp) | a0 = *(var_28h);
0x000026f8 jalr t9 | t9 ();
0x000026fc lw a0, 0x34(sp) | a0 = *(var_34h);
0x00002700 lw v1, (s1) | v1 = *(s1);
0x00002704 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002708 move v0, s3 | v0 = s3;
| if (a0 != v1) {
0x0000270c bne a0, v1, 0x2978 | goto label_14;
| }
0x00002710 lw ra, 0x5c(sp) | ra = *(var_5ch);
0x00002714 lw fp, 0x58(sp) | fp = *(var_58h);
0x00002718 lw s7, 0x54(sp) | s7 = *(var_54h);
0x0000271c lw s6, 0x50(sp) | s6 = *(var_50h);
0x00002720 lw s5, 0x4c(sp) | s5 = *(var_4ch);
0x00002724 lw s4, 0x48(sp) | s4 = *(var_48h);
0x00002728 lw s3, 0x44(sp) | s3 = *(var_44h);
0x0000272c lw s2, 0x40(sp) | s2 = *(var_40h);
0x00002730 lw s1, 0x3c(sp) | s1 = *(var_3ch);
0x00002734 lw s0, 0x38(sp) | s0 = *(var_38h);
0x00002738 addiu sp, sp, 0x60 |
0x0000273c jr ra | return v1;
| label_4:
0x00002740 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002744 lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x00002748 addiu a2, a2, 0x3170 | a2 += str.Failed_to_read_boot_block_parameter_SERNO_n;
0x0000274c b 0x2690 |
| } while (1);
| label_11:
0x00002750 addiu a1, a1, 0x30e4 | a1 += str.https:__oakcgi.o3c.axis.com_v1;
0x00002754 b 0x2520 | goto label_0;
| label_5:
0x00002758 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0000275c lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x00002760 addiu a2, a2, 0x31a0 | a2 += str.Failed_to_create_request_nonce_data_n;
0x00002764 addiu a1, zero, 1 | a1 = 1;
0x00002768 addiu a0, zero, 3 | a0 = 3;
0x0000276c jalr t9 | t9 ();
0x00002770 move s2, zero | s2 = 0;
0x00002774 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002778 move s3, zero | s3 = 0;
0x0000277c b 0x26ac | goto label_1;
| label_13:
0x00002780 lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x00002784 move a0, s6 | a0 = s6;
0x00002788 jalr t9 | t9 ();
0x0000278c lw gp, 0x18(sp) | gp = *(var_18h);
0x00002790 lw t9, -0x7f48(gp) | t9 = sym.imp.curl_slist_free_all;
0x00002794 move a0, s5 | a0 = s5;
0x00002798 jalr t9 | t9 ();
0x0000279c lw gp, 0x18(sp) | gp = *(var_18h);
0x000027a0 lw t9, -0x7f2c(gp) | t9 = sym.imp.curl_easy_cleanup;
0x000027a4 move a0, s3 | a0 = s3;
0x000027a8 jalr t9 | t9 ();
0x000027ac lw gp, 0x18(sp) | gp = *(var_18h);
0x000027b0 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x000027b4 addiu t9, t9, 0x21d8 | t9 += fcn.000021d8;
0x000027b8 lw a0, (s4) | a0 = *(s4);
0x000027bc bal 0x21d8 | fcn_000021d8 ();
0x000027c0 move s3, v0 | s3 = v0;
0x000027c4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000027c8 beqz v0, 0x2958 | goto label_15;
| }
0x000027cc lw t9, -0x7efc(gp) | t9 = sym.imp.strlen;
0x000027d0 move a0, v0 | a0 = v0;
0x000027d4 jalr t9 | t9 ();
0x000027d8 addiu v1, zero, 0xc | v1 = 0xc;
0x000027dc lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == v1) {
0x000027e0 beq v0, v1, 0x26ac | goto label_1;
| }
0x000027e4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000027e8 lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x000027ec addiu a2, a2, 0x3350 | a2 += str.Failed_to_extract_valid_OAK_n;
0x000027f0 addiu a1, zero, 1 | a1 = 1;
0x000027f4 addiu a0, zero, 4 | a0 = 4;
0x000027f8 jalr t9 | t9 ();
0x000027fc lw gp, 0x18(sp) | gp = *(var_18h);
0x00002800 move a0, s3 | a0 = s3;
0x00002804 lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x00002808 move s3, zero | s3 = 0;
0x0000280c jalr t9 | t9 ();
0x00002810 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002814 b 0x26ac | goto label_1;
| label_7:
0x00002818 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0000281c lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x00002820 addiu a2, a2, 0x322c | a2 += str.Failed_to_add_Accept_header_n;
0x00002824 addiu a1, zero, 1 | a1 = 1;
0x00002828 addiu a0, zero, 3 | a0 = 3;
0x0000282c jalr t9 | t9 ();
0x00002830 lw gp, 0x18(sp) | gp = *(var_18h);
| label_3:
0x00002834 lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x00002838 move a0, s7 | a0 = s7;
0x0000283c jalr t9 | t9 ();
0x00002840 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002844 lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x00002848 move a0, fp | a0 = fp;
0x0000284c jalr t9 | t9 ();
0x00002850 lw gp, 0x18(sp) | gp = *(var_18h);
| do {
| label_10:
0x00002854 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002858 lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x0000285c addiu a2, a2, 0x32f4 | a2 += str.Failed_to_initialize_curl_request._n;
0x00002860 addiu a1, zero, 1 | a1 = 1;
0x00002864 addiu a0, zero, 3 | a0 = 3;
0x00002868 jalr t9 | t9 ();
0x0000286c lw gp, 0x18(sp) | gp = *(var_18h);
0x00002870 b 0x2640 | goto label_2;
| label_12:
0x00002874 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002878 lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x0000287c move a3, v0 | a3 = v0;
0x00002880 addiu a2, a2, 0x32c8 | a2 += str.Failed_to_perform_curl_request__code__d_n;
0x00002884 addiu a1, zero, 1 | a1 = 1;
0x00002888 addiu a0, zero, 4 | a0 = 4;
0x0000288c jalr t9 | t9 ();
0x00002890 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002894 lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x00002898 move a0, s6 | a0 = s6;
0x0000289c jalr t9 | t9 ();
0x000028a0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000028a4 b 0x2640 | goto label_2;
| label_6:
0x000028a8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000028ac lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x000028b0 addiu a2, a2, 0x31c8 | a2 += str.Failed_to_create_request_psk_data_n;
0x000028b4 addiu a1, zero, 1 | a1 = 1;
0x000028b8 addiu a0, zero, 3 | a0 = 3;
0x000028bc jalr t9 | t9 ();
0x000028c0 move s3, zero | s3 = 0;
0x000028c4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000028c8 b 0x26ac | goto label_1;
| label_8:
0x000028cc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000028d0 lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x000028d4 addiu a2, a2, 0x324c | a2 += str.Failed_to_add_PSK_header_n;
0x000028d8 addiu a1, zero, 1 | a1 = 1;
0x000028dc addiu a0, zero, 3 | a0 = 3;
0x000028e0 jalr t9 | t9 ();
0x000028e4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000028e8 move a0, s5 | a0 = s5;
0x000028ec lw t9, -0x7f48(gp) | t9 = sym.imp.curl_slist_free_all;
0x000028f0 move s5, zero | s5 = 0;
0x000028f4 jalr t9 | t9 ();
0x000028f8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000028fc lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x00002900 move a0, s7 | a0 = s7;
0x00002904 jalr t9 | t9 ();
0x00002908 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000290c lw t9, -0x7f44(gp) | t9 = sym.imp.g_free;
0x00002910 move a0, fp | a0 = fp;
0x00002914 jalr t9 | t9 ();
0x00002918 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000291c b 0x2854 |
| } while (1);
| label_9:
0x00002920 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002924 lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x00002928 sw v1, 0x20(sp) | *(var_20h) = v1;
0x0000292c addiu a2, a2, 0x3268 | a2 += str.Failed_to_add_nonce_header_n;
0x00002930 addiu a1, zero, 1 | a1 = 1;
0x00002934 addiu a0, zero, 3 | a0 = 3;
0x00002938 jalr t9 | t9 ();
0x0000293c lw gp, 0x18(sp) | gp = *(var_18h);
0x00002940 lw v1, 0x20(sp) | v1 = *(var_20h);
0x00002944 lw t9, -0x7f48(gp) | t9 = sym.imp.curl_slist_free_all;
0x00002948 move a0, v1 | a0 = v1;
0x0000294c jalr t9 | t9 ();
0x00002950 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002954 b 0x2834 | goto label_3;
| label_15:
0x00002958 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0000295c lw t9, -0x7f38(gp) | t9 = sym.imp.__syslog_chk;
0x00002960 addiu a2, a2, 0x3338 | a2 += str.Failed_to_extract_OAK_n;
0x00002964 addiu a1, zero, 1 | a1 = 1;
0x00002968 addiu a0, zero, 4 | a0 = 4;
0x0000296c jalr t9 | t9 ();
0x00002970 lw gp, 0x18(sp) | gp = *(var_18h);
0x00002974 b 0x26ac | goto label_1;
| label_14:
0x00002978 lw t9, -0x7f3c(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000297c jalr t9 | t9 ();
0x00002980 nop |
0x00002984 nop |
0x00002988 nop |
0x0000298c nop |
| }
[*] Function system used 3 times oak.cgi