Function at 0x52d1e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6af307
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x7c39ec], 0x2b
je 0x52d21c
or eax, 0xffffffff
jmp 0x52e89d
call fcn.0052ee00
movzx eax, al
test eax, eax
jne 0x52d24e
push str.switch_to_QT_port_error__r_n
call fcn.0066610b
add esp, 4
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
or eax, 0xffffffff
jmp 0x52e89d
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0052cd50
add esp, 4
mov dword [ebp - 4], 0
push 0x75cbf4
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x28c]
push eax
call fcn.00533b60
add esp, 0xc
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 0x30c]
mov dword [ebp - 0x310], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x310]
call fcn.00489570
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00404630
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.004014d0
push 0x75cc14
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x290]
push eax
call fcn.00533b60
add esp, 0xc
mov dword [ebp - 0x314], eax
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x318], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x318]
call fcn.00489570
push eax
lea ecx, [ebp - 0x34]
call fcn.00404630
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x290]
call fcn.004014d0
push 0x75cc34
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x294]
push eax
call fcn.00533b60
add esp, 0xc
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x31c]
mov dword [ebp - 0x320], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x320]
call fcn.00489570
push eax
lea ecx, [ebp - 0x19c]
call fcn.00404630
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x294]
call fcn.004014d0
mov byte [ebp - 0x17c], 0
push 0x103
push 0
lea edx, [ebp - 0x17b]
push edx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x19c]
call fcn.00404810
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.00666ba0
add esp, 8
mov dword [ebp - 0x180], 0
push 0
lea ecx, [ebp - 0x1e4]
call fcn.00404810
push ecx
mov ecx, esp
mov dword [ebp - 0x298], esp
push eax
call fcn.0040dbe0
mov dword [ebp - 0x324], eax
call fcn.0052ce80
add esp, 8
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], edx
mov ecx, dword [ebp - 0x32c]
or ecx, dword [ebp - 0x328]
je 0x52d425
push 0
lea ecx, [ebp - 0x34]
call fcn.00404810
push ecx
mov ecx, esp
mov dword [ebp - 0x29c], esp
push eax
call fcn.0040dbe0
mov dword [ebp - 0x330], eax
call fcn.0052ce80
add esp, 8
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x334], edx
mov edx, dword [ebp - 0x338]
or edx, dword [ebp - 0x334]
jne 0x52d4b3
lea ecx, [ebp - 0x34]
call fcn.00404810
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00404810
push eax
push str.strDllSNPath:_s_r_nstrDllQmslPath:_s_r_n
call fcn.0066610b
add esp, 0xc
push str.Error:file_not_exist__r_n
call fcn.0066610b
add esp, 4
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov dword [ebp - 0x2a0], 0xffffffff
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2a0]
jmp 0x52e89d
push 8
push 0
lea ecx, [ebp - 0x1e4]
call fcn.00404810
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x70], 0
jne 0x52d557
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00404810
push eax
push str.Load__s_Error_please_check_it...LastError_d_r_n
call fcn.0066610b
add esp, 0xc
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov dword [ebp - 0x2a4], 0xffffffff
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2a4]
jmp 0x52e89d
push 0x75ccbc
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x68], eax
push 0x75cccc
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
push 0x75ccdc
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a8], eax
push 0x75ccec
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a4], eax
push str.MakeGoldenCopy
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
push 0x75cd08
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a0], eax
push str.EFS2_Synchronize
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c8], 0
call dword [ebp - 0x1a0]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x52d607
jmp 0x52d6ac
mov edx, dword [ebp - 0x1c8]
add edx, 1
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x180]
push eax
push str.__UnLock_failed____Ret_d_r_n
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
cmp dword [ebp - 0x1c8], 0xa
jne 0x52d694
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x2a8], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2a8]
jmp 0x52e89d
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 1
test edx, edx
jne 0x52d5e8
push str.Write_MACIMEIMEID_DataInfo...
push 0x75cd6c
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
lea ecx, [ebp - 0x1c4]
call fcn.004045c0
mov byte [ebp - 4], 0xa
mov byte [ebp - 0x64], 0
push 0x27
push 0
lea eax, [ebp - 0x63]
push eax
call fcn.006665c0
add esp, 0xc
push 0
push 0x75cd78
mov ecx, dword [ebp + 8]
call fcn.004138c0
cmp eax, dword [0x6c2cb8]
je 0x52dc41
mov ecx, dword [0x7dde08]
push ecx
push 0x75cd80
call fcn.005128e0
add esp, 8
push eax
lea ecx, [ebp - 0x1c4]
call fcn.004047f0
lea ecx, [ebp - 0x1c4]
call fcn.00407790
push eax
push 0
lea ecx, [ebp - 0x1c4]
call fcn.0040cac0
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.0066c260
add esp, 0xc
push 0
lea eax, [ebp - 0x64]
push eax
push 0
push 1
call dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x52d88e
push 0x28
push 0
lea ecx, [ebp - 0x64]
push ecx
call fcn.006665c0
add esp, 0xc
push 0
lea edx, [ebp - 0x64]
push edx
push 1
push 0
call dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x180], eax
push str._systool_set_sysprop_pax.persist.wnet.imei
lea ecx, [ebp - 0x200]
call fcn.00404630
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x200]
call fcn.004138a0
lea ecx, [ebp - 0x17c]
mov dword [0xed5340], ecx
lea ecx, [ebp - 0x200]
call fcn.00404810
push eax
call fcn.0051bca0
add esp, 4
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
je 0x52d869
push 0x75cdb4
call fcn.0066610b
add esp, 4
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x200]
call fcn.00404770
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2ac]
jmp 0x52e89d
lea eax, [ebp - 0x64]
push eax
push str.promptIMEI:_s_r_n
call fcn.0066610b
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x200]
call fcn.00404770
jmp 0x52d92c
push str.errormsgERROR_MESSAGE_IMEI__r_n
call fcn.0066610b
add esp, 4
mov ecx, dword [ebp - 0x180]
push ecx
push 0x75ce08
call fcn.0066610b
add esp, 8
push str.WriteReadQTIMEIFAIL_r_n
call fcn.0066610b
add esp, 4
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2b0]
jmp 0x52e89d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2b4], esp
push 0x75ce30
call fcn.00404630
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x180]
push eax
call fcn.0052eaa0
add esp, 0x20
cmp dword [ebp - 0x180], 0
je 0x52d9be
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x2b8], ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2b8]
jmp 0x52e89d
push 0x75564b
lea ecx, [ebp - 0x1c4]
call fcn.004047f0
mov edx, dword [0x7dde08]
push edx
push 0x75ce38
call fcn.005128e0
add esp, 8
push eax
lea ecx, [ebp - 0x1c4]
call fcn.004047f0
lea ecx, [ebp - 0x1c4]
call fcn.00405300
movzx eax, al
test eax, eax
jne 0x52dc41
push 0x28
push 0
lea ecx, [ebp - 0x64]
push ecx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.00407790
push eax
push 0
lea ecx, [ebp - 0x1c4]
call fcn.0040cac0
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.0066c260
add esp, 0xc
push 1
lea eax, [ebp - 0x64]
push eax
push 0
push 1
call dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x52db72
push 0x28
push 0
lea ecx, [ebp - 0x64]
push ecx
call fcn.006665c0
add esp, 0xc
push 1
lea edx, [ebp - 0x64]
push edx
push 1
push 0
call dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x180], eax
push str._systool_set_sysprop_pax.persist.wnet.imei2
lea ecx, [ebp - 0x220]
call fcn.00404630
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x220]
call fcn.004138a0
lea ecx, [ebp - 0x17c]
mov dword [0xed5340], ecx
lea ecx, [ebp - 0x220]
call fcn.00404810
push eax
call fcn.0051bca0
add esp, 4
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x52db50
push 0x75ce70
call fcn.0066610b
add esp, 4
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x2bc], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x220]
call fcn.00404770
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2bc]
jmp 0x52e89d
lea eax, [ebp - 0x64]
push eax
push str.promptIMEI2:_s_r_n
call fcn.0066610b
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x220]
call fcn.00404770
jmp 0x52dbaf
call fcn.006684ac
push str.errormsgERROR_MESSAGE_IMEI2__r_n
call fcn.0066610b
add esp, 4
call fcn.006684ac
mov ecx, dword [ebp - 0x180]
push ecx
push 0x75cec4
call fcn.0066610b
add esp, 8
call fcn.006684ac
push str.WriteReadQTIMEI2FAIL_r_n
call fcn.0066610b
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2c0], esp
push str.IMEI2
call fcn.00404630
mov dword [ebp - 0x340], eax
mov edx, dword [ebp - 0x180]
push edx
call fcn.0052eaa0
add esp, 0x20
cmp dword [ebp - 0x180], 0
je 0x52dc41
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2c4]
jmp 0x52e89d
push 0
push 0x75cef4
mov ecx, dword [ebp + 8]
call fcn.004138c0
cmp eax, dword [0x6c2cb8]
je 0x52dea7
mov ecx, dword [0x7dde08]
push ecx
push 0x75cefc
call fcn.005128e0
add esp, 8
push eax
lea ecx, [ebp - 0x1c4]
call fcn.004047f0
push 0x28
push 0
lea edx, [ebp - 0x64]
push edx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.00407790
push eax
push 0
lea ecx, [ebp - 0x1c4]
call fcn.0040cac0
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0066c260
add esp, 0xc
lea ecx, [ebp - 0x64]
push ecx
push 0
push 1
call dword [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x52ddc4
push str._systool_set_sysprop_pax.persist.wnet.meid
lea ecx, [ebp - 0x240]
call fcn.00404630
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x1c4]
push edx
lea ecx, [ebp - 0x240]
call fcn.00477970
lea eax, [ebp - 0x17c]
mov dword [0xed5340], eax
lea ecx, [ebp - 0x240]
call fcn.00404810
push eax
call fcn.0051bca0
add esp, 4
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x52dda2
push 0x75cf30
call fcn.0066610b
add esp, 4
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x2c8], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x240]
call fcn.00404770
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2c8]
jmp 0x52e89d
lea edx, [ebp - 0x64]
push edx
push str.promptMEID:_s_r_n
call fcn.0066610b
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x240]
call fcn.00404770
jmp 0x52de01
call fcn.006684ac
push str.errormsgERROR_MESSAGE_MEID__r_n
call fcn.0066610b
add esp, 4
call fcn.006684ac
mov eax, dword [ebp - 0x180]
push eax
push 0x75cf84
call fcn.0066610b
add esp, 8
call fcn.006684ac
push str.WriteReadQTMEIDFAIL_r_n
call fcn.0066610b
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x75cfac
call fcn.00404630
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0x180]
push ecx
call fcn.0052eaa0
add esp, 0x20
cmp dword [ebp - 0x180], 0
je 0x52de93
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x2d0], edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2d0]
jmp 0x52e89d
lea eax, [ebp - 0x64]
push eax
push 1
push 0
call dword [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x180], eax
push 0
push 0x75cfb4
mov ecx, dword [ebp + 8]
call fcn.004138c0
cmp eax, dword [0x6c2cb8]
je 0x52e113
mov ecx, dword [0x7dde08]
push ecx
push 0x75cfc4
call fcn.005128e0
add esp, 8
push eax
lea ecx, [ebp - 0x1c4]
call fcn.004047f0
push 0x28
push 0
lea edx, [ebp - 0x64]
push edx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.00407790
push eax
push 0
lea ecx, [ebp - 0x1c4]
call fcn.0040cac0
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0066c260
add esp, 0xc
lea ecx, [ebp - 0x64]
push ecx
push 0
push 1
call dword [ebp - 0x1a8]
add esp, 0xc
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x52e02d
push str._systool_set_sysprop_pax.persist.wifi.mac
lea ecx, [ebp - 0x260]
call fcn.00404630
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x1c4]
push edx
lea ecx, [ebp - 0x260]
call fcn.00477970
lea eax, [ebp - 0x17c]
mov dword [0xed5340], eax
lea ecx, [ebp - 0x260]
call fcn.00404810
push eax
call fcn.0051bca0
add esp, 4
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x52e00b
push 0x75cff8
call fcn.0066610b
add esp, 4
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x2d4], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x260]
call fcn.00404770
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2d4]
jmp 0x52e89d
lea edx, [ebp - 0x64]
push edx
push str.promptWIFIMAC:_s_r_n
call fcn.0066610b
add esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x260]
call fcn.00404770
jmp 0x52e06a
call fcn.006684ac
push str.errormsgERROR_MESSAGE_WIFIMAC__r_n
call fcn.0066610b
add esp, 4
call fcn.006684ac
mov eax, dword [ebp - 0x180]
push eax
push 0x75d054
call fcn.0066610b
add esp, 8
call fcn.006684ac
push str.WriteReadQTWIFIMACFAIL_r_n
call fcn.0066610b
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2d8], esp
push 0x75d080
call fcn.00404630
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x180]
push ecx
call fcn.0052eaa0
add esp, 0x20
cmp dword [ebp - 0x180], 0
je 0x52e0fc
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x2dc], edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2dc]
jmp 0x52e89d
lea eax, [ebp - 0x64]
push eax
push 1
push 0
call dword [ebp - 0x1a8]
add esp, 0xc
mov dword [ebp - 0x180], eax
push 0
push 0x75d088
mov ecx, dword [ebp + 8]
call fcn.004138c0
cmp eax, dword [0x6c2cb8]
je 0x52e569
mov ecx, dword [0x7dde08]
push ecx
push 0x75d094
call fcn.005128e0
add esp, 8
push eax
lea ecx, [ebp - 0x1c4]
call fcn.004047f0
push 0x28
push 0
lea edx, [ebp - 0x64]
push edx
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.00407790
push eax
push 0
lea ecx, [ebp - 0x1c4]
call fcn.0040cac0
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0066c260
add esp, 0xc
lea ecx, [ebp - 0x64]
push ecx
push 0
push 1
call dword [ebp - 0x1a4]
add esp, 0xc
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x52e483
mov dword [ebp - 0x26c], 0
jmp 0x52e1c3
mov edx, dword [ebp - 0x26c]
add edx, 1
mov dword [ebp - 0x26c], edx
cmp dword [ebp - 0x26c], 2
jge 0x52e3c2
push str._systool_set_sysprop_pax.persist.bt.mac
lea ecx, [ebp - 0x288]
call fcn.00404630
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x288]
call fcn.00477970
lea ecx, [ebp - 0x17c]
mov dword [0xed5340], ecx
lea ecx, [ebp - 0x288]
call fcn.00404810
push eax
call fcn.0051bca0
add esp, 4
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x52e2a0
push 0x75d0c8
call fcn.0066610b
add esp, 4
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x2e0], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x288]
call fcn.00404770
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2e0]
jmp 0x52e89d
push str._systool_get_sysprop_pax.persist.bt.mac
lea ecx, [ebp - 0x288]
call fcn.004047f0
lea ecx, [ebp - 0x288]
call fcn.00404810
push eax
call fcn.0051bca0
add esp, 4
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x52e34e
push 0x75d114
call fcn.0066610b
add esp, 4
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x288]
call fcn.00404770
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2e4]
jmp 0x52e89d
mov ecx, dword [0x10abc84]
push ecx
push str.A930BTmacGet:_s_r_n
call fcn.0066610b
add esp, 8
lea ecx, [ebp - 0x1c4]
call fcn.00404810
push eax
push 0
mov ecx, 0x10abc84
call fcn.004018a0
push eax
call fcn.00404520
add esp, 8
test eax, eax
jne 0x52e39d
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x288]
call fcn.00404770
jmp 0x52e1b4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x288]
call fcn.00404770
jmp 0x52e3c2
lea ecx, [ebp - 0x1c4]
call fcn.00404810
push eax
push 0
mov ecx, 0x10abc84
call fcn.004018a0
push eax
call fcn.00404520
add esp, 8
test eax, eax
jne 0x52e45d
mov dword [ebp - 0x268], 0xfffffffe
push 0x75d148
call fcn.0066610b
add esp, 4
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x2e8], edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2e8]
jmp 0x52e89d
mov eax, dword [0x10abc84]
push eax
push str.promptBTMAC:_s_r_n
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
jmp 0x52e4c0
call fcn.006684ac
push str.errormsgERROR_MESSAGE_BTMAC__r_n
call fcn.0066610b
add esp, 4
call fcn.006684ac
mov ecx, dword [ebp - 0x180]
push ecx
push 0x75d19c
call fcn.0066610b
add esp, 8
call fcn.006684ac
push str.WriteReadQTBTMACFAIL_r_n
call fcn.0066610b
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2ec], esp
push 0x75d1c4
call fcn.00404630
mov dword [ebp - 0x34c], eax
mov edx, dword [ebp - 0x180]
push edx
call fcn.0052eaa0
add esp, 0x20
cmp dword [ebp - 0x180], 0
je 0x52e552
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x2f0], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2f0]
jmp 0x52e89d
lea ecx, [ebp - 0x64]
push ecx
push 1
push 0
call dword [ebp - 0x1a4]
add esp, 0xc
mov dword [ebp - 0x180], eax
push 0
push 0x75d1cc
mov ecx, dword [ebp + 8]
call fcn.004138c0
cmp eax, dword [0x6c2cb8]
jne 0x52e5c9
push 0
push 0x75d1d8
mov ecx, dword [ebp + 8]
call fcn.004138c0
cmp eax, dword [0x6c2cb8]
jne 0x52e5c9
push 0
push 0x75d1e8
mov ecx, dword [ebp + 8]
call fcn.004138c0
cmp eax, dword [0x6c2cb8]
jne 0x52e5c9
push 0
push 0x75d1f0
mov ecx, dword [ebp + 8]
call fcn.004138c0
cmp eax, dword [0x6c2cb8]
je 0x52e758
cmp dword [0x7c39ec], 0x2b
jne 0x52e758
push 0x75d1f8
push 0x75d204
call fcn.0066610b
add esp, 8
call dword [ebp - 0x10]
mov dword [ebp - 0x180], eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2f4], esp
push 0x75d210
call fcn.00404630
mov dword [ebp - 0x350], eax
mov edx, dword [ebp - 0x180]
push edx
call fcn.0052eaa0
add esp, 0x20
cmp dword [ebp - 0x180], 0
je 0x52e697
mov eax, dword [ebp - 0x180]
push eax
push str.__MakeGoldenCopy_failed____Ret_d_n
call fcn.0066610b
add esp, 8
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x2f8], ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x2f8]
jmp 0x52e89d
push 0x75d244
push 0x75d250
call fcn.0066610b
add esp, 8
call dword [ebp - 0x38]
mov dword [ebp - 0x180], eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2fc], esp
push str.Synchronize
call fcn.00404630
mov dword [ebp - 0x354], eax
mov edx, dword [ebp - 0x180]
push edx
call fcn.0052eaa0
add esp, 0x20
cmp dword [ebp - 0x180], 0
je 0x52e758
mov eax, dword [ebp - 0x180]
push eax
push str.__Synchronize_failed____Ret_d_n
call fcn.0066610b
add esp, 8
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x300], ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x300]
jmp 0x52e89d
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 0x75d28c
mov ecx, dword [ebp + 8]
call fcn.004138c0
cmp eax, 0xffffffff
je 0x52e78e
lea eax, [ebp - 0x17c]
mov dword [0xed5340], eax
push str._shell_getprop_ro.fac.exsn
call fcn.0051bca0
add esp, 4
push 0
push 0x75d2b0
mov ecx, dword [ebp + 8]
call fcn.004138c0
cmp eax, 0xffffffff
je 0x52e7bb
lea ecx, [ebp - 0x17c]
mov dword [0xed5340], ecx
push str._shell_getprop_ro.fac.sn
call fcn.0051bca0
add esp, 4
push str.Its_done...
push 0x75d2e4
call fcn.0066610b
add esp, 8
call fcn.0052ebf0
movzx edx, al
test edx, edx
jne 0x52e845
call fcn.006684ac
push str.switch_to_PaxDomon_port_error_
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x304], 0xffffffff
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x304]
jmp 0x52e89d
mov dword [ebp - 0x308], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c4]
call fcn.00404770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00404770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004014d0
mov eax, dword [ebp - 0x308]
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