Function at 0x518070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ae231
mov eax, dword fs:[0]
push eax
sub esp, 0xa28
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00512800
add esp, 8
movzx edx, al
test edx, edx
je 0x5180cb
call fcn.006684ac
push str.Bpa_V2.1.0.6909_20240326_
call fcn.0066610b
add esp, 4
xor eax, eax
jmp 0x51b560
call fcn.006684ac
push str.Bpa_V2.1.0.6909_20240326__for_PCLoader__n
call fcn.0066610b
add esp, 4
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
xor eax, eax
je 0x518110
push str._r_n_r_n_r_nTEMP_VERSION_r_n_r_n_r_n_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 - 0x58], 0
push 1
push 0x51ddf0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
call fcn.004a4190
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
call fcn.004a4280
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005126c0
add esp, 8
mov dword [ebp - 0x2a8], str.paxcid
mov dword [ebp - 0x288], 1
lea ecx, [ebp - 0x29c]
call fcn.0054ac10
mov dword [ebp - 4], 0
mov dword [ebp - 0x2bc], 0
jmp 0x51818b
mov eax, dword [ebp - 0x2bc]
add eax, 1
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
cmp ecx, dword [ebp - 0x288]
jge 0x5181d0
mov edx, dword [ebp - 0x2bc]
mov eax, dword [ebp + edx*4 - 0x2a8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x29c]
call fcn.004066d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00404770
jmp 0x51817c
lea edx, [ebp - 0x29c]
push edx
call fcn.00517530
add esp, 4
push 0x7579b4
mov eax, dword [0x7dde08]
push eax
push str.arg_debug
call fcn.005128e0
add esp, 8
push eax
call fcn.0066a2f0
add esp, 8
test eax, eax
jne 0x51820e
mov dword [0x10abc7c], 1
cmp dword [0x10abc7c], 0
je 0x518227
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005131e0
add esp, 8
mov eax, dword [0x7dde08]
push eax
push 0x757aa0
call fcn.005128e0
add esp, 8
push eax
push 0x7e47e8
call fcn.00666ba0
add esp, 8
push 0x757aa8
push 0x7e47e8
call fcn.00404520
add esp, 8
test eax, eax
je 0x518265
mov byte [0x10abc74], 1
movzx ecx, byte [0x10abc74]
test ecx, ecx
je 0x51827d
push str._For_IPE___n
call fcn.0066610b
add esp, 4
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov edx, dword [0x7dde08]
push edx
push str.timediffer
call fcn.005128e0
add esp, 8
push eax
call fcn.00666b8d
add esp, 4
mov dword [0x7e4808], eax
mov eax, dword [0x7dde08]
push eax
push str.ppqConfig
call fcn.005128e0
add esp, 8
push eax
call fcn.00512670
add esp, 4
mov ecx, dword [0x7dde08]
push ecx
push 0x757ae4
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x2b4], eax
mov edx, dword [0x7dde08]
push edx
push 0x757aec
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x284], eax
push str.prolin2.3
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.0066bb42
add esp, 8
test eax, eax
jne 0x518327
mov dword [0x7e46d8], 2
jmp 0x51848a
push str.prolin2.4
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.0066bb42
add esp, 8
test eax, eax
je 0x5183b7
push str.prolin2.6
mov edx, dword [ebp - 0x2b4]
push edx
call fcn.0066bb42
add esp, 8
test eax, eax
je 0x5183b7
push str.prolin2.7
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.0066bb42
add esp, 8
test eax, eax
je 0x5183b7
push str.prolin2.8
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.0066bb42
add esp, 8
test eax, eax
je 0x5183b7
push str.prolin2.9
mov edx, dword [ebp - 0x2b4]
push edx
call fcn.0066bb42
add esp, 8
test eax, eax
je 0x5183b7
push 0x757b3c
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.0066bb42
add esp, 8
test eax, eax
jne 0x5183c6
mov dword [0x7e46d8], 3
jmp 0x51848a
push str.prolin2.5
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.0066bb42
add esp, 8
test eax, eax
jne 0x5183ed
mov dword [0x7e46d8], 4
jmp 0x51848a
push str.android
mov edx, dword [ebp - 0x2b4]
push edx
call fcn.0066a2f0
add esp, 8
test eax, eax
jne 0x518411
mov dword [0x7e46d8], 6
jmp 0x51848a
push 0x757b58
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.0066a2f0
add esp, 8
test eax, eax
jne 0x518435
mov dword [0x7e46d8], 7
jmp 0x51848a
mov ecx, dword [ebp - 0x284]
push ecx
call fcn.00666cf0
add esp, 4
cmp eax, 3
jbe 0x518480
push 0x757b60
mov edx, dword [ebp - 0x284]
push edx
call fcn.00666cf0
add esp, 4
mov ecx, dword [ebp - 0x284]
lea edx, [ecx + eax - 3]
push edx
call fcn.0066bb42
add esp, 8
test eax, eax
jne 0x518480
mov dword [0x7e46d8], 6
jmp 0x51848a
mov dword [0x7e46d8], 0
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov eax, dword [ebp - 0x2b4]
push eax
mov ecx, dword [ebp - 0x284]
push ecx
mov edx, dword [0x7e46d8]
push edx
push str.ostype:_d_type_s__pArg_s_r_n
call fcn.0066610b
add esp, 0x10
mov eax, dword [ebp - 0x284]
push eax
call fcn.005159d0
add esp, 4
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x284], 0
je 0x518502
mov ecx, dword [ebp - 0x284]
push ecx
call fcn.00666cf0
add esp, 4
test eax, eax
jbe 0x518502
mov edx, dword [ebp - 0x284]
push edx
push 0x7e47f4
call fcn.00666ba0
add esp, 8
mov eax, dword [0x7dde08]
push eax
push str.subterm
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00666b8d
add esp, 4
mov dword [0x7e47f0], eax
call fcn.00575a80
call fcn.0054da30
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.00531000
add esp, 4
mov eax, dword [0x7dde08]
push eax
push 0x757b8c
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
je 0x518585
push 1
push 0x757b94
mov ecx, dword [ebp - 0x28c]
push ecx
call fcn.0066e6a0
add esp, 0xc
test eax, eax
jne 0x518585
mov byte [0x7e46d2], 1
call fcn.00512cb0
mov edx, dword [0x7dde08]
push edx
push 0x757b98
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x2ac], eax
push 0x757b9c
lea eax, [ebp - 0x164]
push eax
call fcn.00666ba0
add esp, 8
mov ecx, dword [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x164]
push edx
call fcn.00666bb0
add esp, 8
push 0x757ba0
lea eax, [ebp - 0x164]
push eax
call fcn.00666bb0
add esp, 8
cmp dword [ebp - 0x2b0], 0xff
jne 0x518691
mov dword [ebp - 0x4c], 2
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
push str.detect
push str._detect_
call fcn.00512ea0
add esp, 0x10
push 1
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00513830
add esp, 8
mov eax, dword [0x7c39f0]
mov dword [ebp - 0xa14], eax
cmp dword [ebp - 0xa14], 0xfffffffe
je 0x51863e
cmp dword [ebp - 0xa14], 0xffffffff
je 0x51864a
jmp 0x518656
mov dword [ebp - 0x2b0], 3
jmp 0x518660
mov dword [ebp - 0x2b0], 6
jmp 0x518660
mov dword [ebp - 0x2b0], 6
mov ecx, dword [ebp - 0x2b0]
push ecx
push str.detect_postype_d_r_n
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00512d70
add esp, 4
mov eax, dword [ebp - 0x2b0]
mov dword [0x7c39ec], eax
push 9
call fcn.00512690
add esp, 4
movsx ecx, al
cmp ecx, 0x43
jne 0x51870f
call fcn.00471590
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jne 0x5186e6
call fcn.006684ac
push 0x757bcc
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x757bdc
call fcn.0066610b
add esp, 4
mov edx, dword [ebp - 0x2c0]
mov dword [ebp - 0x980], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x980]
jmp 0x51b560
push 9
call fcn.00512690
add esp, 4
movsx eax, al
cmp eax, 0x39
jne 0x5187b3
mov dword [ebp - 0x2c4], 0
cmp dword [0x7c39ec], 0x82
jne 0x51874d
push 0
call fcn.0046f110
add esp, 4
mov dword [ebp - 0x2c4], eax
jmp 0x51875d
push 0
call fcn.0046eee0
add esp, 4
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
jne 0x51878a
call fcn.006684ac
push 0x757be8
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x757bf8
call fcn.0066610b
add esp, 4
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x984], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x984]
jmp 0x51b560
push 9
call fcn.00512690
add esp, 4
movsx edx, al
cmp edx, 0x41
jne 0x518826
call fcn.0046f450
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 0
jne 0x5187fd
call fcn.006684ac
push 0x757c04
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x757c14
call fcn.0066610b
add esp, 4
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x988], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x988]
jmp 0x51b560
push 1
call fcn.00512690
add esp, 4
movsx ecx, al
cmp ecx, 0x36
jne 0x518899
call fcn.004f60b0
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
jne 0x518870
call fcn.006684ac
push 0x757c20
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x757c30
call fcn.0066610b
add esp, 4
mov edx, dword [ebp - 0x2cc]
mov dword [ebp - 0x98c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x98c]
jmp 0x51b560
push 9
call fcn.00512690
add esp, 4
movsx eax, al
cmp eax, 0x34
jne 0x518955
cmp dword [0x7c39ec], 0x66
je 0x5188d7
cmp dword [0x7c39ec], 0x73
je 0x5188d7
push 0x757c3c
push 0x7e47e8
call fcn.00404520
add esp, 8
test eax, eax
je 0x518955
mov byte [ebp - 0x2d1], 0
lea ecx, [ebp - 0x2d1]
push ecx
call fcn.00470540
add esp, 4
mov dword [ebp - 0x2d0], eax
movzx edx, byte [ebp - 0x2d1]
cmp edx, 1
jne 0x518955
cmp dword [ebp - 0x2d0], 0
jne 0x51892c
call fcn.006684ac
push 0x757c40
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x757c50
call fcn.0066610b
add esp, 4
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x990], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x990]
jmp 0x51b560
lea ecx, [ebp - 0x2a4]
call fcn.0045fbf0
push 0
lea ecx, [ebp - 0x2a4]
call fcn.0045ff70
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x5189a5
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x994], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x994]
jmp 0x51b560
cmp dword [ebp - 0x2a4], 0
je 0x5189fb
call fcn.006684ac
push 0x757c5c
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x757c6c
call fcn.0066610b
add esp, 4
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x998], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x998]
jmp 0x51b560
lea eax, [ebp - 0x164]
push eax
call fcn.0052a990
add esp, 4
mov byte [ebp - 0x59], al
movzx ecx, byte [ebp - 0x59]
test ecx, ecx
je 0x518ae4
mov dword [ebp - 0x2d8], 0
lea edx, [ebp - 0x164]
push edx
call fcn.00666cf0
add esp, 4
test eax, eax
jbe 0x518a4b
lea eax, [ebp - 0x164]
push eax
call fcn.0052aab0
add esp, 4
mov dword [ebp - 0x2d8], eax
cmp dword [ebp - 0x2d8], 0
je 0x518a7d
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x99c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x99c]
jmp 0x51b560
call fcn.006684ac
push 0x757c78
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x757c88
call fcn.0066610b
add esp, 4
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x9a0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9a0]
jmp 0x51b560
cmp dword [0x7e46d8], 6
jne 0x518df0
cmp dword [0x7c39ec], 0x34
je 0x518b07
cmp dword [0x7c39ec], 0x44
jne 0x518df0
push 0x757c94
lea edx, [ebp - 0x164]
push edx
call fcn.00404520
add esp, 8
test eax, eax
jne 0x518b53
push 0x757ca0
lea eax, [ebp - 0x164]
push eax
call fcn.00404520
add esp, 8
test eax, eax
jne 0x518b53
push 0x757ca8
lea ecx, [ebp - 0x164]
push ecx
call fcn.00404520
add esp, 8
test eax, eax
je 0x518c54
call fcn.006684ac
push str.HandleMacTaskAfterAP_r_n
call fcn.0066610b
add esp, 4
lea edx, [ebp - 0x164]
push edx
call fcn.0052f020
add esp, 4
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0
je 0x518be8
call fcn.006684ac
mov eax, dword [ebp - 0x2dc]
push eax
push 0x757ccc
call fcn.0066610b
add esp, 8
call fcn.006684ac
push str.errormsgERROR_SET_MAC_r_n
call fcn.0066610b
add esp, 4
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x9a4], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9a4]
jmp 0x51b560
call fcn.006684ac
push 0x757cf8
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x757d08
call fcn.0066610b
add esp, 4
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x9a8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9a8]
jmp 0x51b560
push 0x757d14
lea edx, [ebp - 0x164]
push edx
call fcn.00404520
add esp, 8
test eax, eax
je 0x518df0
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00404630
mov byte [ebp - 4], 2
push 0
push 0x757d1c
lea ecx, [ebp - 0x2f8]
call fcn.004138c0
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x304]
cmp ecx, dword [0x6c2cb8]
je 0x518cc5
push 0x757d24
push 5
mov edx, dword [ebp - 0x304]
push edx
lea ecx, [ebp - 0x2f8]
call fcn.004dff10
lea ecx, [ebp - 0x2f8]
call fcn.00404810
mov dword [ebp - 0x2fc], eax
call fcn.006684ac
push str.HandleX5TaskAfterAP_r_n
call fcn.0066610b
add esp, 4
mov eax, dword [ebp - 0x2fc]
push eax
call fcn.00529cc0
add esp, 4
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
je 0x518d7a
call fcn.006684ac
mov ecx, dword [ebp - 0x300]
push ecx
push 0x757d48
call fcn.0066610b
add esp, 8
call fcn.006684ac
push str.errormsgERROR_X5_SETSN_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 - 0x300]
mov dword [ebp - 0x9ac], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f8]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9ac]
jmp 0x51b560
call fcn.006684ac
push 0x757d74
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x757d84
call fcn.0066610b
add esp, 4
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x9b0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f8]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9b0]
jmp 0x51b560
mov byte [0x7e46d1], 0
cmp dword [0x7e46d8], 0
je 0x518e36
cmp dword [0x7c39ec], 0x1b
je 0x518e36
cmp dword [0x7c39ec], 0x15
je 0x518e36
cmp dword [0x7c39ec], 0x24
je 0x518e36
cmp dword [0x7c39ec], 0x26
je 0x518e36
cmp dword [0x7c39ec], 0x2a
je 0x518e36
cmp dword [0x7e46d8], 6
jne 0x518e3d
mov byte [0x7e46d1], 1
cmp dword [0x7c39ec], 0x11
je 0x518e4f
cmp dword [0x7c39ec], 0x15
jne 0x518ecc
mov dword [ebp - 0x30c], 0
mov eax, dword [0x7dde08]
push eax
push 0x757d90
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
push ecx
call fcn.00666cf0
add esp, 4
test eax, eax
jbe 0x518e9a
mov edx, dword [ebp - 0x308]
push edx
call fcn.00529cc0
add esp, 4
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], 0
je 0x518ecc
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x9b4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9b4]
jmp 0x51b560
mov byte [ebp - 0x4d], 0
mov byte [ebp - 0x27c], 0
push 0x104
push 0
lea ecx, [ebp - 0x27b]
push ecx
call fcn.006665c0
add esp, 0xc
cmp dword [0x7e46d8], 6
jne 0x518f4e
cmp dword [0x7c39ec], 0x2b
jne 0x518f4e
push 0x757d94
lea edx, [ebp - 0x164]
push edx
call fcn.00404520
add esp, 8
test eax, eax
jne 0x518f2f
push 0x757da4
lea eax, [ebp - 0x164]
push eax
call fcn.00404520
add esp, 8
test eax, eax
je 0x518f4e
mov byte [ebp - 0x4d], 1
lea ecx, [ebp - 0x164]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.00666ba0
add esp, 8
call fcn.0052e8c0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
push eax
push str.baseboot
push str.dlbaseboot
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512ea0
add esp, 0x10
mov edx, dword [ebp - 0x4c]
push edx
push str.driver
push str.dldriver
lea eax, [ebp - 0x164]
push eax
call fcn.00512ea0
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x757dd8
push str.dlfont
lea edx, [ebp - 0x164]
push edx
call fcn.00512ea0
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
push 0
push str.querybase
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512ea0
add esp, 0x10
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x4c]
push edx
push 0
push str.bqueryhold
lea eax, [ebp - 0x164]
push eax
call fcn.00512ea0
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
push ecx
push str.uboot
push str.dluboot
lea edx, [ebp - 0x164]
push edx
call fcn.00512ea0
add esp, 0x10
cmp dword [0x7e46d8], 7
je 0x519027
mov eax, dword [ebp - 0x4c]
push eax
push 0
push 0x757e10
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512ea0
add esp, 0x10
movzx edx, byte [0x7e46d2]
test edx, edx
jne 0x51905e
cmp dword [0x7e46d8], 7
je 0x51905e
mov eax, dword [ebp - 0x4c]
push eax
push 0x757e18
push 0x757e20
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512ea0
add esp, 0x10
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x4c]
push edx
push 0x757e28
push 0x757e30
lea eax, [ebp - 0x164]
push eax
call fcn.00512ea0
add esp, 0x10
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x5190f0
push 0x757e3c
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
mov edx, dword [0x7dde08]
push edx
push str.espcom
call fcn.005128e0
add esp, 8
push eax
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x757e4c
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
movzx edx, byte [0x7e46d1]
test edx, edx
je 0x519191
mov eax, dword [ebp - 0x4c]
push eax
push 0x757e50
push 0x757e58
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512ea0
add esp, 0x10
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x519191
push 0x757e64
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
mov eax, dword [0x7dde08]
push eax
push str.encrypted
call fcn.005128e0
add esp, 8
push eax
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 0x757e7c
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
movzx eax, byte [0x7e46d1]
test eax, eax
je 0x51a0ac
mov dword [ebp - 0x4c], 2
push 0x757e80
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512fb0
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
jne 0x5191e4
push 0x757e88
lea edx, [ebp - 0x164]
push edx
call fcn.00512fb0
add esp, 8
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x4c]
push eax
push 0
push 0x757e98
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512ea0
add esp, 0x10
mov dword [ebp - 0x310], eax
cmp dword [ebp - 0x170], 0
je 0x51922e
cmp dword [ebp - 0x310], 0
jne 0x51922e
mov edx, dword [ebp - 0x4c]
push edx
push 0
push 0x757ea4
push str._pcloader_
call fcn.00512ea0
add esp, 0x10
cmp dword [ebp - 0x2b0], 0x18
jne 0x5192a6
push 0x757ebc
lea eax, [ebp - 0x164]
push eax
call fcn.00512fb0
add esp, 8
test eax, eax
je 0x5192a6
push 0x757ec4
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x5192a6
mov ecx, dword [ebp - 0x314]
push ecx
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
push 0x757ecc
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x757ed0
push 0x757ed4
lea edx, [ebp - 0x164]
push edx
call fcn.00512ea0
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
push str.cssn
push str.writecssn
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512ea0
add esp, 0x10
mov edx, dword [ebp - 0x4c]
push edx
push 0x757ef0
push str.setcmiit
lea eax, [ebp - 0x164]
push eax
call fcn.00512ea0
add esp, 0x10
test eax, eax
je 0x519358
push str.labelid
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0
je 0x519358
mov ecx, dword [ebp - 0x318]
push ecx
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
push 0x757f08
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
mov ecx, dword [ebp - 0x4c]
push ecx
push str.sninal
push str.setsninal
lea edx, [ebp - 0x164]
push edx
call fcn.00512ea0
add esp, 0x10
push 0x757f20
lea eax, [ebp - 0x164]
push eax
call fcn.00512fb0
add esp, 8
push 0x757f2c
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512fb0
add esp, 8
push str.delfirst
lea edx, [ebp - 0x164]
push edx
call fcn.00512fb0
add esp, 8
push 0x757f44
lea eax, [ebp - 0x164]
push eax
call fcn.00512fb0
add esp, 8
push 0x757f4c
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512fb0
add esp, 8
push 0x757f58
lea edx, [ebp - 0x164]
push edx
call fcn.00512fb0
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x519592
push 0x757f64
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x519458
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 0x757f6c
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
push 0x757f70
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x5194b0
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 0x757f78
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
mov dword [ebp - 0x31c], 0
mov eax, 1
test eax, eax
je 0x519592
mov byte [ebp - 0x33c], 0
xor ecx, ecx
mov dword [ebp - 0x33b], ecx
mov dword [ebp - 0x337], ecx
mov dword [ebp - 0x333], ecx
mov dword [ebp - 0x32f], ecx
mov dword [ebp - 0x32b], ecx
mov dword [ebp - 0x327], ecx
mov dword [ebp - 0x323], ecx
mov word [ebp - 0x31f], cx
mov byte [ebp - 0x31d], cl
mov edx, dword [ebp - 0x31c]
add edx, 1
mov dword [ebp - 0x31c], edx
mov eax, dword [ebp - 0x31c]
push eax
push 0x757f7c
lea ecx, [ebp - 0x33c]
push ecx
call fcn.0066926d
add esp, 0xc
lea edx, [ebp - 0x33c]
push edx
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
jne 0x519551
jmp 0x519592
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 0x757f88
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
jmp 0x5194ba
push 0x757f8c
lea eax, [ebp - 0x164]
push eax
call fcn.00512fb0
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x51960c
push 0x757f98
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x51960c
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
push 0x757fa0
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x757fa4
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512fb0
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x519738
push 0x757fb0
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x51968a
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x757fbc
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 0x757fc0
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x5196e1
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x757fd0
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push str.qractivator
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x519738
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x757fe0
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 0x757fe4
lea edx, [ebp - 0x164]
push edx
call fcn.00512fb0
add esp, 8
push 0x757ff4
lea eax, [ebp - 0x164]
push eax
call fcn.00512fb0
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x519de5
mov byte [ebp - 0x724], 0
push 0x3e7
push 0
lea ecx, [ebp - 0x723]
push ecx
call fcn.006665c0
add esp, 0xc
mov edx, dword [0x7dde08]
push edx
push 0x758000
call fcn.005128e0
add esp, 8
push eax
call fcn.00666b8d
add esp, 4
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x728], 0
cmp dword [ebp - 0x72c], 0
jle 0x5197d2
cmp dword [ebp - 0x72c], 0x320
jle 0x5197dc
mov dword [ebp - 0x72c], 0x100
cmp dword [ebp - 0x72c], 0
jle 0x519d71
mov dword [ebp - 0x170], 1
jmp 0x519804
mov eax, dword [ebp - 0x170]
add eax, 1
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
cmp ecx, dword [ebp - 0x72c]
jg 0x519d71
push 0x75800c
lea edx, [ebp - 0x724]
push edx
call fcn.00666ba0
add esp, 8
mov eax, dword [ebp - 0x170]
push eax
push 0x758014
lea ecx, [ebp - 0x724]
push ecx
call fcn.00666cf0
add esp, 4
lea edx, [ebp + eax - 0x724]
push edx
call fcn.0066926d
add esp, 0xc
push 0x758018
lea eax, [ebp - 0x724]
push eax
call fcn.00666bb0
add esp, 8
mov ecx, dword [0x7dde08]
push ecx
lea edx, [ebp - 0x724]
push edx
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x730], eax
mov eax, dword [0x7dde08]
cmp eax, dword [ebp - 0x730]
jne 0x5198ab
lea ecx, [ebp - 0x724]
push ecx
push 0x758020
call fcn.0066610b
add esp, 8
jmp 0x5197f5
push 0x758040
lea edx, [ebp - 0x724]
push edx
call fcn.00666ba0
add esp, 8
mov eax, dword [ebp - 0x170]
push eax
push 0x758048
lea ecx, [ebp - 0x724]
push ecx
call fcn.00666cf0
add esp, 4
lea edx, [ebp + eax - 0x724]
push edx
call fcn.0066926d
add esp, 0xc
push 0x75804c
lea eax, [ebp - 0x724]
push eax
call fcn.00666bb0
add esp, 8
mov ecx, dword [0x7dde08]
push ecx
lea edx, [ebp - 0x724]
push edx
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x73c], eax
mov eax, dword [0x7dde08]
cmp eax, dword [ebp - 0x73c]
jne 0x519940
lea ecx, [ebp - 0x724]
push ecx
push 0x758054
call fcn.0066610b
add esp, 8
jmp 0x5197f5
push 0x758074
mov edx, dword [ebp - 0x73c]
push edx
call fcn.0066bb42
add esp, 8
test eax, eax
jne 0x5199b3
push 1
push 0
push 0x75807c
push 0x758088
call fcn.00512ea0
add esp, 0x10
push 0x758094
mov eax, dword [ebp - 0x730]
push eax
mov ecx, dword [ebp - 0x73c]
push ecx
push 0x758098
lea edx, [ebp - 0x724]
push edx
call fcn.0066926d
add esp, 0x14
lea eax, [ebp - 0x724]
push eax
push 0xf4c14a
call fcn.00666bb0
add esp, 8
jmp 0x5197f5
push 0x7580a0
mov ecx, dword [ebp - 0x73c]
push ecx
call fcn.0066bb42
add esp, 8
test eax, eax
jne 0x519a23
push 1
push 0
push 0x7580a8
push 0x7580b4
call fcn.00512ea0
add esp, 0x10
push 0x7580c0
mov edx, dword [ebp - 0x730]
push edx
mov eax, dword [ebp - 0x73c]
push eax
push 0x7580c4
lea ecx, [ebp - 0x724]
push ecx
call fcn.0066926d
add esp, 0x14
lea edx, [ebp - 0x724]
push edx
push 0xf4c14a
call fcn.00666bb0
add esp, 8
jmp 0x5197f5
push 0x7580cc
mov eax, dword [ebp - 0x73c]
push eax
call fcn.0066bb42
add esp, 8
test eax, eax
jne 0x519a91
push 1
push 0
push 0x7580d4
push 0x7580dc
call fcn.00512ea0
add esp, 0x10
push 0x7580e8
mov ecx, dword [ebp - 0x730]
push ecx
mov edx, dword [ebp - 0x73c]
push edx
push 0x7580ec
lea eax, [ebp - 0x724]
push eax
call fcn.0066926d
add esp, 0x14
lea ecx, [ebp - 0x724]
push ecx
push 0xf4c14a
call fcn.00666bb0
add esp, 8
jmp 0x5197f5
push 0x7580f4
lea edx, [ebp - 0x724]
push edx
call fcn.00666ba0
add esp, 8
mov eax, dword [ebp - 0x170]
push eax
push 0x7580fc
lea ecx, [ebp - 0x724]
push ecx
call fcn.00666cf0
add esp, 4
lea edx, [ebp + eax - 0x724]
push edx
call fcn.0066926d
add esp, 0xc
push 0x758100
lea eax, [ebp - 0x724]
push eax
call fcn.00666bb0
add esp, 8
mov ecx, dword [0x7dde08]
push ecx
lea edx, [ebp - 0x724]
push edx
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x734], eax
push 0x758108
lea eax, [ebp - 0x724]
push eax
call fcn.00666ba0
add esp, 8
mov ecx, dword [ebp - 0x170]
push ecx
push 0x758110
lea edx, [ebp - 0x724]
push edx
call fcn.00666cf0
add esp, 4
lea eax, [ebp + eax - 0x724]
push eax
call fcn.0066926d
add esp, 0xc
push str.delete
lea ecx, [ebp - 0x724]
push ecx
call fcn.00666bb0
add esp, 8
mov edx, dword [0x7dde08]
push edx
lea eax, [ebp - 0x724]
push eax
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x738], eax
mov ecx, dword [ebp - 0x728]
add ecx, 1
mov dword [ebp - 0x728], ecx
push 0x80
push 0
lea edx, [ebp - 0x724]
push edx
call fcn.006665c0
add esp, 0xc
push 0x75811c
mov eax, dword [ebp - 0x730]
push eax
mov ecx, dword [ebp - 0x728]
push ecx
push 0x758120
lea edx, [ebp - 0x724]
push edx
call fcn.0066926d
add esp, 0x14
lea eax, [ebp - 0x724]
push eax
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
mov edx, dword [ebp - 0x730]
mov dword [ebp - 0x740], edx
push 0x758130
mov eax, dword [ebp - 0x73c]
push eax
call fcn.0066bb42
add esp, 8
test eax, eax
jne 0x519c3f
mov ecx, dword [ebp - 0x740]
push ecx
call fcn.00666cf0
add esp, 4
mov edx, dword [ebp - 0x740]
lea eax, [edx + eax - 4]
mov dword [ebp - 0x740], eax
push 0x758138
mov ecx, dword [ebp - 0x740]
push ecx
call fcn.0066bb42
add esp, 8
test eax, eax
jne 0x519c3f
mov dword [ebp - 0x73c], 0x758140
push 0x3e8
push 0
lea edx, [ebp - 0x724]
push edx
call fcn.006665c0
add esp, 0xc
push 0x758144
mov eax, dword [ebp - 0x73c]
push eax
mov ecx, dword [ebp - 0x728]
push ecx
push 0x758148
lea edx, [ebp - 0x724]
push edx
call fcn.0066926d
add esp, 0x14
lea eax, [ebp - 0x724]
push eax
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
mov edx, dword [0x7dde08]
cmp edx, dword [ebp - 0x734]
jne 0x519cab
jmp 0x519d07
push 0x3e8
push 0
lea eax, [ebp - 0x724]
push eax
call fcn.006665c0
add esp, 0xc
push 0x758158
mov ecx, dword [ebp - 0x734]
push ecx
mov edx, dword [ebp - 0x728]
push edx
push str.file_dappid_s_s
lea eax, [ebp - 0x724]
push eax
call fcn.0066926d
add esp, 0x14
lea ecx, [ebp - 0x724]
push ecx
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
cmp dword [ebp - 0x738], 0
je 0x519d6c
push 0x3e8
push 0
lea eax, [ebp - 0x724]
push eax
call fcn.006665c0
add esp, 0xc
push 0x758170
mov ecx, dword [ebp - 0x738]
push ecx
mov edx, dword [ebp - 0x728]
push edx
push str.file_ddelete_s_s
lea eax, [ebp - 0x724]
push eax
call fcn.0066926d
add esp, 0x14
lea ecx, [ebp - 0x724]
push ecx
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
jmp 0x5197f5
mov eax, dword [ebp - 0x728]
push eax
push 0x758188
lea ecx, [ebp - 0x724]
push ecx
call fcn.0066926d
add esp, 0xc
push 0x75818c
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
lea eax, [ebp - 0x724]
push eax
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 0x758198
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
push str.rebootp
lea eax, [ebp - 0x164]
push eax
call fcn.00512fb0
add esp, 8
push str.dlconfigmonitor
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512fb0
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x519e73
push 0x7581b4
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x519e73
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x7581bc
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push str.checkbfile
lea edx, [ebp - 0x164]
push edx
call fcn.00512fb0
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x519eee
push str.bfilesize
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x519eee
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 0x7581d8
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
push str.dldrvmag
lea eax, [ebp - 0x164]
push eax
call fcn.00512fb0
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x519f68
push str.drvmag
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x519f68
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
push 0x7581f0
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x7581f4
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512fb0
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x519fe2
push 0x7581fc
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x519fe2
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x758204
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
cmp dword [0x7c39ec], 0x1b
jne 0x51a02d
mov edx, dword [0x7dde08]
push edx
push 0x758208
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x744], eax
mov eax, dword [ebp - 0x744]
push eax
call fcn.00527410
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x51a02d
push str.handa920sp
push str._handa920sp_
call fcn.00512fb0
add esp, 8
push 0x758228
lea edx, [ebp - 0x164]
push edx
call fcn.00512fb0
add esp, 8
mov eax, dword [ebp - 0x4c]
push eax
push str.keytoken
push str.dlkeytoken
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512ea0
add esp, 0x10
push 0x758250
lea edx, [ebp - 0x164]
push edx
call fcn.00512fb0
add esp, 8
movsx eax, byte [0xfc144a]
test eax, eax
je 0x51a0ac
cmp dword [ebp - 0x2b0], 0x11
je 0x51a0ac
cmp dword [ebp - 0x2b0], 0x15
je 0x51a0ac
cmp dword [0x7e46d8], 6
je 0x51a0ac
push 0x758258
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512fb0
add esp, 8
cmp dword [0x7c39ec], 0x1b
jne 0x51a173
push str.dltmk
push 0xfc144a
call fcn.006687b0
add esp, 8
test eax, eax
jne 0x51a173
push 0x758268
push 0xfc144a
call fcn.006687b0
add esp, 8
test eax, eax
jne 0x51a173
push 0x758274
push 0xfc144a
call fcn.006687b0
add esp, 8
test eax, eax
jne 0x51a173
push 0x75827c
push 0xfc144a
call fcn.006687b0
add esp, 8
test eax, eax
jne 0x51a173
push 0x758284
push 0xf4c045
call fcn.00404520
add esp, 8
test eax, eax
jne 0x51a173
movsx edx, byte [0xfc144a]
test edx, edx
jne 0x51a15d
mov eax, dword [0x7dde08]
push eax
push 0x75828c
call fcn.005128e0
add esp, 8
push eax
call fcn.00527410
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x51a173
push 1
push 0
push str.a920multipath
push str._a920multipath_
call fcn.00512ea0
add esp, 0x10
mov edx, dword [0x7c39f0]
mov dword [ebp - 0xa18], edx
cmp dword [ebp - 0xa18], 0xfffffffe
je 0x51a193
cmp dword [ebp - 0xa18], 0xffffffff
je 0x51a1a2
jmp 0x51a1b1
mov dword [ebp - 0x16c], 0
jmp 0x51a288
mov dword [ebp - 0x16c], 1
jmp 0x51a288
mov eax, dword [0x7dde08]
push eax
push 0x7582b0
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
cmp ecx, dword [0x7dde08]
jne 0x51a1e2
mov dword [ebp - 0x168], 0x7582b8
push 0x7582bc
mov edx, dword [ebp - 0x168]
push edx
call fcn.0066bb42
add esp, 8
test eax, eax
je 0x51a272
push 0x7582c0
mov eax, dword [ebp - 0x168]
push eax
call fcn.0066bb42
add esp, 8
test eax, eax
je 0x51a272
push 0x7582c4
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.0066bb42
add esp, 8
test eax, eax
je 0x51a272
push 0x7582c8
mov edx, dword [ebp - 0x168]
push edx
call fcn.0066bb42
add esp, 8
test eax, eax
je 0x51a272
push 0x7582cc
mov eax, dword [ebp - 0x168]
push eax
call fcn.0066bb42
add esp, 8
test eax, eax
je 0x51a272
push 0x7582d0
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.0066bb42
add esp, 8
test eax, eax
jne 0x51a27e
mov dword [ebp - 0x16c], 0
jmp 0x51a288
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x4c], 3
cmp dword [ebp - 0x2b0], 0x14
je 0x51a2ef
cmp dword [ebp - 0x2b0], 0x16
je 0x51a2ef
cmp dword [ebp - 0x58], 1
je 0x51a2ef
cmp dword [ebp - 0x2b0], 0x18
je 0x51a2ef
cmp dword [ebp - 0x2b0], 0x21
je 0x51a2ef
cmp dword [ebp - 0x2b0], 0x1c
je 0x51a2ef
cmp dword [ebp - 0x2b0], 0x2c
je 0x51a2ef
cmp dword [ebp - 0x2b0], 0x36
je 0x51a2ef
cmp dword [ebp - 0x2b0], 0x38
je 0x51a2ef
cmp dword [ebp - 0x2b0], 0x40
je 0x51a2ef
cmp dword [0x7c39ec], 0x48
jne 0x51a342
mov edx, dword [ebp - 0x4c]
push edx
push 0x7582d4
push 0x7582d8
lea eax, [ebp - 0x164]
push eax
call fcn.005130d0
add esp, 0x10
movzx ecx, byte [0x7e46d2]
test ecx, ecx
jne 0x51a33d
cmp dword [0x7e46d8], 7
je 0x51a33d
mov edx, dword [ebp - 0x4c]
push edx
push 0x7582e0
push 0x7582e8
lea eax, [ebp - 0x164]
push eax
call fcn.005130d0
add esp, 0x10
jmp 0x51a3f8
cmp dword [ebp - 0x2b0], 0x17
jne 0x51a36d
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x7582f0
push 0x7582f4
lea edx, [ebp - 0x164]
push edx
call fcn.005130d0
add esp, 0x10
jmp 0x51a3f8
push 1
call fcn.00512690
add esp, 4
movsx eax, al
cmp eax, 0x44
jne 0x51a3f8
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x7582fc
push 0x758300
lea edx, [ebp - 0x164]
push edx
call fcn.005130d0
add esp, 0x10
test eax, eax
je 0x51a3f8
push 0x758308
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x51a3f8
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 0x758314
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
mov eax, dword [ebp - 0x4c]
push eax
push 0x758318
push 0x758324
lea ecx, [ebp - 0x164]
push ecx
call fcn.005130d0
add esp, 0x10
test eax, eax
je 0x51a470
push 0x758330
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x51a470
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x758338
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 3
call fcn.00513c30
add esp, 4
mov dword [ebp - 0x170], eax
push 3
call fcn.00512d70
add esp, 4
cmp dword [ebp - 0x170], 0
je 0x51a4bc
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x9b8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9b8]
jmp 0x51b560
movzx eax, byte [0x7e46d2]
test eax, eax
je 0x51a637
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x75833c
push 0x758344
lea edx, [ebp - 0x164]
push edx
call fcn.005130d0
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
push 0x75834c
push 0x758354
lea ecx, [ebp - 0x164]
push ecx
call fcn.005130d0
add esp, 0x10
push str.checkboardid
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x51a55c
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x758370
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 0x758374
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
mov edx, dword [0x7dde08]
push edx
push 0x75837c
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x748], eax
cmp dword [ebp - 0x168], 0
je 0x51a5e0
mov eax, dword [ebp - 0x748]
push eax
call fcn.00666cf0
add esp, 4
test eax, eax
jbe 0x51a5e0
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
push 0x758384
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x758388
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x51a637
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
push 0x758390
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
mov byte [ebp - 0x2b5], 0
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x758394
push 0x758398
lea edx, [ebp - 0x164]
push edx
call fcn.005130d0
add esp, 0x10
test eax, eax
je 0x51a666
mov byte [ebp - 0x2b5], 1
cmp dword [ebp - 0x2b0], 0x18
je 0x51a68c
mov eax, dword [ebp - 0x4c]
push eax
push 0x7583a0
push 0x7583a8
lea ecx, [ebp - 0x164]
push ecx
call fcn.005130d0
add esp, 0x10
movzx edx, byte [0x7e46d2]
test edx, edx
je 0x51a842
mov eax, dword [ebp - 0x4c]
push eax
push 0x755347
push 0x7583b0
lea ecx, [ebp - 0x164]
push ecx
call fcn.005130d0
add esp, 0x10
mov edx, dword [ebp - 0x4c]
push edx
push 0x75535b
push 0x7583b8
lea eax, [ebp - 0x164]
push eax
call fcn.005130d0
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x755389
push 0x7583c0
lea edx, [ebp - 0x164]
push edx
call fcn.005130d0
add esp, 0x10
mov eax, 1
test eax, eax
je 0x51a7de
push 3
movzx ecx, byte [ebp - 0x2b5]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x9bc], esp
push 0x7583c8
call fcn.0040dbe0
mov dword [ebp - 0xa1c], eax
call fcn.00516790
add esp, 0xc
mov edx, dword [0x7dde08]
push edx
push 0x7583cc
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x74c], eax
mov eax, dword [ebp - 0x74c]
push eax
call fcn.00666cf0
add esp, 4
test eax, eax
jbe 0x51a7b1
push 0x7583d4
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
mov edx, dword [ebp - 0x74c]
push edx
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x7583dc
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
jmp 0x51a7dc
push 3
movzx edx, byte [ebp - 0x2b5]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x9c0], esp
push 0x7583e0
call fcn.0040dbe0
mov dword [ebp - 0xa20], eax
call fcn.00516790
add esp, 0xc
jmp 0x51a817
push str.ftm0_t
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push str.ferase0_t
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
push 3
movzx edx, byte [ebp - 0x2b5]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x9c4], esp
push 0x7583fc
call fcn.0040dbe0
mov dword [ebp - 0xa24], eax
call fcn.00516790
add esp, 0xc
mov eax, dword [ebp - 0x4c]
push eax
push 0x758404
push str.dlrki
lea ecx, [ebp - 0x164]
push ecx
call fcn.00512ea0
add esp, 0x10
test eax, eax
je 0x51a8ba
push 0x758414
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x51a8ba
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 0x758420
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x75405
add ecx, 0xed6d45
push ecx
call fcn.00666bb0
add esp, 8
mov edx, dword [ebp - 0x4c]
push edx
push str.prod
push str.rkibr
lea eax, [ebp - 0x164]
push eax
call fcn.00512ea0
add esp, 0x10
test eax, eax
je 0x51a932
push str.oldprolin
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x51a932
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
push 0x758440
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
push str.dlclose
lea edx, [ebp - 0x164]
push edx
call fcn.005130d0
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
push 0x75538a
push str.dlsonyfbox
lea ecx, [ebp - 0x164]
push ecx
call fcn.005130d0
add esp, 0x10
mov edx, dword [ebp - 0x4c]
push edx
push 0x75538b
push str.dlstlink
lea eax, [ebp - 0x164]
push eax
call fcn.005130d0
add esp, 0x10
cmp dword [0x7e46d8], 7
jne 0x51a9a2
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x164]
push edx
call fcn.00532cb0
add esp, 8
cmp dword [0x7e47f0], 0
jle 0x51aa55
lea ecx, [ebp - 0x754]
call fcn.00401490
mov byte [ebp - 4], 3
lea eax, [ebp - 0x754]
push eax
call fcn.005178c0
add esp, 4
mov dword [ebp - 0x750], eax
cmp dword [ebp - 0x750], 0
je 0x51aa46
call fcn.006684ac
mov ecx, dword [ebp - 0x750]
push ecx
push 0x758464
call fcn.0066610b
add esp, 8
call fcn.006684ac
mov edx, dword [ebp - 0x754]
push edx
push 0x758474
call fcn.0066610b
add esp, 8
mov eax, dword [ebp - 0x750]
mov dword [ebp - 0x9c8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x754]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9c8]
jmp 0x51b560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x754]
call fcn.004014d0
mov ecx, dword [ebp - 0x16c]
push ecx
push 0
call fcn.00513830
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x51aaac
mov edx, dword [ebp - 0x170]
push edx
push fcn.00517a20
call fcn.00517de0
add esp, 8
mov dword [ebp - 0x9cc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9cc]
jmp 0x51b560
cmp dword [0x10abc80], 0
je 0x51ab32
movsx eax, byte [0xf4c045]
test eax, eax
je 0x51aaf0
push str.1000
push str.waitboot
call fcn.005128e0
add esp, 8
push eax
call fcn.00666b8d
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jle 0x51aaee
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x51ab32
cmp dword [0x10abc80], 0
je 0x51ab32
movsx edx, byte [0xfc144a]
test edx, edx
je 0x51ab32
push str.2500
push str.waitmonitor
call fcn.005128e0
add esp, 8
push eax
call fcn.00666b8d
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jle 0x51ab32
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 9
call fcn.00512690
add esp, 4
movsx ecx, al
cmp ecx, 0x38
jne 0x51ab8f
call fcn.0046e2b0
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x51ab8f
mov edx, dword [ebp - 0x170]
push edx
push fcn.00517a20
call fcn.00517de0
add esp, 8
mov dword [ebp - 0x9d0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9d0]
jmp 0x51b560
mov byte [0x7e46d0], 0
call fcn.00513740
mov byte [0x7e46d0], al
mov eax, dword [ebp - 0x16c]
push eax
push 1
call fcn.00513830
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x51abf7
mov ecx, dword [ebp - 0x170]
push ecx
push fcn.00517a20
call fcn.00517de0
add esp, 8
mov dword [ebp - 0x9d4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9d4]
jmp 0x51b560
push 1
call fcn.00512690
add esp, 4
movsx edx, al
cmp edx, 0x35
jne 0x51ac54
call fcn.004f6ce0
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x51ac54
mov eax, dword [ebp - 0x170]
push eax
push fcn.00517a20
call fcn.00517de0
add esp, 8
mov dword [ebp - 0x9d8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9d8]
jmp 0x51b560
push 9
call fcn.00512690
add esp, 4
movsx ecx, al
cmp ecx, 0x36
jne 0x51acb1
call fcn.0046e770
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x51acb1
mov edx, dword [ebp - 0x170]
push edx
push fcn.00517a20
call fcn.00517de0
add esp, 8
mov dword [ebp - 0x9dc], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9dc]
jmp 0x51b560
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
movzx eax, byte [0x7e46d1]
test eax, eax
je 0x51ad34
movsx ecx, byte [0xfc144a]
test ecx, ecx
je 0x51ad34
call fcn.00517ea0
mov edx, dword [ebp - 0x16c]
push edx
push 2
call fcn.00513830
add esp, 8
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x51ad34
mov eax, dword [ebp - 0x170]
push eax
push fcn.00517a20
call fcn.00517de0
add esp, 8
mov dword [ebp - 0x9e0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9e0]
jmp 0x51b560
push str.test_before_pextend_execute_r_n
call fcn.0066610b
add esp, 4
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
push 3
call fcn.00513c30
add esp, 4
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x51adb4
call fcn.006684ac
push 0x7584c4
call fcn.0066610b
add esp, 4
mov ecx, dword [ebp - 0x170]
push ecx
push fcn.00517a20
call fcn.00517de0
add esp, 8
mov dword [ebp - 0x9e4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9e4]
jmp 0x51b560
push 3
call fcn.00512d70
add esp, 4
cmp dword [ebp - 0x2b0], 0x27
jne 0x51ae97
mov edx, dword [ebp - 0x4c]
push edx
push 0x7584d8
push str.dliso
lea eax, [ebp - 0x164]
push eax
call fcn.005130d0
add esp, 0x10
test eax, eax
je 0x51ae43
push str.isoerase
call fcn.00512b00
add esp, 4
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x51ae43
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0x75405
add edx, 0xed6d45
push edx
call fcn.00666bb0
add esp, 8
push 0x7584f0
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x75405
add eax, 0xed6d45
push eax
call fcn.00666bb0
add esp, 8
push 3
call fcn.00513c30
add esp, 4
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x51ae97
call fcn.006684ac
push str.cmd_extendFAIL_n
call fcn.0066610b
add esp, 4
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x9e8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9e8]
jmp 0x51b560
cmp dword [0x7e47f0], 0
jle 0x51afd2
lea ecx, [ebp - 0x75c]
call fcn.00401490
mov byte [ebp - 4], 4
lea edx, [ebp - 0x75c]
push edx
call fcn.00517a20
add esp, 4
mov dword [ebp - 0x758], eax
cmp dword [ebp - 0x758], 0
je 0x51af3b
call fcn.006684ac
mov eax, dword [ebp - 0x758]
push eax
push 0x758508
call fcn.0066610b
add esp, 8
call fcn.006684ac
mov ecx, dword [ebp - 0x75c]
push ecx
push 0x758518
call fcn.0066610b
add esp, 8
mov edx, dword [ebp - 0x758]
mov dword [ebp - 0x9ec], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x75c]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9ec]
jmp 0x51b560
lea eax, [ebp - 0x75c]
push eax
call fcn.00517b80
add esp, 4
mov dword [ebp - 0x758], eax
cmp dword [ebp - 0x758], 0
je 0x51afc3
call fcn.006684ac
mov ecx, dword [ebp - 0x758]
push ecx
push 0x758520
call fcn.0066610b
add esp, 8
call fcn.006684ac
mov edx, dword [ebp - 0x75c]
push edx
push 0x758530
call fcn.0066610b
add esp, 8
mov eax, dword [ebp - 0x758]
mov dword [ebp - 0x9f0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x75c]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9f0]
jmp 0x51b560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x75c]
call fcn.004014d0
mov ecx, dword [0x7e46d8]
push ecx
call fcn.005339b0
add esp, 4
movzx edx, al
test edx, edx
je 0x51b0d3
call fcn.005256d0
movzx eax, al
test eax, eax
je 0x51b0d3
lea ecx, [ebp - 0x764]
push ecx
push 0
push 0
push 0x520460
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x760], eax
push 0xffffffffffffffff
mov edx, dword [ebp - 0x760]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x7e46dc], 0
je 0x51b0d3
mov eax, dword [0x7e46dc]
push eax
push 0x758538
call fcn.0066610b
add esp, 8
mov ecx, dword [0x7e46dc]
push ecx
call fcn.004a3400
add esp, 4
mov dword [ebp - 0x768], eax
cmp dword [ebp - 0x768], 0
je 0x51b07f
mov edx, dword [ebp - 0x768]
push edx
push 0x758548
call fcn.0066610b
add esp, 8
jmp 0x51b08c
push 0x758558
call fcn.0066610b
add esp, 4
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov eax, dword [0x7e46dc]
push eax
push fcn.00517cb0
call fcn.00517de0
add esp, 8
mov dword [ebp - 0x9f4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9f4]
jmp 0x51b560
movzx ecx, byte [ebp - 0x4d]
cmp ecx, 1
jne 0x51b272
mov dword [ebp - 0x948], 0
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x48]
call fcn.00404630
mov byte [ebp - 4], 5
lea eax, [ebp - 0x48]
push eax
call fcn.0052d1e0
add esp, 4
mov dword [ebp - 0x948], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00404770
cmp dword [ebp - 0x948], 0
je 0x51b1ce
call fcn.006684ac
mov ecx, dword [ebp - 0x948]
push ecx
push 0x75857c
call fcn.0066610b
add esp, 8
mov edx, dword [ebp - 0x948]
push edx
call fcn.004a3400
add esp, 4
mov dword [ebp - 0x94c], eax
cmp dword [ebp - 0x94c], 0
je 0x51b17a
call fcn.006684ac
mov eax, dword [ebp - 0x94c]
push eax
push str.errormsg_s_r_n
call fcn.0066610b
add esp, 8
jmp 0x51b197
call fcn.006684ac
push str.Down_A930_AP_ERR_UNKNOWN_MSG_r_n
call fcn.0066610b
add esp, 4
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x948]
push ecx
push fcn.00517cb0
call fcn.00517de0
add esp, 8
mov dword [ebp - 0x9f8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0x9f8]
jmp 0x51b560
mov edx, dword [0x7dde08]
push edx
push 0x7585bc
call fcn.005128e0
add esp, 4
mov ecx, esp
mov dword [ebp - 0x9fc], esp
push eax
call fcn.0040dbe0
mov dword [ebp - 0xa28], eax
mov eax, dword [ebp - 0xa28]
mov dword [ebp - 0xa2c], eax
mov byte [ebp - 4], 6
mov ecx, dword [0x7dde08]
push ecx
push 0x7585c0
call fcn.005128e0
add esp, 4
mov ecx, esp
mov dword [ebp - 0xa00], esp
push eax
call fcn.0040dbe0
mov dword [ebp - 0xa30], eax
mov edx, dword [0x7c39ec]
push edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x944]
call fcn.0041ef20
mov dword [ebp - 0xa34], eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x76c], 0
lea ecx, [ebp - 0x944]
call fcn.004434b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x944]
call fcn.0041f340
push 1
lea ecx, [ebp - 0x2a4]
call fcn.0045ff70
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x51b2c5
mov eax, dword [ebp - 0x170]
push eax
push fcn.00517cb0
call fcn.00517de0
add esp, 8
mov dword [ebp - 0xa04], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0xa04]
jmp 0x51b560
cmp dword [0x7e46d8], 6
jne 0x51b468
cmp dword [0x7c39ec], 0x26
je 0x51b2fa
cmp dword [0x7c39ec], 0x2a
je 0x51b2fa
cmp dword [0x7c39ec], 0x34
je 0x51b2fa
cmp dword [0x7c39ec], 0x44
jne 0x51b468
mov dword [ebp - 0x970], 0
mov ecx, dword [0x7dde08]
push ecx
push 0x7585c8
call fcn.005128e0
add esp, 8
mov dword [ebp - 0x96c], eax
mov edx, dword [ebp - 0x96c]
push edx
lea ecx, [ebp - 0x968]
call fcn.00404630
mov byte [ebp - 4], 8
cmp dword [0x7c39ec], 0x2a
jne 0x51b3a5
push 0x7585cc
mov eax, dword [ebp - 0x2ac]
push eax
call fcn.006687b0
add esp, 8
test eax, eax
je 0x51b3a5
push 0
push 0x7585d4
lea ecx, [ebp - 0x968]
call fcn.004138c0
mov dword [ebp - 0x974], eax
mov ecx, dword [ebp - 0x974]
cmp ecx, dword [0x6c2cb8]
je 0x51b394
push 0x7585dc
push 6
mov edx, dword [ebp - 0x974]
push edx
lea ecx, [ebp - 0x968]
call fcn.004dff10
lea ecx, [ebp - 0x968]
call fcn.00404810
mov dword [ebp - 0x96c], eax
call fcn.006684ac
push str.HandleAndroidTaskAfterSP_r_n
call fcn.0066610b
add esp, 4
mov eax, dword [ebp - 0x96c]
push eax
call fcn.00666cf0
add esp, 4
test eax, eax
jbe 0x51b3df
mov ecx, dword [ebp - 0x96c]
push ecx
call fcn.00529cc0
add esp, 4
mov dword [ebp - 0x970], eax
cmp dword [ebp - 0x970], 0
je 0x51b459
call fcn.006684ac
mov edx, dword [ebp - 0x970]
push edx
push 0x758604
call fcn.0066610b
add esp, 8
call fcn.006684ac
push 0x758614
call fcn.0066610b
add esp, 4
mov eax, dword [ebp - 0x970]
push eax
push fcn.00517cb0
call fcn.00517de0
add esp, 8
mov dword [ebp - 0xa08], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x968]
call fcn.00404770
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0xa08]
jmp 0x51b560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x968]
call fcn.00404770
cmp dword [0x7e47f0], 0
jle 0x51b518
lea ecx, [ebp - 0x97c]
call fcn.00401490
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x97c]
push ecx
call fcn.00517cb0
add esp, 4
mov dword [ebp - 0x978], eax
cmp dword [ebp - 0x978], 0
je 0x51b509
call fcn.006684ac
mov edx, dword [ebp - 0x978]
push edx
push 0x758638
call fcn.0066610b
add esp, 8
call fcn.006684ac
mov eax, dword [ebp - 0x97c]
push eax
push 0x758648
call fcn.0066610b
add esp, 8
mov ecx, dword [ebp - 0x978]
mov dword [ebp - 0xa0c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x97c]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0xa0c]
jmp 0x51b560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x97c]
call fcn.004014d0
call fcn.006684ac
push 0x758650
call fcn.0066610b
add esp, 4
call fcn.006684ac
push 0x758660
call fcn.0066610b
add esp, 4
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0xa10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00406670
mov eax, dword [ebp - 0xa10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret