Function at 0x52f020
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6af51e
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c0], 2
mov eax, dword [ebp - 0x2c0]
sub eax, 1
mov dword [ebp - 0x2c0], eax
call fcn.00530920
movzx ecx, al
test ecx, ecx
jne 0x52f08a
call fcn.006684ac
push str.switch_to_QT_port_failed_
call fcn.0066610b
add esp, 4
or eax, 0xffffffff
jmp 0x5308fc
lea edx, [ebp - 0x240]
push edx
call fcn.0052cd50
add esp, 4
mov dword [ebp - 4], 0
push str._binQualcommGetSN_IMEI.dll
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x330]
push ecx
call fcn.00533b60
add esp, 0xc
mov dword [ebp - 0x354], eax
mov edx, dword [ebp - 0x354]
mov dword [ebp - 0x358], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x358]
call fcn.00489570
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00404630
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x330]
call fcn.004014d0
push str._binQualcommQMSL_MSVC10R.dll
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x334]
push ecx
call fcn.00533b60
add esp, 0xc
mov dword [ebp - 0x35c], eax
mov edx, dword [ebp - 0x35c]
mov dword [ebp - 0x360], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x360]
call fcn.00489570
push eax
lea ecx, [ebp - 0x238]
call fcn.00404630
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x334]
call fcn.004014d0
lea eax, [ebp - 0x2b8]
push eax
call fcn.0052cd50
add esp, 4
mov byte [ebp - 4], 7
push 0x75d66c
lea ecx, [ebp - 0x2b8]
push ecx
lea edx, [ebp - 0x338]
push edx
call fcn.00533b60
add esp, 0xc
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x368], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x368]
call fcn.00489570
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00404630
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x338]
call fcn.004014d0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x2dc]
call fcn.004045c0
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x28c], 0
push 0x3f
push 0
lea ecx, [ebp - 0x28b]
push ecx
call fcn.006665c0
add esp, 0xc
push 0
lea ecx, [ebp - 0x2f8]
call fcn.00404810
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push eax
call fcn.0040dbe0
mov dword [ebp - 0x36c], eax
call fcn.0052ce80
add esp, 8
mov dword [ebp - 0x374], eax
mov dword [ebp - 0x370], edx
mov edx, dword [ebp - 0x374]
or edx, dword [ebp - 0x370]
je 0x52f27e
push 0
lea ecx, [ebp - 0x238]
call fcn.00404810
push ecx
mov ecx, esp
mov dword [ebp - 0x340], esp
push eax
call fcn.0040dbe0
mov dword [ebp - 0x378], eax
call fcn.0052ce80
add esp, 8
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x37c], edx
mov eax, dword [ebp - 0x380]
or eax, dword [ebp - 0x37c]
jne 0x52f302
call fcn.006684ac
push str.Qualcomm_dll_file_does_not_exist__please_check_it..._r_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x344], 0xffffffff
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2dc]
call fcn.00404770
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2ac]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b8]
call fcn.004014d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f8]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004014d0
mov eax, dword [ebp - 0x344]
jmp 0x5308fc
lea ecx, [ebp - 0x2f8]
call fcn.00404810
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jne 0x52f3b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2fc], eax
call fcn.006684ac
push str.Load_GetSN_IMEI.Dll_Error__please_check_it..._r_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x348], 0xffffffff
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2dc]
call fcn.00404770
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2ac]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b8]
call fcn.004014d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f8]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004014d0
mov eax, dword [ebp - 0x348]
jmp 0x5308fc
push str.WriteReadMEID
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x244], eax
push str.WriteReadIMEI
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
push str.WriteReadMAC
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2bc], eax
push str.WriteReadBT
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2b4], eax
push str.UnLock_Normal
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2b0], eax
cmp dword [0x7c39ec], 0x44
je 0x52f442
cmp dword [0x7c39ec], 0x34
jne 0x52f534
call fcn.006684ac
push str.Unlock_QualComm_Port
push 0x75d750
call fcn.0066610b
add esp, 8
call dword [ebp - 0x2b0]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x52f522
call fcn.006684ac
mov eax, dword [ebp - 0x290]
push eax
push str.UnLock_Failed__Ret_d_r_n
call fcn.0066610b
add esp, 8
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x23c], ecx
cmp dword [ebp - 0x2c0], 0
jle 0x52f51b
call fcn.006684ac
push str.Unlock_Failed__and_it_will_try_again.
push 0x75d79c
call fcn.0066610b
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2dc]
call fcn.00404770
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2ac]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b8]
call fcn.004014d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f8]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004014d0
jmp 0x52f055
jmp 0x5307ef
call fcn.006684ac
push str.UnLock_OK__r_n
call fcn.0066610b
add esp, 4
call fcn.006684ac
push str.Write_BTMAC_WIFIMAC_IMEI_MEID_DataInfo..._r_n
call fcn.0066610b
add esp, 4
push 0x75d7e4
mov edx, dword [ebp + 8]
push edx
call fcn.006687b0
add esp, 8
test eax, eax
je 0x52fc5f
mov eax, dword [0x7dde08]
push eax
push 0x75d7ec
call fcn.005128e0
add esp, 8
push eax
lea ecx, [ebp - 0x2dc]
call fcn.004047f0
lea ecx, [ebp - 0x2dc]
call fcn.00405300
movzx ecx, al
test ecx, ecx
jne 0x52f923
call fcn.006684ac
push 0x75d7f4
push 0x75d7fc
call fcn.0066610b
add esp, 8
call fcn.006684ac
push 0x75d808
push 0x75d810
call fcn.0066610b
add esp, 8
lea ecx, [ebp - 0x2dc]
call fcn.00407790
push eax
push 0
lea ecx, [ebp - 0x2dc]
call fcn.0040cac0
push eax
lea edx, [ebp - 0x28c]
push edx
call fcn.0066c260
add esp, 0xc
push 0
lea eax, [ebp - 0x28c]
push eax
push 0
push 1
call dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x52f63c
call fcn.006684ac
mov ecx, dword [ebp - 0x290]
push ecx
push str.write_IMEI_failed__Ret_d_r_n
call fcn.0066610b
add esp, 8
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x23c], edx
jmp 0x5307ef
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x300]
call fcn.0040dbe0
mov byte [ebp - 4], 0xc
push 0x40
push 0
lea ecx, [ebp - 0x28c]
push ecx
call fcn.006665c0
add esp, 0xc
push 0
lea edx, [ebp - 0x28c]
push edx
push 1
push 0
call dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x290], eax
call fcn.006684ac
lea eax, [ebp - 0x28c]
push eax
push str.readbackIMEI___s_r_n
call fcn.0066610b
add esp, 8
lea ecx, [ebp - 0x300]
call fcn.00489570
push eax
lea ecx, [ebp - 0x28c]
push ecx
call fcn.00404520
add esp, 8
test eax, eax
jne 0x52f6e6
call fcn.006684ac
push str.readbackIMEI_failed._r_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x23c], 0xfffffffe
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x300]
call fcn.004014d0
jmp 0x5307ef
call fcn.006684ac
push str.set_IMEI_value_successfully._r_n
call fcn.0066610b
add esp, 4
push 0x200
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.006665c0
add esp, 0xc
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_set_sysprop_pax.persist.wnet.imei__s
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0066926d
add esp, 0x10
push 1
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.0051cb70
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x52f784
call fcn.006684ac
mov ecx, dword [ebp - 0x10]
push ecx
push str.pax_adb_set_wnet.imei_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xffffffff
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x300]
call fcn.004014d0
jmp 0x5307ef
push 0x200
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_get_sysprop_pax.persist.wnet.imei
lea eax, [ebp - 0x21c]
push eax
call fcn.0066926d
add esp, 0xc
lea ecx, [ebp - 0x304]
call fcn.00401490
mov byte [ebp - 4], 0xd
push 1
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.0051db30
add esp, 0x10
push 0
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x304]
call fcn.00404540
cmp eax, 0xffffffff
jne 0x52f841
call fcn.006684ac
mov edx, dword [ebp - 0x10]
push edx
push str.pax_adb_get_wnet.imei_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xfffffffe
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x304]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x300]
call fcn.004014d0
jmp 0x5307ef
push 0x200
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_set_sysprop_pax.ctrl.imei__s
lea edx, [ebp - 0x21c]
push edx
call fcn.0066926d
add esp, 0x10
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0051cb70
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x52f8dc
call fcn.006684ac
mov edx, dword [ebp - 0x10]
push edx
push str.pax_adb_set_pax.ctrl.imei_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xfffffffd
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x304]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x300]
call fcn.004014d0
jmp 0x5307ef
call fcn.006684ac
push str.set_IMEI_property_successfully._r_n
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x75d9d0
push 0x75d9d8
call fcn.0066610b
add esp, 8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x304]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x300]
call fcn.004014d0
mov eax, dword [0x7dde08]
push eax
push str.imei2
call fcn.005128e0
add esp, 8
push eax
lea ecx, [ebp - 0x2dc]
call fcn.004047f0
lea ecx, [ebp - 0x2dc]
call fcn.00405300
movzx ecx, al
test ecx, ecx
jne 0x52fc5f
call fcn.006684ac
push 0x75d9ec
push 0x75d9f8
call fcn.0066610b
add esp, 8
call fcn.006684ac
push 0x75da04
push 0x75da10
call fcn.0066610b
add esp, 8
push 0x40
push 0
lea edx, [ebp - 0x28c]
push edx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2dc]
call fcn.00407790
push eax
push 0
lea ecx, [ebp - 0x2dc]
call fcn.0040cac0
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.0066c260
add esp, 0xc
push 1
lea ecx, [ebp - 0x28c]
push ecx
push 0
push 1
call dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x52fa13
call fcn.006684ac
mov edx, dword [ebp - 0x290]
push edx
push str.write_IMEI2_failed__Ret_d_r_n
call fcn.0066610b
add esp, 8
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x23c], eax
jmp 0x5307ef
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x308]
call fcn.0040dbe0
mov byte [ebp - 4], 0xe
push 0x40
push 0
lea edx, [ebp - 0x28c]
push edx
call fcn.006665c0
add esp, 0xc
push 1
lea eax, [ebp - 0x28c]
push eax
push 1
push 0
call dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x290], eax
call fcn.006684ac
lea ecx, [ebp - 0x28c]
push ecx
push str.readbackIMEI2___s_r_n
call fcn.0066610b
add esp, 8
lea ecx, [ebp - 0x308]
call fcn.00489570
push eax
lea edx, [ebp - 0x28c]
push edx
call fcn.00404520
add esp, 8
test eax, eax
jne 0x52fabd
call fcn.006684ac
push str.readbackIMEI2_failed._r_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x23c], 0xfffffffe
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x308]
call fcn.004014d0
jmp 0x5307ef
call fcn.006684ac
push str.set_IMEI2_value_successfully._r_n
call fcn.0066610b
add esp, 4
push 0x200
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_set_sysprop_pax.persist.wnet.imei2__s
lea edx, [ebp - 0x21c]
push edx
call fcn.0066926d
add esp, 0x10
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0051cb70
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x52fb5b
call fcn.006684ac
mov edx, dword [ebp - 0x10]
push edx
push str.pax_adb_set_wnet.imei2_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xffffffff
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x308]
call fcn.004014d0
jmp 0x5307ef
push 0x200
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_get_sysprop_pax.persist.wnet.imei2
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0066926d
add esp, 0xc
lea ecx, [ebp - 0x30c]
call fcn.00401490
mov byte [ebp - 4], 0xf
push 1
lea edx, [ebp - 0x30c]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0051db30
add esp, 0x10
push 0
lea edx, [ebp - 0x28c]
push edx
lea ecx, [ebp - 0x30c]
call fcn.00404540
cmp eax, 0xffffffff
jne 0x52fc18
call fcn.006684ac
mov eax, dword [ebp - 0x10]
push eax
push str.pax_adb_get_wnet.imei2_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xfffffffe
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x30c]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x308]
call fcn.004014d0
jmp 0x5307ef
call fcn.006684ac
push str.set_IMEI2_property_successfully._r_n
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x75db7c
push 0x75db88
call fcn.0066610b
add esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x30c]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x308]
call fcn.004014d0
push 0x75db94
mov ecx, dword [ebp + 8]
push ecx
call fcn.006687b0
add esp, 8
test eax, eax
je 0x52ffab
call fcn.006684ac
push 0x75db9c
push 0x75dba4
call fcn.0066610b
add esp, 8
call fcn.006684ac
push 0x75dbb0
push 0x75dbb8
call fcn.0066610b
add esp, 8
mov edx, dword [0x7dde08]
push edx
push str.meid
call fcn.005128e0
add esp, 8
push eax
lea ecx, [ebp - 0x2dc]
call fcn.004047f0
push 0x40
push 0
lea eax, [ebp - 0x28c]
push eax
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2dc]
call fcn.00407790
push eax
push 0
lea ecx, [ebp - 0x2dc]
call fcn.0040cac0
push eax
lea ecx, [ebp - 0x28c]
push ecx
call fcn.0066c260
add esp, 0xc
lea edx, [ebp - 0x28c]
push edx
push 0
push 1
call dword [ebp - 0x244]
add esp, 0xc
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x52fd54
call fcn.006684ac
mov eax, dword [ebp - 0x290]
push eax
push str.write_MEID_failed__Ret_d_r_n
call fcn.0066610b
add esp, 8
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x23c], ecx
jmp 0x5307ef
lea edx, [ebp - 0x28c]
push edx
lea ecx, [ebp - 0x310]
call fcn.0040dbe0
mov byte [ebp - 4], 0x10
push 0x40
push 0
lea eax, [ebp - 0x28c]
push eax
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x28c]
push ecx
push 1
push 0
call dword [ebp - 0x244]
add esp, 0xc
mov dword [ebp - 0x290], eax
call fcn.006684ac
lea edx, [ebp - 0x28c]
push edx
push str.readbackMEID___s_r_n
call fcn.0066610b
add esp, 8
lea ecx, [ebp - 0x310]
call fcn.00489570
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.00404520
add esp, 8
test eax, eax
jne 0x52fdff
call fcn.006684ac
push str.readbackMEID_failed._r_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x23c], 0xfffffffe
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x310]
call fcn.004014d0
jmp 0x5307ef
call fcn.006684ac
push str.set_MEID_value_successfully._r_n
call fcn.0066610b
add esp, 4
push 0x200
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2dc]
call fcn.00404810
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_set_sysprop_pax.persist.wnet.meid__s
lea edx, [ebp - 0x21c]
push edx
call fcn.0066926d
add esp, 0x10
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0051cb70
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x52fea2
call fcn.006684ac
mov edx, dword [ebp - 0x10]
push edx
push str.pax_adb_set_wnet.meid_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xffffffff
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x310]
call fcn.004014d0
jmp 0x5307ef
push 0x200
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_get_sysprop_pax.persist.wnet.meid
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0066926d
add esp, 0xc
lea ecx, [ebp - 0x314]
call fcn.00401490
mov byte [ebp - 4], 0x11
push 1
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0051db30
add esp, 0x10
push 0
lea ecx, [ebp - 0x2dc]
call fcn.00404810
push eax
lea ecx, [ebp - 0x314]
call fcn.00404540
cmp eax, 0xffffffff
jne 0x52ff64
call fcn.006684ac
mov edx, dword [ebp - 0x10]
push edx
push str.pax_adb_get_wnet.meid_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xfffffffe
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x314]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x310]
call fcn.004014d0
jmp 0x5307ef
call fcn.006684ac
push str.set_MEID_property_successfully._r_n
call fcn.0066610b
add esp, 4
call fcn.006684ac
push str.setmeid
push 0x75dd28
call fcn.0066610b
add esp, 8
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x314]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x310]
call fcn.004014d0
push 0x75dd34
mov eax, dword [ebp + 8]
push eax
call fcn.006687b0
add esp, 8
test eax, eax
je 0x53041b
call fcn.006684ac
push 0x75dd40
push 0x75dd4c
call fcn.0066610b
add esp, 8
call fcn.006684ac
push 0x75dd58
push 0x75dd64
call fcn.0066610b
add esp, 8
mov ecx, dword [0x7dde08]
push ecx
push 0x75dd70
call fcn.005128e0
add esp, 8
push eax
lea ecx, [ebp - 0x2dc]
call fcn.004047f0
push 0x40
push 0
lea edx, [ebp - 0x28c]
push edx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2dc]
call fcn.00407790
push eax
push 0
lea ecx, [ebp - 0x2dc]
call fcn.0040cac0
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.0066c260
add esp, 0xc
lea ecx, [ebp - 0x28c]
push ecx
push 0
push 1
call dword [ebp - 0x2bc]
add esp, 0xc
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x5300a0
call fcn.006684ac
mov edx, dword [ebp - 0x290]
push edx
push str.write_WIFIMAC_failed__Ret_d_r_n
call fcn.0066610b
add esp, 8
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x23c], eax
jmp 0x5307ef
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x318]
call fcn.0040dbe0
mov byte [ebp - 4], 0x12
push 0x40
push 0
lea edx, [ebp - 0x28c]
push edx
call fcn.006665c0
add esp, 0xc
lea eax, [ebp - 0x28c]
push eax
push 1
push 0
call dword [ebp - 0x2bc]
add esp, 0xc
mov dword [ebp - 0x290], eax
call fcn.006684ac
lea ecx, [ebp - 0x28c]
push ecx
push str.readbackWIFIMAC___s_r_n
call fcn.0066610b
add esp, 8
lea edx, [ebp - 0x28c]
push edx
lea ecx, [ebp - 0x31c]
call fcn.0040dbe0
mov byte [ebp - 4], 0x13
push 0
push 0x75ddb0
lea ecx, [ebp - 0x31c]
call fcn.00404540
cmp eax, 0xffffffff
je 0x53013e
push 0x755663
push 0x75ddb4
lea ecx, [ebp - 0x31c]
call fcn.00410d30
lea ecx, [ebp - 0x318]
call fcn.00489570
push eax
lea ecx, [ebp - 0x31c]
call fcn.004174e0
test eax, eax
je 0x530198
call fcn.006684ac
push str.readbackWIFIMAC_failed._r_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x23c], 0xfffffffe
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x31c]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x318]
call fcn.004014d0
jmp 0x5307ef
call fcn.006684ac
push str.set_WIFIMAC_value_successfully._r_n
call fcn.0066610b
add esp, 4
push 0x200
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2dc]
call fcn.00404810
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_set_sysprop_pax.persist.wifi.mac__s
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0066926d
add esp, 0x10
push 1
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.0051cb70
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x53024a
call fcn.006684ac
mov ecx, dword [ebp - 0x10]
push ecx
push str.pax_adb_set_wifi.mac_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xffffffff
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x31c]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x318]
call fcn.004014d0
jmp 0x5307ef
push 0x200
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_get_sysprop_pax.persist.wifi.mac
lea eax, [ebp - 0x21c]
push eax
call fcn.0066926d
add esp, 0xc
lea ecx, [ebp - 0x320]
call fcn.00401490
mov byte [ebp - 4], 0x14
push 1
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.0051db30
add esp, 0x10
push 0
lea ecx, [ebp - 0x2dc]
call fcn.00404810
push eax
lea ecx, [ebp - 0x320]
call fcn.00404540
cmp eax, 0xffffffff
jne 0x53031b
call fcn.006684ac
mov ecx, dword [ebp - 0x10]
push ecx
push str.pax_adb_get_sysprop_pax.persist.wifi.mac_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xfffffffe
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x320]
call fcn.004014d0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x31c]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x318]
call fcn.004014d0
jmp 0x5307ef
push 0x200
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.006665c0
add esp, 0xc
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_set_sysprop_pax.ctrl.wifimac__s
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0066926d
add esp, 0x10
push 1
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.0051cb70
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x5303c5
call fcn.006684ac
mov ecx, dword [ebp - 0x10]
push ecx
push str.pax_adb_set_pax.ctrl.wifimac_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xfffffffd
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x320]
call fcn.004014d0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x31c]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x318]
call fcn.004014d0
jmp 0x5307ef
call fcn.006684ac
push str.set_WIFIMAC_property_successfully._r_n
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x75df60
push 0x75df6c
call fcn.0066610b
add esp, 8
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x320]
call fcn.004014d0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x31c]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x318]
call fcn.004014d0
push 0x75df78
mov edx, dword [ebp + 8]
push edx
call fcn.006687b0
add esp, 8
test eax, eax
je 0x5307ef
call fcn.006684ac
push 0x75df84
push str.prompt_s_r_n
call fcn.0066610b
add esp, 8
call fcn.006684ac
push 0x75df9c
push str._s0___r_n
call fcn.0066610b
add esp, 8
mov eax, dword [0x7dde08]
push eax
push 0x75dfb4
call fcn.005128e0
add esp, 8
push eax
lea ecx, [ebp - 0x2dc]
call fcn.004047f0
push 0x40
push 0
lea ecx, [ebp - 0x28c]
push ecx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2dc]
call fcn.00407790
push eax
push 0
lea ecx, [ebp - 0x2dc]
call fcn.0040cac0
push eax
lea edx, [ebp - 0x28c]
push edx
call fcn.0066c260
add esp, 0xc
lea eax, [ebp - 0x28c]
push eax
push 0
push 1
call dword [ebp - 0x2b4]
add esp, 0xc
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x53050f
call fcn.006684ac
mov ecx, dword [ebp - 0x290]
push ecx
push str.write_BTMAC_failed__Ret_d_r_n
call fcn.0066610b
add esp, 8
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x23c], edx
jmp 0x5307ef
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x324]
call fcn.0040dbe0
mov byte [ebp - 4], 0x15
call fcn.006684ac
push str.X5_set_BTMAC_Succeed._r_n
call fcn.0066610b
add esp, 4
push 0x40
push 0
lea ecx, [ebp - 0x28c]
push ecx
call fcn.006665c0
add esp, 0xc
lea edx, [ebp - 0x28c]
push edx
push 1
push 0
call dword [ebp - 0x2b4]
add esp, 0xc
mov dword [ebp - 0x290], eax
call fcn.006684ac
lea eax, [ebp - 0x28c]
push eax
push str.readbackBTMAC___s_r_n
call fcn.0066610b
add esp, 8
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x328]
call fcn.0040dbe0
mov byte [ebp - 4], 0x16
push 0
push 0x75e00c
lea ecx, [ebp - 0x328]
call fcn.00404540
cmp eax, 0xffffffff
je 0x5305bf
push 0x75567b
push 0x75e010
lea ecx, [ebp - 0x328]
call fcn.00410d30
lea ecx, [ebp - 0x324]
call fcn.00489570
push eax
lea ecx, [ebp - 0x328]
call fcn.004174e0
test eax, eax
je 0x530619
call fcn.006684ac
push str.readbackBTMAC_failed._r_n
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x23c], 0xfffffffe
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x328]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x324]
call fcn.004014d0
jmp 0x5307ef
call fcn.006684ac
push str.set_BTMAC_value_successfully._r_n
call fcn.0066610b
add esp, 4
push 0x200
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2dc]
call fcn.00404810
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_set_sysprop_pax.persist.bt.mac__s
lea eax, [ebp - 0x21c]
push eax
call fcn.0066926d
add esp, 0x10
push 1
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x21c]
push edx
call fcn.0051cb70
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x5306cb
call fcn.006684ac
mov eax, dword [ebp - 0x10]
push eax
push str.pax_adb_set_bt.mac_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xffffffff
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x328]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x324]
call fcn.004014d0
jmp 0x5307ef
push 0x200
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x2ac]
call fcn.00404810
push eax
push str._s_systool_get_sysprop_pax.persist.bt.mac
lea edx, [ebp - 0x21c]
push edx
call fcn.0066926d
add esp, 0xc
lea ecx, [ebp - 0x32c]
call fcn.00401490
mov byte [ebp - 4], 0x17
push 1
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x21c]
push edx
call fcn.0051db30
add esp, 0x10
push 0
lea ecx, [ebp - 0x2dc]
call fcn.00404810
push eax
lea ecx, [ebp - 0x32c]
call fcn.00404540
cmp eax, 0xffffffff
jne 0x530799
call fcn.006684ac
mov eax, dword [ebp - 0x10]
push eax
push str.pax_adb_get_sysprop_pax.persist.bt.mac_cmdline_failed._ExitCode_d_n
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x23c], 0xfffffffe
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x32c]
call fcn.004014d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x328]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x324]
call fcn.004014d0
jmp 0x5307ef
call fcn.006684ac
push str.set_BTMAC_property_successfully._r_n
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x75e140
push str._s100___r_n
call fcn.0066610b
add esp, 8
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x32c]
call fcn.004014d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x328]
call fcn.004014d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x324]
call fcn.004014d0
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00530ba0
movzx edx, al
test edx, edx
jne 0x53088d
call fcn.006684ac
push str.switch_to_Pax_Daemon_port_error_
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x34c], 0xffffffff
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2dc]
call fcn.00404770
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2ac]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b8]
call fcn.004014d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f8]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004014d0
mov eax, dword [ebp - 0x34c]
jmp 0x5308fc
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x350], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2dc]
call fcn.00404770
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2ac]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b8]
call fcn.004014d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f8]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004014d0
mov eax, dword [ebp - 0x350]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret