[*] Binary protection state of addon-pre-installer-finalizer
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of addon-pre-installer-finalizer
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/addon-pre-installer-finalizer @ 0x166c */
| #include <stdint.h>
|
; (fcn) sym.start_acaps () | void start_acaps () {
0x0000166c lui gp, 2 |
0x00001670 addiu gp, gp, -0x665c |
0x00001674 addu gp, gp, t9 | gp += t9;
0x00001678 addiu sp, sp, -0x78 |
0x0000167c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001680 sw s2, 0x58(sp) | *(var_58h) = s2;
0x00001684 lw s2, -0x7f28(gp) | s2 = *((gp - 8138));
0x00001688 sw s3, 0x5c(sp) | *(var_5ch) = s3;
0x0000168c lw s3, -0x7fdc(gp) | s3 = *((gp - 8183));
0x00001690 lw v0, (s2) | v0 = *(s2);
0x00001694 lw t9, -0x7f1c(gp) | t9 = sym.imp.fopen;
0x00001698 sw gp, 0x20(sp) | *(var_20h) = gp;
0x0000169c sw s0, 0x50(sp) | *(var_50h) = s0;
0x000016a0 sw ra, 0x74(sp) | *(var_74h) = ra;
0x000016a4 sw fp, 0x70(sp) | *(var_70h) = fp;
0x000016a8 sw s7, 0x6c(sp) | *(var_6ch) = s7;
0x000016ac sw s6, 0x68(sp) | *(var_68h) = s6;
0x000016b0 sw s5, 0x64(sp) | *(var_64h) = s5;
0x000016b4 sw s4, 0x60(sp) | *(var_60h) = s4;
0x000016b8 sw s1, 0x54(sp) | *(var_54h) = s1;
0x000016bc move s0, a0 | s0 = a0;
0x000016c0 addiu a1, a1, 0x257c | a1 += 0x257c;
0x000016c4 addiu a0, s3, 0x2650 | a0 = s3 + str._etc_addon_conf_acapautostart;
0x000016c8 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x000016cc sw zero, 0x40(sp) | *(var_40h) = 0;
0x000016d0 sw zero, 0x44(sp) | *(var_44h) = 0;
0x000016d4 sw zero, 0x48(sp) | *(var_48h) = 0;
0x000016d8 jalr t9 | t9 ();
0x000016dc nop |
0x000016e0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x000016e4 beqz v0, 0x19a4 | goto label_13;
| }
0x000016e8 lw t9, -0x7f48(gp) | t9 = sym.imp.g_bus_get_sync;
0x000016ec move a2, s0 | a2 = s0;
0x000016f0 move a1, zero | a1 = 0;
0x000016f4 addiu a0, zero, 1 | a0 = 1;
0x000016f8 move s1, v0 | s1 = v0;
0x000016fc jalr t9 | t9 ();
0x00001700 lw v1, (s0) | v1 = *(s0);
0x00001704 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001708 move s4, v0 | s4 = v0;
0x0000170c sw v0, 0x28(sp) | *(var_28h_2) = v0;
| if (v1 != 0) {
0x00001710 beqz v1, 0x17f4 |
0x00001714 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001718 lw t9, -0x7fc4(gp) | t9 = sym.pi_error_syslog_print;
0x0000171c move a1, s0 | a1 = s0;
0x00001720 addiu a0, a0, 0x2684 | a0 += str.Dbus_connect_to_system_bus_failed;
0x00001724 bal 0x2070 | sym_pi_error_syslog_print ();
0x00001728 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000172c lw t9, -0x7f8c(gp) | t9 = sym.imp.g_clear_error;
0x00001730 move a0, s0 | a0 = s0;
0x00001734 jalr t9 | t9 ();
0x00001738 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000173c lw t9, -0x7fc0(gp) | t9 = sym.pi_error_quark;
0x00001740 bal 0x2020 | sym_pi_error_quark ();
0x00001744 nop |
0x00001748 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000174c addiu a2, zero, 1 | a2 = 1;
0x00001750 move a1, v0 | a1 = v0;
0x00001754 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001758 lw t9, -0x7f34(gp) | t9 = sym.imp.g_set_error;
0x0000175c addiu a3, a3, 0x25b0 | a3 += str.Internal_error;
0x00001760 move a0, s0 | a0 = s0;
0x00001764 jalr t9 | t9 ();
0x00001768 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000176c lw t9, -0x7f88(gp) | t9 = sym.imp.fclose;
0x00001770 move a0, s1 | a0 = s1;
0x00001774 jalr t9 | t9 ();
0x00001778 lw gp, 0x20(sp) | gp = *(var_20h);
| if (s4 == 0) {
0x0000177c beqz s4, 0x19c0 | goto label_14;
| }
0x00001780 lw t9, -0x7f14(gp) | t9 = sym.imp.g_object_unref;
0x00001784 lw a0, 0x28(sp) | a0 = *(var_28h_2);
0x00001788 move s6, zero | s6 = 0;
0x0000178c jalr t9 | t9 ();
0x00001790 lw gp, 0x20(sp) | gp = *(var_20h);
| label_1:
0x00001794 lw t9, -0x7f18(gp) | t9 = sym.imp.g_free;
0x00001798 lw a0, 0x40(sp) | a0 = *(var_40h);
0x0000179c jalr t9 | t9 ();
0x000017a0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000017a4 lw t9, -0x7f24(gp) | t9 = sym.imp.g_unlink;
0x000017a8 addiu a0, s3, 0x2650 | a0 = s3 + str._etc_addon_conf_acapautostart;
0x000017ac jalr t9 | t9 ();
0x000017b0 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x000017b4 lw v1, (s2) | v1 = *(s2);
0x000017b8 lw gp, 0x20(sp) | gp = *(var_20h);
0x000017bc move v0, s6 | v0 = s6;
| if (a0 != v1) {
0x000017c0 bne a0, v1, 0x1afc | goto label_15;
| }
0x000017c4 lw ra, 0x74(sp) | ra = *(var_74h);
0x000017c8 lw fp, 0x70(sp) | fp = *(var_70h);
0x000017cc lw s7, 0x6c(sp) | s7 = *(var_6ch);
0x000017d0 lw s6, 0x68(sp) | s6 = *(var_68h);
0x000017d4 lw s5, 0x64(sp) | s5 = *(var_64h);
0x000017d8 lw s4, 0x60(sp) | s4 = *(var_60h);
0x000017dc lw s3, 0x5c(sp) | s3 = *(var_5ch);
0x000017e0 lw s2, 0x58(sp) | s2 = *(var_58h);
0x000017e4 lw s1, 0x54(sp) | s1 = *(var_54h);
0x000017e8 lw s0, 0x50(sp) | s0 = *(var_50h);
0x000017ec addiu sp, sp, 0x78 |
0x000017f0 jr ra | return v0;
| }
0x000017f4 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x000017f8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000017fc lw t9, -0x7f64(gp) | t9 = sym.imp.g_dbus_proxy_new_sync;
0x00001800 addiu a3, a3, 0x26a8 | a3 += str.com.axis.AcapManager1;
0x00001804 addiu v0, v0, 0x26c0 | v0 += str._com_axis_AcapManager1;
0x00001808 lw a0, 0x28(sp) | a0 = *(var_28h_2);
0x0000180c sw s0, 0x1c(sp) | *(var_1ch_2) = s0;
0x00001810 sw zero, 0x18(sp) | *(var_18h_3) = 0;
0x00001814 sw a3, 0x14(sp) | *(var_14h_2) = a3;
0x00001818 sw v0, 0x10(sp) | *(var_10h_3) = v0;
0x0000181c move a2, zero | a2 = 0;
0x00001820 addiu a1, zero, 2 | a1 = 2;
0x00001824 jalr t9 | t9 ();
0x00001828 lw v1, (s0) | v1 = *(s0);
0x0000182c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001830 move s4, v0 | s4 = v0;
| if (v1 != 0) {
0x00001834 bnez v1, 0x19ec | goto label_16;
| }
0x00001838 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000183c lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x00001840 addiu v0, v0, 0x2980 | v0 += 0x2980;
0x00001844 sw v0, 0x3c(sp) | *(var_3ch_2) = v0;
0x00001848 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x0000184c lw s7, -0x7fdc(gp) | s7 = *((gp - 8183));
0x00001850 sw v0, 0x2c(sp) | *(var_2ch_2) = v0;
0x00001854 addiu v0, s6, 0x271c | v0 = s6 + str._sss_;
0x00001858 sw v0, 0x30(sp) | *(var_30h_2) = v0;
0x0000185c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001860 addiu s5, sp, 0x44 | s5 = sp + 0x44;
0x00001864 addiu fp, sp, 0x40 | fp = sp + 0x40;
0x00001868 addiu s7, s7, 0x2708 | s7 += str.Starting_ACAP__s;
0x0000186c sw v0, 0x34(sp) | *(var_34h_2) = v0;
0x00001870 b 0x189c |
| while (a3 != v1) {
0x00001874 lw t9, -0x7f70(gp) | t9 = sym.imp.__syslog_chk;
0x00001878 addiu a2, a2, 0x2794 | a2 += str.ACAP_manager_D_Bus_start_method_returned_error___d_;
0x0000187c addiu a1, zero, 1 | a1 = 1;
0x00001880 addiu a0, zero, 3 | a0 = 3;
0x00001884 jalr t9 | t9 ();
0x00001888 lw gp, 0x20(sp) | gp = *(var_20h);
| label_0:
0x0000188c lw t9, -0x7f20(gp) | t9 = sym.imp.g_variant_unref;
0x00001890 move a0, s6 | a0 = s6;
0x00001894 jalr t9 | t9 ();
0x00001898 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000189c lw t9, -0x7f0c(gp) | t9 = sym.imp.getline;
0x000018a0 move a2, s1 | a2 = s1;
0x000018a4 move a1, s5 | a1 = s5;
0x000018a8 move a0, fp | a0 = fp;
0x000018ac jalr t9 | t9 ();
0x000018b0 addiu v1, zero, -1 | v1 = -1;
0x000018b4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == v1) {
0x000018b8 beq v0, v1, 0x1af4 | goto label_17;
| }
0x000018bc lw s6, 0x40(sp) | s6 = *(var_40h);
0x000018c0 lw t9, -0x7f5c(gp) | t9 = sym.imp.strlen;
0x000018c4 move a0, s6 | a0 = s6;
0x000018c8 jalr t9 | t9 ();
0x000018cc lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x000018d0 bnez v0, 0x1a88 | goto label_18;
| }
| label_2:
0x000018d4 lw t9, -0x7f70(gp) | t9 = sym.imp.__syslog_chk;
0x000018d8 move a3, s6 | a3 = s6;
0x000018dc move a2, s7 | a2 = s7;
0x000018e0 addiu a1, zero, 1 | a1 = 1;
0x000018e4 addiu a0, zero, 6 | a0 = 6;
0x000018e8 jalr t9 | t9 ();
0x000018ec lw gp, 0x20(sp) | gp = *(var_20h);
0x000018f0 lw v0, 0x2c(sp) | v0 = *(var_2ch_2);
0x000018f4 lw a1, 0x40(sp) | a1 = *(var_40h);
0x000018f8 lw t9, -0x7f74(gp) | t9 = sym.imp.g_variant_new;
0x000018fc addiu a3, v0, 0x2638 | a3 = v0 + 0x2638;
0x00001900 lw a0, 0x30(sp) | a0 = *(var_30h_2);
0x00001904 move a2, a3 | a2 = a3;
0x00001908 jalr t9 | t9 ();
0x0000190c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001910 move a2, v0 | a2 = v0;
0x00001914 lw v0, 0x34(sp) | v0 = *(var_34h_2);
0x00001918 addiu v1, zero, -1 | v1 = -1;
0x0000191c lw t9, -0x7f84(gp) | t9 = sym.imp.g_dbus_proxy_call_sync;
0x00001920 sw v1, 0x10(sp) | *(var_10h_3) = v1;
0x00001924 sw s0, 0x18(sp) | *(var_18h_3) = s0;
0x00001928 sw zero, 0x14(sp) | *(var_14h_2) = 0;
0x0000192c move a3, zero | a3 = 0;
0x00001930 addiu a1, v0, 0x2724 | a1 = v0 + str.com.axis.AcapManager1.Start;
0x00001934 move a0, s4 | a0 = s4;
0x00001938 jalr t9 | t9 ();
0x0000193c lw v1, (s0) | v1 = *(s0);
0x00001940 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001944 move s6, v0 | s6 = v0;
| if (v1 != 0) {
0x00001948 bnez v1, 0x1ae0 | goto label_19;
| }
0x0000194c addiu a2, sp, 0x48 | a2 = sp + 0x48;
| if (v0 == 0) {
0x00001950 beqz v0, 0x1ae0 | goto label_19;
| }
0x00001954 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001958 lw t9, -0x7f7c(gp) | t9 = sym.imp.g_variant_get;
0x0000195c addiu a1, a1, 0x2768 | a1 += 0x2768;
0x00001960 move a0, v0 | a0 = v0;
0x00001964 jalr t9 | t9 ();
0x00001968 lw a3, 0x48(sp) | a3 = *(var_48h);
0x0000196c lw gp, 0x20(sp) | gp = *(var_20h);
| if (a3 == 0) {
0x00001970 beqz a3, 0x1abc | goto label_20;
| }
0x00001974 addiu v1, zero, 6 | v1 = 6;
0x00001978 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0000197c bne a3, v1, 0x1874 |
| }
0x00001980 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001984 lw t9, -0x7f70(gp) | t9 = sym.imp.__syslog_chk;
0x00001988 lw a3, 0x40(sp) | a3 = *(var_40h);
0x0000198c addiu a2, a2, 0x277c | a2 += str.ACAP__s_already_running;
0x00001990 addiu a1, zero, 1 | a1 = 1;
0x00001994 addiu a0, zero, 6 | a0 = 6;
0x00001998 jalr t9 | t9 ();
0x0000199c lw gp, 0x20(sp) | gp = *(var_20h);
0x000019a0 b 0x188c | goto label_0;
| label_13:
0x000019a4 lw t9, -0x7f68(gp) | t9 = sym.imp.__errno_location;
0x000019a8 jalr t9 | t9 ();
0x000019ac nop |
0x000019b0 lw v1, (v0) | v1 = *(v0);
0x000019b4 addiu v0, zero, 2 | v0 = 2;
0x000019b8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v1 != v0) {
0x000019bc beq v1, v0, 0x19c8 |
| label_14:
0x000019c0 move s6, zero | s6 = 0;
0x000019c4 b 0x1794 | goto label_1;
| }
0x000019c8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000019cc lw t9, -0x7f70(gp) | t9 = sym.imp.__syslog_chk;
0x000019d0 addiu a2, a2, 0x2670 | a2 += str.No_acaps_to_start.;
0x000019d4 addiu a1, zero, 1 | a1 = 1;
0x000019d8 addiu a0, zero, 6 | a0 = 6;
0x000019dc jalr t9 | t9 ();
0x000019e0 addiu s6, zero, 1 | s6 = 1;
0x000019e4 lw gp, 0x20(sp) | gp = *(var_20h);
0x000019e8 b 0x1794 | goto label_1;
| label_16:
0x000019ec lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000019f0 lw t9, -0x7fc4(gp) | t9 = sym.pi_error_syslog_print;
0x000019f4 move a1, s0 | a1 = s0;
0x000019f8 addiu a0, a0, 0x26d8 | a0 += str.Failed_to_create_an_ACAP_manager_D_Bus_proxy;
| label_3:
0x000019fc move s6, zero | s6 = 0;
0x00001a00 bal 0x2070 | sym_pi_error_syslog_print ();
0x00001a04 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001a08 lw t9, -0x7f8c(gp) | t9 = sym.imp.g_clear_error;
0x00001a0c move a0, s0 | a0 = s0;
0x00001a10 jalr t9 | t9 ();
0x00001a14 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001a18 lw t9, -0x7fc0(gp) | t9 = sym.pi_error_quark;
0x00001a1c bal 0x2020 | sym_pi_error_quark ();
0x00001a20 nop |
0x00001a24 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001a28 addiu a2, zero, 1 | a2 = 1;
0x00001a2c move a1, v0 | a1 = v0;
0x00001a30 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001a34 lw t9, -0x7f34(gp) | t9 = sym.imp.g_set_error;
0x00001a38 addiu a3, a3, 0x25b0 | a3 += str.Internal_error;
0x00001a3c move a0, s0 | a0 = s0;
0x00001a40 jalr t9 | t9 ();
0x00001a44 lw gp, 0x20(sp) | gp = *(var_20h);
| label_4:
0x00001a48 lw t9, -0x7f88(gp) | t9 = sym.imp.fclose;
0x00001a4c move a0, s1 | a0 = s1;
0x00001a50 jalr t9 | t9 ();
0x00001a54 lw v0, 0x28(sp) | v0 = *(var_28h_2);
0x00001a58 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00001a5c beqz v0, 0x1a70 |
0x00001a60 lw t9, -0x7f14(gp) | t9 = sym.imp.g_object_unref;
0x00001a64 lw a0, 0x28(sp) | a0 = *(var_28h_2);
0x00001a68 jalr t9 | t9 ();
0x00001a6c lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x00001a70 lw t9, -0x7f14(gp) | t9 = sym.imp.g_object_unref;
| if (s4 == 0) {
0x00001a74 beqz s4, 0x1794 | goto label_1;
| }
0x00001a78 move a0, s4 | a0 = s4;
0x00001a7c jalr t9 | t9 ();
0x00001a80 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001a84 b 0x1794 | goto label_1;
| label_18:
0x00001a88 lw t9, -0x7f3c(gp) | t9 = sym.imp.g_str_has_suffix;
0x00001a8c lw a1, 0x3c(sp) | a1 = *(var_3ch_2);
0x00001a90 sw v0, 0x38(sp) | *(var_38h_2) = v0;
0x00001a94 move a0, s6 | a0 = s6;
0x00001a98 jalr t9 | t9 ();
0x00001a9c lw gp, 0x20(sp) | gp = *(var_20h);
0x00001aa0 lw v1, 0x38(sp) | v1 = *(var_38h_2);
| if (v0 != 0) {
0x00001aa4 beqz v0, 0x1ab4 |
0x00001aa8 lw v0, 0x40(sp) | v0 = *(var_40h);
0x00001aac addu v1, v0, v1 | v1 = v0 + v1;
0x00001ab0 sb zero, -1(v1) | *((v1 - 1)) = 0;
| }
0x00001ab4 lw s6, 0x40(sp) | s6 = *(var_40h);
0x00001ab8 b 0x18d4 | goto label_2;
| label_20:
0x00001abc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001ac0 lw t9, -0x7f70(gp) | t9 = sym.imp.__syslog_chk;
0x00001ac4 lw a3, 0x40(sp) | a3 = *(var_40h);
0x00001ac8 addiu a2, a2, 0x276c | a2 += str.Started_ACAP__s;
0x00001acc addiu a1, zero, 1 | a1 = 1;
0x00001ad0 addiu a0, zero, 6 | a0 = 6;
0x00001ad4 jalr t9 | t9 ();
0x00001ad8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00001adc b 0x188c | goto label_0;
| label_19:
0x00001ae0 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001ae4 lw t9, -0x7fc4(gp) | t9 = sym.pi_error_syslog_print;
0x00001ae8 move a1, s0 | a1 = s0;
0x00001aec addiu a0, a0, 0x2740 | a0 += str.ACAP_manager_D_Bus_start_method_failed;
0x00001af0 b 0x19fc | goto label_3;
| label_17:
0x00001af4 addiu s6, zero, 1 | s6 = 1;
0x00001af8 b 0x1a48 | goto label_4;
| label_15:
0x00001afc lw t9, -0x7f30(gp) | t9 = sym.imp.__stack_chk_fail;
0x00001b00 jalr t9 | t9 ();
0x00001b04 nop |
0x00001b08 lui gp, 2 |
0x00001b0c addiu gp, gp, -0x6af8 |
0x00001b10 addu gp, gp, t9 | gp += t9;
0x00001b14 lw v0, -0x7f28(gp) | v0 = *((gp - 8138));
0x00001b18 addiu sp, sp, -0x78 |
0x00001b1c sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00001b20 lw v0, (v0) | v0 = *(v0);
0x00001b24 sw gp, 0x20(sp) | *(var_20h_2) = gp;
0x00001b28 sw s6, 0x68(sp) | *(var_68h_2) = s6;
0x00001b2c sw s0, 0x50(sp) | *(var_50h_2) = s0;
0x00001b30 sw ra, 0x74(sp) | *(var_74h_2) = ra;
0x00001b34 sw fp, 0x70(sp) | *(var_70h_2) = fp;
0x00001b38 sw s7, 0x6c(sp) | *(var_6ch_2) = s7;
0x00001b3c sw s5, 0x64(sp) | *(var_64h_2) = s5;
0x00001b40 sw s4, 0x60(sp) | *(var_60h_2) = s4;
0x00001b44 sw s3, 0x5c(sp) | *(var_5ch_2) = s3;
0x00001b48 sw s2, 0x58(sp) | *(var_58h_2) = s2;
0x00001b4c sw s1, 0x54(sp) | *(var_54h_2) = s1;
0x00001b50 move s6, a0 | s6 = a0;
0x00001b54 move s0, a1 | s0 = a1;
0x00001b58 sw zero, 0x40(sp) | *(var_40h_2) = 0;
0x00001b5c sw v0, 0x4c(sp) | *(var_4ch_2) = v0;
0x00001b60 lw s2, -0x7fdc(gp) | s2 = *((gp - 8183));
| if (a0 == 0) {
0x00001b64 beqz a0, 0x1e6c | goto label_21;
| }
0x00001b68 lw t9, -0x7f08(gp) | t9 = sym.imp.g_dir_open;
0x00001b6c move a2, zero | a2 = 0;
0x00001b70 move a1, zero | a1 = 0;
0x00001b74 addiu a0, s2, 0x27c8 | a0 = s2 + str._usr_share_addon_packages_autostart_;
0x00001b78 jalr t9 | t9 ();
0x00001b7c move s3, v0 | s3 = v0;
0x00001b80 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x00001b84 beqz v0, 0x1dac | goto label_22;
| }
0x00001b88 addiu s2, s2, 0x27c8 | s2 += str._usr_share_addon_packages_autostart_;
| label_8:
0x00001b8c lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001b90 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001b94 lw t9, -0x7f44(gp) | t9 = sym.imp.addon_manager_proxy_new_for_bus_sync;
0x00001b98 sw zero, 0x14(sp) | *(var_14h) = 0;
0x00001b9c sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x00001ba0 addiu a3, a3, 0x2550 | a3 += str._com_axis_AddonManager;
0x00001ba4 addiu a2, a2, 0x2568 | a2 += str.com.axis.AddonManager;
0x00001ba8 move a1, zero | a1 = 0;
0x00001bac addiu a0, zero, 1 | a0 = 1;
0x00001bb0 jalr t9 | t9 ();
0x00001bb4 move fp, v0 | fp = v0;
0x00001bb8 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x00001bbc beqz v0, 0x1ee4 | goto label_23;
| }
0x00001bc0 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001bc4 lw t9, -0x7f9c(gp) | t9 = sym.imp.g_dbus_proxy_get_type;
0x00001bc8 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00001bcc jalr t9 | t9 ();
0x00001bd0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001bd4 move a1, v0 | a1 = v0;
0x00001bd8 move a0, fp | a0 = fp;
0x00001bdc lw t9, -0x7f78(gp) | t9 = sym.imp.g_type_check_instance_cast;
0x00001be0 move s1, zero | s1 = 0;
0x00001be4 jalr t9 | t9 ();
0x00001be8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001bec lui a1, 1 | a1 = 0x10000;
0x00001bf0 move a0, v0 | a0 = v0;
0x00001bf4 lw t9, -0x7f38(gp) | t9 = sym.imp.g_dbus_proxy_set_default_timeout;
0x00001bf8 ori a1, a1, 0xd4c0 | a1 |= 0xd4c0;
0x00001bfc jalr t9 | t9 ();
0x00001c00 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001c04 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001c08 lw t9, -0x7f68(gp) | t9 = sym.imp.__errno_location;
0x00001c0c sw v0, 0x38(sp) | *(var_38h) = v0;
0x00001c10 jalr t9 | t9 ();
0x00001c14 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001c18 move s5, v0 | s5 = v0;
0x00001c1c lw s7, -0x7fdc(gp) | s7 = *((gp - 8183));
0x00001c20 lw s4, -0x7fdc(gp) | s4 = *((gp - 8183));
0x00001c24 addiu v0, s7, 0x284c | v0 = s7 + str.opk.tar.gz;
0x00001c28 sw v0, 0x28(sp) | *(var_28h) = v0;
0x00001c2c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001c30 addiu s4, s4, 0x2844 | s4 += str._s_s;
0x00001c34 addiu v0, v0, 0x2968 | v0 += str.__s__has_been_installed._n;
0x00001c38 sw v0, 0x34(sp) | *(var_34h) = v0;
0x00001c3c b 0x1cd4 | goto label_6;
| label_5:
0x00001c40 lw t9, -0x7f2c(gp) | t9 = sym.imp.addon_manager_call_preinstall_sync;
0x00001c44 addiu v0, sp, 0x48 | v0 = sp + 0x48;
0x00001c48 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001c4c sw zero, 0x10(sp) | *(var_10h_2) = 0;
0x00001c50 addiu a3, sp, 0x44 | a3 = sp + 0x44;
0x00001c54 addiu a2, sp, 0x40 | a2 = sp + 0x40;
0x00001c58 move a1, s0 | a1 = s0;
0x00001c5c move a0, fp | a0 = fp;
0x00001c60 sw zero, 0x48(sp) | *(var_48h_2) = 0;
0x00001c64 jalr t9 | t9 ();
0x00001c68 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x00001c6c beqz v0, 0x1f44 | goto label_24;
| }
0x00001c70 lw v0, 0x40(sp) | v0 = *(var_40h_2);
0x00001c74 lw a0, 0x44(sp) | a0 = *(var_44h_2);
| if (v0 == 0) {
0x00001c78 beqz v0, 0x1e04 | goto label_25;
| }
0x00001c7c addiu a1, zero, 0x19 | a1 = 0x19;
0x00001c80 lw t9, -0x7f70(gp) | t9 = sym.imp.__syslog_chk;
0x00001c84 sw a0, 0x14(sp) | *(var_14h) = a0;
0x00001c88 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00001c8c move a3, s7 | a3 = s7;
| if (v0 == a1) {
0x00001c90 beq v0, a1, 0x1e50 | goto label_26;
| }
0x00001c94 lw v0, 0x38(sp) | v0 = *(var_38h);
0x00001c98 addiu a1, zero, 1 | a1 = 1;
0x00001c9c addiu a2, v0, 0x2930 | a2 = v0 + str.__s__could_not_be_installed:_code___d__message:___s_;
0x00001ca0 addiu a0, zero, 4 | a0 = 4;
0x00001ca4 jalr t9 | t9 ();
0x00001ca8 lw gp, 0x20(sp) | gp = *(var_20h_2);
| label_7:
0x00001cac lw t9, -0x7f18(gp) | t9 = sym.imp.g_free;
0x00001cb0 lw a0, 0x44(sp) | a0 = *(var_44h_2);
0x00001cb4 jalr t9 | t9 ();
0x00001cb8 lw gp, 0x20(sp) | gp = *(var_20h_2);
| do {
0x00001cbc lw t9, -0x7f18(gp) | t9 = sym.imp.g_free;
0x00001cc0 move a0, s0 | a0 = s0;
0x00001cc4 jalr t9 | t9 ();
0x00001cc8 addiu v0, zero, 0x32 | v0 = 0x32;
0x00001ccc lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (s1 == v0) {
0x00001cd0 beq s1, v0, 0x1d78 | goto label_27;
| }
| label_6:
0x00001cd4 lw t9, -0x7f90(gp) | t9 = sym.imp.g_dir_read_name;
0x00001cd8 sw zero, (s5) | *(s5) = 0;
0x00001cdc move a0, s3 | a0 = s3;
0x00001ce0 jalr t9 | t9 ();
0x00001ce4 move s7, v0 | s7 = v0;
0x00001ce8 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x00001cec beqz v0, 0x1e98 | goto label_28;
| }
0x00001cf0 lw t9, -0x7f4c(gp) | t9 = sym.imp.g_strdup_printf
0x00001cf4 move a2, v0 | a2 = v0;
0x00001cf8 move a1, s2 | a1 = s2;
0x00001cfc move a0, s4 | a0 = s4;
0x00001d00 jalr t9 | t9 ();
0x00001d04 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001d08 addiu a1, zero, 4 | a1 = 4;
0x00001d0c move a0, v0 | a0 = v0;
0x00001d10 lw t9, -0x7fa0(gp) | t9 = sym.imp.g_file_test;
0x00001d14 move s0, v0 | s0 = v0;
0x00001d18 jalr t9 | t9 ();
0x00001d1c lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001d20 bnez v0, 0x1cbc |
| } while (v0 != 0);
0x00001d24 lw t9, -0x7f3c(gp) | t9 = sym.imp.g_str_has_suffix;
0x00001d28 lw a1, 0x28(sp) | a1 = *(var_28h);
0x00001d2c move a0, s7 | a0 = s7;
0x00001d30 sw zero, 0x44(sp) | *(var_44h_2) = 0;
0x00001d34 jalr t9 | t9 ();
0x00001d38 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 != 0) {
0x00001d3c bnez v0, 0x1c40 | goto label_5;
| }
0x00001d40 lw v0, 0x30(sp) | v0 = *(var_30h);
0x00001d44 lw t9, -0x7f70(gp) | t9 = sym.imp.__syslog_chk;
0x00001d48 addiu a2, v0, 0x2858 | a2 = v0 + str.Invalid_package_name__skip_installation_of:__s;
0x00001d4c move a3, s0 | a3 = s0;
0x00001d50 addiu a1, zero, 1 | a1 = 1;
0x00001d54 addiu a0, zero, 3 | a0 = 3;
0x00001d58 jalr t9 | t9 ();
0x00001d5c lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001d60 lw t9, -0x7f18(gp) | t9 = sym.imp.g_free;
0x00001d64 move a0, s0 | a0 = s0;
0x00001d68 jalr t9 | t9 ();
0x00001d6c addiu v0, zero, 0x32 | v0 = 0x32;
0x00001d70 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (s1 != v0) {
0x00001d74 bne s1, v0, 0x1cd4 | goto label_6;
| }
| label_27:
0x00001d78 addiu s0, zero, 1 | s0 = 1;
| do {
| label_9:
0x00001d7c lw t9, -0x7f00(gp) | t9 = sym.imp.g_dir_close;
0x00001d80 move a0, s3 | a0 = s3;
0x00001d84 jalr t9 | t9 ();
0x00001d88 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001d8c lw t9, -0x7f14(gp) | t9 = sym.imp.g_object_unref;
0x00001d90 move a0, fp | a0 = fp;
0x00001d94 jalr t9 | t9 ();
0x00001d98 lw gp, 0x20(sp) | gp = *(var_20h_2);
| label_10:
0x00001d9c sll s1, s1, 2 | s1 <<= 2;
| if (s6 != 0) {
0x00001da0 bnel s6, zero, 0x1db8 |
0x00001da4 lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00001da8 b 0x1dc4 | goto label_29;
| label_22:
0x00001dac move s0, zero | s0 = 0;
0x00001db0 move s1, zero | s1 = 0;
0x00001db4 sll s1, s1, 2 | s1 <<= 2;
| }
0x00001db8 addu s6, s6, s1 | s6 += s1;
0x00001dbc sw zero, (s6) | *(s6) = 0;
| label_11:
0x00001dc0 lw v0, 0x2c(sp) | v0 = *(var_2ch);
| label_29:
0x00001dc4 lw a0, 0x4c(sp) | a0 = *(var_4ch_2);
0x00001dc8 lw v1, (v0) | v1 = *(v0);
0x00001dcc move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x00001dd0 bne a0, v1, 0x2008 | goto label_30;
| }
0x00001dd4 lw ra, 0x74(sp) | ra = *(var_74h_2);
0x00001dd8 lw fp, 0x70(sp) | fp = *(var_70h_2);
0x00001ddc lw s7, 0x6c(sp) | s7 = *(var_6ch_2);
0x00001de0 lw s6, 0x68(sp) | s6 = *(var_68h_2);
0x00001de4 lw s5, 0x64(sp) | s5 = *(var_64h_2);
0x00001de8 lw s4, 0x60(sp) | s4 = *(var_60h_2);
0x00001dec lw s3, 0x5c(sp) | s3 = *(var_5ch_2);
0x00001df0 lw s2, 0x58(sp) | s2 = *(var_58h_2);
0x00001df4 lw s1, 0x54(sp) | s1 = *(var_54h_2);
0x00001df8 lw s0, 0x50(sp) | s0 = *(var_50h_2);
0x00001dfc addiu sp, sp, 0x78 |
0x00001e00 jr ra | return v0;
| label_25:
0x00001e04 sll v1, s1, 2 | v1 = s1 << 2;
| if (s6 != 0) {
0x00001e08 beqz s6, 0x1e2c |
0x00001e0c lw t9, -0x7f94(gp) | t9 = sym.imp.g_strdup;
0x00001e10 addu v1, s6, v1 | v1 = s6 + v1;
0x00001e14 lw a0, 0x44(sp) | a0 = *(var_44h_2);
0x00001e18 sw v1, 0x3c(sp) | *(var_3ch) = v1;
0x00001e1c jalr t9 | t9 ();
0x00001e20 lw v1, 0x3c(sp) | v1 = *(var_3ch);
0x00001e24 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001e28 sw v0, (v1) | *(v1) = v0;
| }
0x00001e2c lw t9, -0x7f70(gp) | t9 = sym.imp.__syslog_chk;
0x00001e30 lw a2, 0x34(sp) | a2 = *(var_34h);
0x00001e34 move a3, s0 | a3 = s0;
0x00001e38 addiu a1, zero, 1 | a1 = 1;
0x00001e3c addiu a0, zero, 6 | a0 = 6;
0x00001e40 jalr t9 | t9 ();
0x00001e44 addiu s1, s1, 1 | s1++;
0x00001e48 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001e4c b 0x1cac | goto label_7;
| label_26:
0x00001e50 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001e54 addiu a1, zero, 1 | a1 = 1;
0x00001e58 addiu a2, a2, 0x28f8 | a2 += str.__s__installation_was_skipped:_code___d__message:___s_;
0x00001e5c addiu a0, zero, 6 | a0 = 6;
0x00001e60 jalr t9 | t9 ();
0x00001e64 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001e68 b 0x1cac | goto label_7;
| label_21:
0x00001e6c lw s2, -0x7fdc(gp) | s2 = *((gp - 8183));
0x00001e70 lw t9, -0x7f08(gp) | t9 = sym.imp.g_dir_open;
0x00001e74 move a2, zero | a2 = 0;
0x00001e78 move a1, zero | a1 = 0;
0x00001e7c addiu a0, s2, 0x27f0 | a0 = s2 + str._usr_share_addon_packages_;
0x00001e80 jalr t9 | t9 ();
0x00001e84 move s3, v0 | s3 = v0;
0x00001e88 lw gp, 0x20(sp) | gp = *(var_20h_2);
| if (v0 == 0) {
0x00001e8c beqz v0, 0x1f3c | goto label_31;
| }
0x00001e90 addiu s2, s2, 0x27f0 | s2 += str._usr_share_addon_packages_;
0x00001e94 b 0x1b8c | goto label_8;
| label_28:
0x00001e98 lw s0, (s5) | s0 = *(s5);
0x00001e9c beql s0, zero, 0x1d7c |
| } while (s0 == 0);
0x00001ea0 addiu s0, zero, 1 | s0 = 1;
0x00001ea4 lw t9, -0x7f50(gp) | t9 = sym.imp.strerror;
0x00001ea8 move a0, s0 | a0 = s0;
0x00001eac jalr t9 | t9 ();
0x00001eb0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001eb4 sw s0, 0x10(sp) | *(var_10h_2) = s0;
0x00001eb8 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001ebc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001ec0 lw t9, -0x7f70(gp) | t9 = sym.imp.__syslog_chk;
0x00001ec4 move a3, s2 | a3 = s2;
0x00001ec8 addiu a2, a2, 0x280c | a2 += str.__s__could_not_g_dir_read_name:_code___d__message:___s_;
0x00001ecc addiu a1, zero, 1 | a1 = 1;
0x00001ed0 addiu a0, zero, 4 | a0 = 4;
0x00001ed4 jalr t9 | t9 ();
0x00001ed8 addiu s0, zero, 1 | s0 = 1;
0x00001edc lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001ee0 b 0x1d7c | goto label_9;
| label_23:
0x00001ee4 lw t9, -0x7f8c(gp) | t9 = sym.imp.g_clear_error;
0x00001ee8 move a0, s0 | a0 = s0;
0x00001eec jalr t9 | t9 ();
0x00001ef0 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001ef4 lw t9, -0x7fc0(gp) | t9 = sym.pi_error_quark;
0x00001ef8 move s1, zero | s1 = 0;
0x00001efc bal 0x2020 | sym_pi_error_quark ();
0x00001f00 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001f04 move a0, s0 | a0 = s0;
0x00001f08 addiu a2, zero, 1 | a2 = 1;
0x00001f0c lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001f10 lw t9, -0x7f34(gp) | t9 = sym.imp.g_set_error;
0x00001f14 addiu a3, a3, 0x25b0 | a3 += str.Internal_error;
0x00001f18 move a1, v0 | a1 = v0;
0x00001f1c jalr t9 | t9 ();
0x00001f20 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001f24 move a0, s3 | a0 = s3;
0x00001f28 lw t9, -0x7f00(gp) | t9 = sym.imp.g_dir_close;
0x00001f2c move s0, zero | s0 = 0;
0x00001f30 jalr t9 | t9 ();
0x00001f34 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001f38 b 0x1d9c | goto label_10;
| label_31:
0x00001f3c move s0, zero | s0 = 0;
0x00001f40 b 0x1dc0 | goto label_11;
| label_24:
0x00001f44 lw v1, 0x48(sp) | v1 = *(var_48h_2);
0x00001f48 lw t0, 0x40(sp) | t0 = *(var_40h_2);
0x00001f4c lw v0, 0x44(sp) | v0 = *(var_44h_2);
| if (v1 == 0) {
0x00001f50 beqz v1, 0x1fcc | goto label_32;
| }
| if (v0 == 0) {
0x00001f54 beql v0, zero, 0x1fc4 | goto label_33;
| }
0x00001f58 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| do {
0x00001f5c lw v1, 8(v1) | v1 = *((v1 + 2));
0x00001f60 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001f64 lw t9, -0x7f70(gp) | t9 = sym.imp.__syslog_chk;
0x00001f68 move a3, s0 | a3 = s0;
0x00001f6c addiu a2, a2, 0x2888 | a2 += str.Error_installing__s:_code___d__message___s__dbus___s_;
0x00001f70 addiu a1, zero, 1 | a1 = 1;
0x00001f74 addiu a0, zero, 4 | a0 = 4;
0x00001f78 sw v1, 0x18(sp) | *(var_18h_2) = v1;
0x00001f7c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001f80 sw t0, 0x10(sp) | *(var_10h_2) = t0;
0x00001f84 jalr t9 | t9 ();
0x00001f88 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001f8c lw t9, -0x7fa4(gp) | t9 = sym.imp.g_error_free;
0x00001f90 lw a0, 0x48(sp) | a0 = *(var_48h_2);
0x00001f94 jalr t9 | t9 ();
0x00001f98 lw gp, 0x20(sp) | gp = *(var_20h_2);
| label_12:
0x00001f9c lw t9, -0x7f18(gp) | t9 = sym.imp.g_free;
0x00001fa0 move a0, s0 | a0 = s0;
0x00001fa4 jalr t9 | t9 ();
0x00001fa8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001fac lw a0, 0x44(sp) | a0 = *(var_44h_2);
0x00001fb0 lw t9, -0x7f18(gp) | t9 = sym.imp.g_free;
0x00001fb4 move s0, zero | s0 = 0;
0x00001fb8 jalr t9 | t9 ();
0x00001fbc lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001fc0 b 0x1d7c | goto label_9;
| label_33:
0x00001fc4 addiu v0, v0, 0x2638 | v0 += 0x2638;
0x00001fc8 b 0x1f5c |
| } while (1);
| if (v0 == 0) {
| label_32:
0x00001fcc beql v0, zero, 0x2000 | goto label_34;
| }
0x00001fd0 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| do {
0x00001fd4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001fd8 lw t9, -0x7f70(gp) | t9 = sym.imp.__syslog_chk;
0x00001fdc sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001fe0 sw t0, 0x10(sp) | *(var_10h_2) = t0;
0x00001fe4 move a3, s0 | a3 = s0;
0x00001fe8 addiu a2, a2, 0x28c0 | a2 += str.Internal_dbus_error:_pkg___s__code___d__message___s_;
0x00001fec addiu a1, zero, 1 | a1 = 1;
0x00001ff0 addiu a0, zero, 4 | a0 = 4;
0x00001ff4 jalr t9 | t9 ();
0x00001ff8 lw gp, 0x20(sp) | gp = *(var_20h_2);
0x00001ffc b 0x1f9c | goto label_12;
| label_34:
0x00002000 addiu v0, v0, 0x2638 | v0 += 0x2638;
0x00002004 b 0x1fd4 |
| } while (1);
| label_30:
0x00002008 lw t9, -0x7f30(gp) | t9 = sym.imp.__stack_chk_fail;
0x0000200c jalr t9 | t9 ();
0x00002010 nop |
0x00002014 nop |
0x00002018 nop |
0x0000201c nop |
| }
[*] Function printf used 2 times addon-pre-installer-finalizer