Function at 0x10028e00
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1011dc50
mov eax, dword fs:[0]
push eax
mov eax, 0x31b4
call fcn.100db4f0
mov eax, dword [0x10156de0]
xor eax, esp
mov dword [esp + 0x31b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10156de0]
xor eax, esp
push eax
lea eax, [esp + 0x31c8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x31d8]
sub esp, 0x1c
mov dword [esp + 0x34], esp
mov dword [esp + 0x5c], eax
mov eax, esp
push 0x1012a9d4
push str.1355
push str.__line:
sub esp, 0x1c
mov dword [esp + 0xcc], ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
xor ebx, ebx
push 0x1c
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov dword [esp + 0x90], edx
mov ebp, 1
mov byte [ecx + 4], bl
mov dword [esp + 0x74], eax
call fcn.10007110
lea esi, [esp + 0x1e0]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov dword [esp + 0x31f8], ebx
push 3
push 0x1012a9fc
lea ecx, [esp + 0x13c]
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], bl
call fcn.10007110
push esi
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x204]
push ecx
mov byte [esp + 0x3204], 1
call fcn.1000a250
add esp, 0xc
push eax
lea edx, [esp + 0x1e4]
push edx
mov byte [esp + 0x3200], 2
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0x218]
push eax
mov byte [esp + 0x31fc], 3
call fcn.1000a300
add esp, 0xc
push eax
mov byte [esp + 0x31f4], 4
mov eax, dword [esp + 0x4c]
push eax
call fcn.1000a300
sub esp, 0x10
mov byte [esp + 0x3208], 5
mov ecx, esp
mov dword [esp + 0x80], esp
push 0x2d
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.cflashtool_api::FlashTool_Connect_Download_DA
mov byte [ecx + 4], bl
call fcn.10007110
mov ecx, ebp
lea ebx, [esp + 0x2550]
mov byte [esp + 0x3208], 4
call fcn.100537f0
mov ebp, 0x10
cmp dword [esp + 0x208], ebp
jb 0x10028fa4
mov ecx, dword [esp + 0x1f4]
push ecx
call fcn.100d30aa
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x208], esi
mov dword [esp + 0x204], ebx
mov byte [esp + 0x1f4], bl
cmp dword [esp + 0x1d0], ebp
jb 0x10028fd9
mov edx, dword [esp + 0x1bc]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], bl
cmp dword [esp + 0x1ec], ebp
jb 0x10029007
mov eax, dword [esp + 0x1d8]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x1ec], esi
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1d8], bl
cmp dword [esp + 0x124], ebp
jb 0x10029035
mov ecx, dword [esp + 0x110]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
mov byte [esp + 0x31d0], 0xb
cmp dword [esp + 0x1b4], ebp
jb 0x1002906b
mov edx, dword [esp + 0x1a0]
push edx
call fcn.100d30aa
add esp, 4
lea eax, [esp + 0x20]
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], eax
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
mov esi, eax
call fcn.1000a3d0
mov ecx, dword [eax]
mov dword [esp + 0xac], ecx
mov dword [eax], ebx
mov byte [esp + 0x31d0], 0xc
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x100290d0
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0xac]
cmp eax, ebx
je 0x100293ef
lea edx, [esp + 0x31dc]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0x1003eb50
mov dword [esp + 0x98], 0x1003eb60
jmp 0x10029110
push 0x1012a9d4
push str.1356
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x1c
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov byte [ecx + 4], bl
call fcn.10007110
lea esi, [esp + 0xe4]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x31dc], 0xd
push 3
push 0x1012a9fc
lea ecx, [esp + 0x22e4]
mov dword [esp + 0x22fc], edi
mov dword [esp + 0x22f8], ebx
mov byte [esp + 0x22e8], bl
call fcn.10007110
push esi
lea eax, [esp + 0x22e0]
push eax
lea ecx, [esp + 0x2300]
push ecx
mov byte [esp + 0x31e8], 0xe
call fcn.1000a250
add esp, 0xc
push eax
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x31e4], 0xf
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x31e0], 0x10
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0x232c]
push ecx
mov byte [esp + 0x31dc], 0x11
call fcn.1000a300
add esp, 0xc
mov dword [esp + 0x28], eax
push str.bCheckScatter:__d
lea edx, [esp + 0x210]
push edx
mov byte [esp + 0x31d8], 0x12
call fcn.10009db0
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x31d4], 0x13
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x2308]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x31d0], 0x14
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0xac]
push edx
push eax
lea eax, [esp + 0x2db4]
push eax
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x31d0], 0x15
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x10029272
mov edi, dword [edi + 4]
jmp 0x10029275
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002928f
mov eax, dword [eax + 4]
jmp 0x10029292
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0x2dac]
mov byte [esp + 0x31d0], 0x14
call fcn.10006cd0
cmp dword [esp + 0x2320], ebp
jb 0x100292c8
mov ecx, dword [esp + 0x230c]
push ecx
call fcn.100d30aa
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x20c]
mov dword [esp + 0x2320], esi
mov dword [esp + 0x231c], ebx
mov byte [esp + 0x230c], bl
call fcn.10003ab0
cmp dword [esp + 0x233c], ebp
jb 0x10029307
mov edx, dword [esp + 0x2328]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x233c], esi
mov dword [esp + 0x2338], ebx
mov byte [esp + 0x2328], bl
cmp dword [esp + 0x84], ebp
jb 0x10029332
mov eax, dword [esp + 0x70]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x64], ebp
jb 0x10029357
mov ecx, dword [esp + 0x50]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x2304], ebp
jb 0x1002937c
mov edx, dword [esp + 0x22f0]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x2304], esi
mov dword [esp + 0x2300], ebx
mov byte [esp + 0x22f0], bl
cmp dword [esp + 0x22e8], ebp
jb 0x100293aa
mov eax, dword [esp + 0x22d4]
push eax
call fcn.100d30aa
add esp, 4
mov byte [esp + 0x31d0], 0xc
mov dword [esp + 0x22e8], esi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
cmp dword [esp + 0xd4], ebp
jb 0x100293e0
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.100d30aa
add esp, 4
mov eax, dword [esp + 0xac]
cmp eax, ebx
jne 0x10029110
mov esi, dword [esp + 0x40]
mov byte [esp + 0x31d0], 0xb
cmp eax, ebx
je 0x1002940f
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0xac], ebx
push 0x1ff
lea edx, [esp + 0x2dc9]
push ebx
push edx
mov byte [esp + 0x2dd0], bl
call fcn.100d8b30
mov eax, dword [esi + 0x9c]
mov edi, dword [esi + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [0x1015c9ec]
add esp, 0xc
mov dword [esp + 0x3c], edi
cmp eax, ebx
je 0x10029463
push 0x1012ec7c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10029463
lea ecx, [esp + 0x296c]
push ecx
push edi
call eax
jmp 0x10029468
mov eax, 0xc001000c
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x104]
mov dword [esp + 0x108], edx
mov dword [esp + 0x160], ecx
lea edx, [esp + 0x2b94]
lea ecx, [esp + 0x2754]
mov dword [esp + 0x38], eax
mov byte [esp + 0x2dbc], bl
mov dword [esp + 0x2dbd], ebx
mov word [esp + 0x2dc1], bx
mov byte [esp + 0x2dc3], bl
mov dword [esp + 0x104], esi
mov dword [esp + 0x164], 0x10023320
mov dword [esp + 0x168], 0x10023350
mov dword [esp + 0x16c], 0x100233a0
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov byte [esp + 0x27], bl
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x68], 5
cmp eax, ebx
jne 0x1002bed6
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 1
mov dword [esp + 0x30], edx
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
mov esi, eax
call fcn.1000a3d0
mov ecx, dword [eax]
mov dword [esp + 0xa8], ecx
mov dword [eax], ebx
mov byte [esp + 0x31d0], 0x16
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x10029594
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x100298af
lea edx, [esp + 0x2b8c]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0x1003eb80
mov dword [esp + 0x98], 0x1003eb90
jmp 0x100295d0
push 0x1012a9d4
push str.1385
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x1c
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov byte [ecx + 4], bl
call fcn.10007110
lea esi, [esp + 0xe4]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x31dc], 0x17
push 3
push 0x1012a9fc
lea ecx, [esp + 0x22e4]
mov dword [esp + 0x22fc], edi
mov dword [esp + 0x22f8], ebx
mov byte [esp + 0x22e8], bl
call fcn.10007110
push esi
lea eax, [esp + 0x22e0]
push eax
lea ecx, [esp + 0x231c]
push ecx
mov byte [esp + 0x31e8], 0x18
call fcn.1000a250
add esp, 0xc
push eax
lea edx, [esp + 0x2334]
push edx
mov byte [esp + 0x31e4], 0x19
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x31e0], 0x1a
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x31dc], 0x1b
call fcn.1000a300
add esp, 0xc
mov dword [esp + 0x30], eax
push str.da_source_type:__d
lea edx, [esp + 0x210]
push edx
mov byte [esp + 0x31d8], 0x1c
call fcn.10009db0
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x31d4], 0x1d
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x22ec]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x31d0], 0x1e
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0xa8]
push edx
push eax
lea eax, [esp + 0x2db4]
push eax
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x31d0], 0x1f
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x10029732
mov edi, dword [edi + 4]
jmp 0x10029735
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002974f
mov eax, dword [eax + 4]
jmp 0x10029752
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0x2dac]
mov byte [esp + 0x31d0], 0x1e
call fcn.10006cd0
cmp dword [esp + 0x2304], ebp
jb 0x10029788
mov ecx, dword [esp + 0x22f0]
push ecx
call fcn.100d30aa
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x20c]
mov dword [esp + 0x2304], esi
mov dword [esp + 0x2300], ebx
mov byte [esp + 0x22f0], bl
call fcn.10003ab0
cmp dword [esp + 0x64], ebp
jb 0x100297c1
mov edx, dword [esp + 0x50]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x84], ebp
jb 0x100297e3
mov eax, dword [esp + 0x70]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x233c], ebp
jb 0x1002980e
mov ecx, dword [esp + 0x2328]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x233c], esi
mov dword [esp + 0x2338], ebx
mov byte [esp + 0x2328], bl
cmp dword [esp + 0x2320], ebp
jb 0x1002983c
mov edx, dword [esp + 0x230c]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x2320], esi
mov dword [esp + 0x231c], ebx
mov byte [esp + 0x230c], bl
cmp dword [esp + 0x22e8], ebp
jb 0x1002986a
mov eax, dword [esp + 0x22d4]
push eax
call fcn.100d30aa
add esp, 4
mov byte [esp + 0x31d0], 0x16
mov dword [esp + 0x22e8], esi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
cmp dword [esp + 0xd4], ebp
jb 0x100298a0
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.100d30aa
add esp, 4
mov eax, dword [esp + 0xa8]
cmp eax, ebx
jne 0x100295d0
mov byte [esp + 0x31d0], 0xb
cmp eax, ebx
je 0x100298cb
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0xa8], ebx
mov eax, dword [esp + 0x2b8c]
cmp eax, ebx
jne 0x1002992b
mov dword [esp + 0x253c], ebx
xor eax, eax
nop
mov cl, byte [esp + eax + 0x296c]
mov byte [esp + eax + 0x2540], cl
inc eax
cmp cl, bl
jne 0x100298e0
lea edx, [esp + 0x2540]
push edx
call fcn.100546e0
add esp, 4
test al, al
je 0x10029957
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x253c], 2
call fcn.1001c640
mov dword [esp + 0x2740], eax
mov dword [esp + 0x2744], edx
jmp 0x10029957
cmp eax, 1
jne 0x1002bb56
mov ecx, dword [esp + 0x2a74]
mov dword [esp + 0x253c], eax
mov eax, dword [esp + 0x2a70]
mov dword [esp + 0x274c], eax
mov dword [esp + 0x2750], ecx
mov esi, dword [0x1015c9ec]
cmp esi, ebx
je 0x1002998b
push 0x1012f004
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10029985
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x27]
push edx
push edi
call eax
mov esi, dword [0x1015c9ec]
jmp 0x10029994
mov esi, dword [0x1015c9ec]
mov edi, dword [esp + 0x1c]
mov eax, 0xc001000c
mov dword [esp + 0x38], eax
cmp eax, ebx
jne 0x1002bed6
cmp dword [esp + 0x31dc], ebx
je 0x10029f51
push 0x1ff
lea eax, [esp + 0x2fc9]
push ebx
push eax
mov byte [esp + 0x2fd0], bl
call fcn.100d8b30
add esp, 0xc
cmp esi, ebx
je 0x100299eb
push 0x1012ef90
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x100299eb
lea ecx, [esp + 0x2fc4]
push ecx
push edi
call eax
jmp 0x100299f0
mov eax, 0xc001000c
mov dword [esp + 0x38], eax
cmp eax, ebx
jne 0x1002bed6
lea edx, [esp + 0x22d0]
push edx
lea ecx, [esp + 0x2fc8]
call fcn.1003cb70
lea ecx, [esp + 0x22d0]
mov byte [esp + 0x31d0], 0x2a
call fcn.100c06f0
lea eax, [esp + 0xbc]
push eax
call fcn.1003cc20
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x22d4]
push edx
lea eax, [esp + 0x2310]
push eax
mov byte [esp + 0x31dc], 0x2b
call fcn.1001a670
add esp, 0xc
lea ecx, [esp + 0xbc]
mov byte [esp + 0x31d0], 0x2d
call fcn.100031c0
lea ecx, [esp + 0x2308]
push ecx
call fcn.1001a750
add esp, 4
test al, al
je 0x10029ca1
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], edx
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
push edx
mov esi, eax
call fcn.1000a3d0
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov dword [eax], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x31d0], 0x2e
call fcn.10002f90
cmp dword [esp + 0x3c], ebx
je 0x10029c87
push 0x1012a9d4
push str.1434
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.100062e0
lea esi, [esp + 0x150]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
push 0x1012a9fc
lea ecx, [esp + 0x154]
mov byte [esp + 0x31e0], 0x2f
call fcn.100062e0
push esi
push eax
lea edx, [esp + 0x194]
push edx
mov byte [esp + 0x31e8], 0x30
call fcn.1000a250
add esp, 0xc
push eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x31e4], 0x31
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x31e0], 0x32
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0x22f4]
push edx
mov byte [esp + 0x31dc], 0x33
call fcn.1000a300
add esp, 0xc
mov edi, eax
mov byte [esp + 0x31d0], 0x34
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x2db4]
push edx
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x31d0], 0x35
mov ecx, dword [eax + 4]
add ecx, 4
push str.enable_PCDRAM_checksum
call fcn.10006d70
mov esi, eax
mov eax, edi
call fcn.1000a590
lea ecx, [esp + 0x2dac]
mov byte [esp + 0x31d0], 0x34
call fcn.10006cd0
cmp dword [esp + 0x2304], ebp
jb 0x10029bf0
mov eax, dword [esp + 0x22f0]
push eax
call fcn.100d30aa
add esp, 4
mov esi, 0xf
mov dword [esp + 0x2304], esi
mov dword [esp + 0x2300], ebx
mov byte [esp + 0x22f0], bl
cmp dword [esp + 0x64], ebp
jb 0x10029c1d
mov ecx, dword [esp + 0x50]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x84], ebp
jb 0x10029c3f
mov edx, dword [esp + 0x70]
push edx
call fcn.100d30aa
add esp, 4
lea ecx, [esp + 0x180]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.10006350
lea ecx, [esp + 0x144]
call fcn.10006350
lea ecx, [esp + 0x128]
mov byte [esp + 0x31d0], 0x2e
call fcn.10006350
cmp dword [esp + 0x3c], ebx
jne 0x10029ad0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x31d0], 0x2d
call fcn.10002f90
or byte [esp + 0x27], 4
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x2dc4]
push eax
push edi
call sym.Flashtoollib.dll_DL_Get_PreloaderFilePath
mov dword [esp + 0x38], eax
cmp eax, ebx
je 0x10029cd4
lea ecx, [esp + 0x2308]
call fcn.100031c0
lea ecx, [esp + 0x22d0]
call fcn.100031c0
jmp 0x1002bed6
lea ecx, [esp + 0x2dc4]
push str.preloader
push ecx
call fcn.100d32b0
add esp, 8
test eax, eax
jne 0x10029dac
lea edx, [esp + 0x4c]
push edx
call fcn.1003ccd0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x22d4]
push ecx
lea edx, [esp + 0x22f4]
push edx
mov byte [esp + 0x31dc], 0x36
call fcn.1001a670
add esp, 0xc
lea ecx, [esp + 0x4c]
mov byte [esp + 0x31d0], 0x38
call fcn.100031c0
lea eax, [esp + 0x22ec]
push eax
call fcn.1001a750
add esp, 4
test al, al
je 0x10029d98
push 0x200
lea ecx, [esp + 0x2dc8]
push ebx
push ecx
call fcn.100d8b30
add esp, 0xc
lea edx, [esp + 0x128]
push edx
lea ecx, [esp + 0x22f0]
call fcn.100030b0
push 0x1ff
mov ecx, eax
call fcn.10006450
push eax
lea eax, [esp + 0x2dcc]
push eax
call fcn.100d3340
add esp, 0xc
lea ecx, [esp + 0x128]
call fcn.10006350
lea ecx, [esp + 0x22ec]
mov byte [esp + 0x31d0], 0x2d
call fcn.100031c0
mov dword [esp + 0x2b94], ebx
xor eax, eax
jmp 0x10029dc0
mov cl, byte [esp + eax + 0x2dc4]
mov byte [esp + eax + 0x2b98], cl
inc eax
cmp cl, bl
jne 0x10029dc0
lea ecx, [esp + 0x2dc4]
push ecx
call fcn.100546e0
add esp, 4
test al, al
je 0x10029e05
mov dword [esp + 0x2b94], 2
call fcn.1001c590
mov dword [esp + 0x2d98], eax
mov dword [esp + 0x2d9c], edx
lea edx, [esp + 0x4c]
push edx
call fcn.1003ce30
lea eax, [esp + 0x22ec]
push eax
mov byte [esp + 0x31d4], 0x39
call fcn.1003cd80
lea ecx, [esp + 0x22ec]
push ecx
lea edx, [esp + 0x22d4]
push edx
lea eax, [esp + 0x130]
push eax
mov byte [esp + 0x31dc], 0x3a
call fcn.1001a670
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
push eax
lea edx, [esp + 0x232c]
push edx
mov byte [esp + 0x31dc], 0x3b
call fcn.1001a670
add esp, 0xc
lea ecx, [esp + 0x128]
call fcn.100031c0
lea ecx, [esp + 0x22ec]
call fcn.100031c0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x31d0], 0x3f
call fcn.100031c0
lea eax, [esp + 0x2324]
push eax
call fcn.1001a750
add esp, 4
test al, al
je 0x10029f1f
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0x2328]
mov dword [esp + 0x2758], ebx
call fcn.100030b0
push 0x1ff
mov ecx, eax
call fcn.10006450
push eax
lea edx, [esp + 0x2760]
push edx
call fcn.100d3340
add esp, 0xc
lea ecx, [esp + 0x144]
call fcn.10006350
lea eax, [esp + 0x2758]
push eax
call fcn.100546e0
add esp, 4
test al, al
je 0x10029f23
mov dword [esp + 0x2754], 2
call fcn.1001c590
mov dword [esp + 0x2958], eax
mov dword [esp + 0x295c], edx
jmp 0x10029f23
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x2324]
call fcn.100031c0
lea ecx, [esp + 0x2308]
call fcn.100031c0
lea ecx, [esp + 0x22d0]
mov byte [esp + 0x31d0], 0xb
call fcn.100031c0
jmp 0x10029f59
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x40]
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
push ecx
call edx
movzx eax, byte [esp + 0x27]
movzx ecx, byte [esi + 0xa0]
movzx edx, byte [esi + 0xa1]
mov dword [esp + 0xdc], eax
mov eax, dword [esi + 0xa4]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esi + 0xa8]
mov dword [esp + 0xe4], edx
mov edx, dword [esi + 0xac]
mov dword [esp + 0xe8], eax
mov eax, dword [esi + 0xb0]
mov dword [esp + 0xec], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x30], ecx
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x30]
push ecx
mov esi, eax
call fcn.1000a3d0
mov edx, dword [eax]
mov dword [esp + 0x3c], edx
mov dword [eax], ebx
mov byte [esp + 0x31d0], 0x40
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1002a00f
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x1002a379
lea eax, [esp + 0xdc]
lea edx, [esp + 0xe0]
mov ecx, 0x10014a30
mov dword [esp + 0x90], eax
mov eax, 0x10014a20
mov dword [esp + 0xf8], edx
lea edx, [esp + 0xe4]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
lea esp, [esp]
push 0x1012a9d4
push str.1498
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x1c
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov byte [ecx + 4], bl
call fcn.10007110
lea esi, [esp + 0xe4]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x31dc], 0x41
push 3
push 0x1012a9fc
lea ecx, [esp + 0x22e4]
mov dword [esp + 0x22fc], edi
mov dword [esp + 0x22f8], ebx
mov byte [esp + 0x22e8], bl
call fcn.10007110
push esi
lea eax, [esp + 0x22e0]
push eax
lea ecx, [esp + 0x231c]
push ecx
mov byte [esp + 0x31e8], 0x42
call fcn.1000a250
add esp, 0xc
push eax
lea edx, [esp + 0x2334]
push edx
mov byte [esp + 0x31e4], 0x43
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x31e0], 0x44
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x31dc], 0x45
call fcn.1000a300
add esp, 0xc
mov dword [esp + 0x30], eax
push str.checksum_level:__d___battery_setting:__d__reset_key_setting:__d
lea edx, [esp + 0x210]
push edx
mov byte [esp + 0x31d8], 0x46
call fcn.10009db0
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x31d4], 0x47
call fcn.10011db0
lea edx, [esp + 0xfc]
add esp, 4
push edx
call fcn.10011db0
lea ecx, [esp + 0xa0]
add esp, 4
push ecx
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x22ec]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x31d0], 0x48
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
lea eax, [esp + 0x2db4]
push eax
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x31d0], 0x49
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x1002a1ff
mov edi, dword [edi + 4]
jmp 0x1002a202
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002a21c
mov eax, dword [eax + 4]
jmp 0x1002a21f
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0x2dac]
mov byte [esp + 0x31d0], 0x48
call fcn.10006cd0
cmp dword [esp + 0x2304], ebp
jb 0x1002a255
mov ecx, dword [esp + 0x22f0]
push ecx
call fcn.100d30aa
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x20c]
mov dword [esp + 0x2304], esi
mov dword [esp + 0x2300], ebx
mov byte [esp + 0x22f0], bl
call fcn.10003ab0
cmp dword [esp + 0x64], ebp
jb 0x1002a28e
mov edx, dword [esp + 0x50]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x84], ebp
jb 0x1002a2b0
mov eax, dword [esp + 0x70]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x233c], ebp
jb 0x1002a2db
mov ecx, dword [esp + 0x2328]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x233c], esi
mov dword [esp + 0x2338], ebx
mov byte [esp + 0x2328], bl
cmp dword [esp + 0x2320], ebp
jb 0x1002a309
mov edx, dword [esp + 0x230c]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x2320], esi
mov dword [esp + 0x231c], ebx
mov byte [esp + 0x230c], bl
cmp dword [esp + 0x22e8], ebp
jb 0x1002a337
mov eax, dword [esp + 0x22d4]
push eax
call fcn.100d30aa
add esp, 4
mov byte [esp + 0x31d0], 0x40
mov dword [esp + 0x22e8], esi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
cmp dword [esp + 0xd4], ebp
jb 0x1002a36d
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.100d30aa
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x1002a080
mov byte [esp + 0x31d0], 0xb
cmp eax, ebx
je 0x1002a392
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x3c], ebx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 1
mov dword [esp + 0x8c], edx
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x30]
push edx
mov esi, eax
call fcn.1000a3d0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
mov byte [esp + 0x31d0], 0x4a
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1002a3e5
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1002a761
lea edx, [esp + 0xe8]
mov dword [esp + 0x9c], edx
lea edx, [esp + 0xec]
mov dword [esp + 0xf8], edx
lea edx, [esp + 0xf0]
mov eax, 0x10014a20
mov ecx, 0x10014a30
mov dword [esp + 0x90], edx
lea edx, [esp + 0xf4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xfc], 0x1003ea30
mov dword [esp + 0x100], 0x1003ea40
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x2dac], edx
mov dword [esp + 0x2db0], eax
mov dword [esp + 0x2db4], ecx
jmp 0x1002a480
push 0x1012a9d4
push str.1500
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.100062e0
lea esi, [esp + 0xe4]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
push 0x1012a9fc
lea ecx, [esp + 0x22e0]
mov byte [esp + 0x31e0], 0x4b
call fcn.100062e0
push esi
push eax
lea eax, [esp + 0x231c]
push eax
mov byte [esp + 0x31e8], 0x4c
call fcn.1000a250
add esp, 0xc
push eax
lea ecx, [esp + 0x2334]
push ecx
mov byte [esp + 0x31e4], 0x4d
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x31e0], 0x4e
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x31dc], 0x4f
call fcn.1000a300
add esp, 0xc
mov dword [esp + 0x8c], eax
push str.connect_da_end_stage:__d___enable_dram_in_1st_da:__d__da_log_level:__d__da_log_channel:__d
lea ecx, [esp + 0x210]
push ecx
mov byte [esp + 0x31d8], 0x50
call fcn.10009db0
lea edx, [esp + 0x9c]
push edx
mov byte [esp + 0x31d4], 0x51
call fcn.10011db0
lea ecx, [esp + 0xfc]
add esp, 4
push ecx
call fcn.10011db0
lea edx, [esp + 0x94]
add esp, 4
push edx
call fcn.10011db0
lea ecx, [esp + 0x2db0]
add esp, 4
push ecx
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x22ec]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x31d0], 0x52
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x31d0], 0x53
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x1002a5e4
mov edi, dword [edi + 4]
jmp 0x1002a5e7
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002a604
mov eax, dword [eax + 4]
jmp 0x1002a607
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0xb0]
mov byte [esp + 0x31d0], 0x52
call fcn.10006cd0
cmp dword [esp + 0x2304], ebp
jb 0x1002a63d
mov ecx, dword [esp + 0x22f0]
push ecx
call fcn.100d30aa
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x20c]
mov dword [esp + 0x2304], esi
mov dword [esp + 0x2300], ebx
mov byte [esp + 0x22f0], bl
call fcn.10003ab0
cmp dword [esp + 0x64], ebp
jb 0x1002a676
mov edx, dword [esp + 0x50]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x84], ebp
jb 0x1002a698
mov eax, dword [esp + 0x70]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x233c], ebp
jb 0x1002a6c3
mov ecx, dword [esp + 0x2328]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x233c], esi
mov dword [esp + 0x2338], ebx
mov byte [esp + 0x2328], bl
cmp dword [esp + 0x2320], ebp
jb 0x1002a6f1
mov edx, dword [esp + 0x230c]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x2320], esi
mov dword [esp + 0x231c], ebx
mov byte [esp + 0x230c], bl
cmp dword [esp + 0x22e8], ebp
jb 0x1002a71f
mov eax, dword [esp + 0x22d4]
push eax
call fcn.100d30aa
add esp, 4
mov byte [esp + 0x31d0], 0x4a
mov dword [esp + 0x22e8], esi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
cmp dword [esp + 0xd4], ebp
jb 0x1002a755
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.100d30aa
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x1002a480
mov byte [esp + 0x31d0], 0xb
cmp eax, ebx
je 0x1002a77a
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x160]
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xe0]
push eax
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [ecx]
lea eax, [esp + 0x254c]
push eax
push edx
call dword [sym.imp.FlashtoollibEx.dll_flashtool_connect_da]
mov dword [esp + 0x38], eax
cmp eax, ebx
jne 0x1002bed6
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
lea eax, [esp + 0x2cc]
push eax
push edx
call dword [sym.imp.FlashtoollibEx.dll_flashtool_get_device_info]
mov dword [esp + 0x38], eax
cmp eax, ebx
jne 0x1002bed6
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x234c]
push eax
push ecx
call sym.Flashtoollib.dll_FlashTool_GetDAReport
movzx edx, word [esp + 0x3d4]
push edx
lea eax, [esp + 0x2dc0]
push str.MT_04X
push eax
call fcn.100d223d
add esp, 0xc
xor eax, eax
mov cl, byte [esp + eax + 0x2dbc]
mov byte [esp + eax + 0x2354], cl
inc eax
cmp cl, bl
jne 0x1002a811
lea ecx, [esp + 0x2354]
push ecx
call sym.Flashtoollib.dll_BBChipTypeFromBBChipName
mov dx, word [esp + 0x3d8]
mov cx, word [esp + 0x3d4]
mov dword [esp + 0x2350], eax
mov ax, word [esp + 0x3da]
mov word [esp + 0x2376], ax
mov eax, 2
mov dword [esp + 0x237c], eax
mov dword [esp + 0x23f4], eax
mov eax, dword [esp + 0x3d0]
mov word [esp + 0x2374], dx
mov edx, dword [esp + 0x3cc]
mov word [esp + 0x2378], cx
mov ecx, dword [esp + 0x3b4]
mov dword [esp + 0x2400], eax
mov eax, 0xc6a
mov dword [esp + 0x23fc], edx
mov dword [esp + 0x23ec], ecx
mov dword [esp + 0x2468], eax
mov dword [esp + 0x23a8], eax
mov dword [esp + 0x2384], eax
mov dword [esp + 0x24c4], eax
mov dword [esp + 0x24e4], eax
mov dword [esp + 0x23f0], eax
cmp dword [esp + 0x3bc], ebx
je 0x1002a8e4
mov dword [esp + 0x23f0], ebx
cmp dword [esp + 0x2cc], 1
jne 0x1002b155
mov edx, dword [esp + 0x2d4]
mov eax, dword [esp + 0x2d8]
mov ecx, dword [esp + 0x2dc]
mov dword [esp + 0x246c], edx
mov edx, dword [esp + 0x2e0]
mov dword [esp + 0x2470], eax
mov eax, dword [esp + 0x2e4]
mov dword [esp + 0x2474], ecx
mov ecx, dword [esp + 0x2e8]
mov dword [esp + 0x2478], edx
mov edx, dword [esp + 0x2ec]
mov dword [esp + 0x247c], eax
mov eax, dword [esp + 0x2f0]
mov dword [esp + 0x2480], ecx
mov ecx, dword [esp + 0x2f4]
mov dword [esp + 0x2484], edx
mov edx, dword [esp + 0x2f8]
mov dword [esp + 0x2488], eax
mov eax, dword [esp + 0x2fc]
mov dword [esp + 0x248c], ecx
mov ecx, dword [esp + 0x300]
mov dword [esp + 0x2490], edx
mov edx, dword [esp + 0x304]
mov dword [esp + 0x2494], eax
mov eax, dword [esp + 0x308]
mov dword [esp + 0x2498], ecx
mov ecx, dword [esp + 0x30c]
mov dword [esp + 0x249c], edx
mov edx, dword [esp + 0x310]
mov dword [esp + 0x24a0], eax
mov dword [esp + 0x24a4], ecx
xor eax, eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2468], ebx
mov dword [esp + 0x68], 2
mov dword [esp + 0x24a8], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + eax*4 + 0x314]
mov dword [esp + eax*4 + 0x24ac], edx
mov dword [esp + 0x8c], 1
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
mov esi, eax
call fcn.1000a3d0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov dword [eax], ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x31d0], 0x54
call fcn.10002f90
cmp dword [esp + 0x34], ebx
je 0x1002ad51
mov eax, 0x10014a20
mov ecx, 0x10014a30
lea edx, [esp + 0x2c]
mov dword [esp + 0x2dac], edx
mov dword [esp + 0x2db0], eax
mov dword [esp + 0x2db4], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
jmp 0x1002aa80
push 0x1012a9d4
push str.1615
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.100062e0
lea esi, [esp + 0xe4]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
push 0x1012a9fc
lea ecx, [esp + 0x22e0]
mov byte [esp + 0x31e0], 0x55
call fcn.100062e0
push esi
push eax
lea eax, [esp + 0x231c]
push eax
mov byte [esp + 0x31e8], 0x56
call fcn.1000a250
add esp, 0xc
push eax
lea ecx, [esp + 0x2334]
push ecx
mov byte [esp + 0x31e4], 0x57
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x31e0], 0x58
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x31dc], 0x59
call fcn.1000a300
add esp, 0xc
mov dword [esp + 0xd8], eax
push str.m_emmc_cid__d_:_0x_x
lea ecx, [esp + 0x210]
push ecx
mov byte [esp + 0x31d8], 0x5a
call fcn.10009db0
lea edx, [esp + 0x2dac]
push edx
mov byte [esp + 0x31d4], 0x5b
call fcn.10011db0
mov ecx, dword [esp + 0x30]
lea edx, [esp + ecx*4 + 0x24b0]
lea ecx, [esp + 0xa0]
add esp, 4
push ecx
mov dword [esp + 0xa0], edx
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x22ec]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x31d0], 0x5c
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x31d0], 0x5d
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x1002abd6
mov edi, dword [edi + 4]
jmp 0x1002abd9
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002abf6
mov eax, dword [eax + 4]
jmp 0x1002abf9
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0xb0]
mov byte [esp + 0x31d0], 0x5c
call fcn.10006cd0
cmp dword [esp + 0x2304], ebp
jb 0x1002ac2f
mov ecx, dword [esp + 0x22f0]
push ecx
call fcn.100d30aa
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x20c]
mov dword [esp + 0x2304], esi
mov dword [esp + 0x2300], ebx
mov byte [esp + 0x22f0], bl
call fcn.10003ab0
cmp dword [esp + 0x64], ebp
jb 0x1002ac68
mov edx, dword [esp + 0x50]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x84], ebp
jb 0x1002ac8a
mov eax, dword [esp + 0x70]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x233c], ebp
jb 0x1002acb5
mov ecx, dword [esp + 0x2328]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x233c], esi
mov dword [esp + 0x2338], ebx
mov byte [esp + 0x2328], bl
cmp dword [esp + 0x2320], ebp
jb 0x1002ace3
mov edx, dword [esp + 0x230c]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x2320], esi
mov dword [esp + 0x231c], ebx
mov byte [esp + 0x230c], bl
cmp dword [esp + 0x22e8], ebp
jb 0x1002ad11
mov eax, dword [esp + 0x22d4]
push eax
call fcn.100d30aa
add esp, 4
mov byte [esp + 0x31d0], 0x54
mov dword [esp + 0x22e8], esi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
cmp dword [esp + 0xd4], ebp
jb 0x1002ad47
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.100d30aa
add esp, 4
cmp dword [esp + 0x34], ebx
jne 0x1002aa80
lea ecx, [esp + 0x34]
mov byte [esp + 0x31d0], 0xb
call fcn.10002f90
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, 4
jb 0x1002a9f2
xor eax, eax
lea edx, [esp + 0xd8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x8c], edx
jmp 0x1002ad90
mov cl, byte [esp + eax + 0x324]
mov byte [esp + eax + 0x24bc], cl
mov dword [esp + 0xd8], 1
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x24]
push ecx
mov esi, eax
call fcn.1000a3d0
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov dword [eax], ebx
mov byte [esp + 0x31d0], 0x5e
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1002ade9
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x1002b12a
lea eax, [esp + 0x28]
mov dword [esp + 0x2dac], eax
mov eax, 0x10014a20
mov ecx, 0x10014a30
lea edx, [esp + 0x48]
mov dword [esp + 0x2db0], eax
mov dword [esp + 0x2db4], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x28]
movzx ecx, byte [esp + eax + 0x24bc]
push 0x1012a9d4
push str.1621
push str.__line:
sub esp, 0x1c
mov dword [esp + 0x70], ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x1c
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov byte [ecx + 4], bl
call fcn.10007110
lea esi, [esp + 0xe4]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x31dc], 0x5f
push 3
push 0x1012a9fc
lea ecx, [esp + 0x22e4]
mov dword [esp + 0x22fc], edi
mov dword [esp + 0x22f8], ebx
mov byte [esp + 0x22e8], bl
call fcn.10007110
push esi
lea edx, [esp + 0x22e0]
push edx
lea eax, [esp + 0x231c]
push eax
mov byte [esp + 0x31e8], 0x60
call fcn.1000a250
add esp, 0xc
push eax
lea ecx, [esp + 0x2334]
push ecx
mov byte [esp + 0x31e4], 0x61
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x31e0], 0x62
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x31dc], 0x63
call fcn.1000a300
add esp, 0xc
mov dword [esp + 0x18], eax
push str.m_emmc_fwver__d_:_0x_x
lea ecx, [esp + 0x210]
push ecx
mov byte [esp + 0x31d8], 0x64
call fcn.10009db0
lea edx, [esp + 0x2dac]
push edx
mov byte [esp + 0x31d4], 0x65
call fcn.10011db0
lea ecx, [esp + 0xa0]
add esp, 4
push ecx
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x22ec]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x31d0], 0x66
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x31d0], 0x67
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x1002afb0
mov edi, dword [edi + 4]
jmp 0x1002afb3
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002afcd
mov eax, dword [eax + 4]
jmp 0x1002afd0
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0xb0]
mov byte [esp + 0x31d0], 0x66
call fcn.10006cd0
cmp dword [esp + 0x2304], ebp
jb 0x1002b006
mov ecx, dword [esp + 0x22f0]
push ecx
call fcn.100d30aa
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x20c]
mov dword [esp + 0x2304], esi
mov dword [esp + 0x2300], ebx
mov byte [esp + 0x22f0], bl
call fcn.10003ab0
cmp dword [esp + 0x64], ebp
jb 0x1002b03f
mov edx, dword [esp + 0x50]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x84], ebp
jb 0x1002b061
mov eax, dword [esp + 0x70]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x233c], ebp
jb 0x1002b08c
mov ecx, dword [esp + 0x2328]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x233c], esi
mov dword [esp + 0x2338], ebx
mov byte [esp + 0x2328], bl
cmp dword [esp + 0x2320], ebp
jb 0x1002b0ba
mov edx, dword [esp + 0x230c]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x2320], esi
mov dword [esp + 0x231c], ebx
mov byte [esp + 0x230c], bl
cmp dword [esp + 0x22e8], ebp
jb 0x1002b0e8
mov eax, dword [esp + 0x22d4]
push eax
call fcn.100d30aa
add esp, 4
mov byte [esp + 0x31d0], 0x5e
mov dword [esp + 0x22e8], esi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
cmp dword [esp + 0xd4], ebp
jb 0x1002b11e
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.100d30aa
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x1002ae31
mov byte [esp + 0x31d0], 0xb
cmp eax, ebx
je 0x1002b143
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, 8
jb 0x1002ad90
cmp dword [esp + 0x2cc], 2
jne 0x1002b1c2
mov edx, dword [esp + 0x30c]
mov eax, dword [esp + 0x310]
mov ecx, dword [esp + 0x314]
mov dword [esp + 0x24cc], edx
mov edx, dword [esp + 0x318]
mov dword [esp + 0x24d0], eax
mov eax, dword [esp + 0x31c]
mov dword [esp + 0x24d4], ecx
mov ecx, dword [esp + 0x320]
mov dword [esp + 0x24c4], ebx
mov dword [esp + 0x68], 3
mov dword [esp + 0x24d8], edx
mov dword [esp + 0x24dc], eax
mov dword [esp + 0x24e0], ecx
mov edx, dword [esp + 0x32c]
and dl, 0xf0
cmp dl, 0x10
jne 0x1002b22e
mov ecx, dword [esp + 0x330]
mov eax, dword [esp + 0x334]
xor edx, edx
div ecx
mov edx, dword [esp + 0x340]
mov word [esp + 0x23de], cx
mov ecx, dword [esp + 0x33c]
mov dword [esp + 0x23a8], ebx
mov dword [esp + 0x68], 1
mov dword [esp + 0x23b4], ecx
mov dword [esp + 0x23b8], edx
mov word [esp + 0x23e2], ax
mov ax, word [esp + 0x338]
mov word [esp + 0x23e0], ax
mov eax, dword [esp + 0x35c]
cmp eax, 0x21
je 0x1002b23f
cmp eax, 0x22
jne 0x1002b258
mov eax, dword [esp + 0x364]
mov dword [esp + 0x2384], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x2394], eax
cmp dword [esp + 0x36c], 0x30
jne 0x1002b2c5
mov ecx, dword [esp + 0x374]
mov edx, dword [esp + 0x378]
mov eax, dword [esp + 0x37c]
mov dword [esp + 0x24ec], ecx
mov ecx, dword [esp + 0x380]
mov dword [esp + 0x24f0], edx
mov edx, dword [esp + 0x384]
mov dword [esp + 0x24f4], eax
mov eax, dword [esp + 0x388]
mov dword [esp + 0x24e4], ebx
mov dword [esp + 0x68], 4
mov dword [esp + 0x24f8], ecx
mov dword [esp + 0x24fc], edx
mov dword [esp + 0x2500], eax
mov ecx, dword [esp + 0x3e0]
mov edx, dword [esp + 0x3e4]
mov eax, dword [esp + 0x3e8]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x2454], ecx
mov ecx, dword [esp + 0x3ec]
mov dword [esp + 0x2458], edx
mov dword [esp + 0x2460], ecx
lea edx, [esp + 0x234c]
mov dword [esp + 0x245c], eax
mov ecx, 0x72
lea esi, [esp + 0x234c]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.100233d0
mov eax, dword [0x1015c9ec]
add esp, 4
cmp eax, ebx
je 0x1002b34c
push 0x1012f0ac
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1002b34c
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x234c]
push ecx
push edx
call eax
jmp 0x1002b351
mov eax, 0xc001000c
mov dword [esp + 0x38], eax
cmp eax, ebx
jne 0x1002bed6
mov eax, dword [esp + 0x40]
cmp dword [eax + 0xa4], 2
jne 0x1002bb37
cmp dword [esp + 0x31dc], ebx
je 0x1002bb37
cmp dword [esp + 0x68], 5
jne 0x1002b60b
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 4
mov dword [esp + 0x18], ecx
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x4c]
push ecx
mov esi, eax
call fcn.1000a3d0
mov edx, dword [eax]
mov dword [esp + 0x40], edx
mov dword [eax], ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x31d0], 0x68
call fcn.10002f90
cmp dword [esp + 0x40], ebx
je 0x1002b5ed
push 0x1012a9d4
push str.1678
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.100062e0
lea esi, [esp + 0xe4]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
push 0x1012a9fc
lea ecx, [esp + 0x2318]
mov byte [esp + 0x31e0], 0x69
call fcn.100062e0
push esi
push eax
lea eax, [esp + 0x2338]
push eax
mov byte [esp + 0x31e8], 0x6a
call fcn.1000a250
add esp, 0xc
push eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x31e4], 0x6b
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x31e0], 0x6c
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0x22f4]
push eax
mov byte [esp + 0x31dc], 0x6d
call fcn.1000a300
add esp, 0xc
mov edi, eax
mov byte [esp + 0x31d0], 0x6e
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0xb8]
push edx
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x31d0], 0x6f
mov esi, dword [eax + 4]
push 0x1a
add esi, 4
push str.device_storage_init_fail__
mov ecx, esi
call fcn.10008750
mov eax, dword [edi + 0x14]
cmp dword [edi + 0x18], ebp
jb 0x1002b4cc
mov edi, dword [edi + 4]
jmp 0x1002b4cf
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0xb0]
mov byte [esp + 0x31d0], 0x6e
call fcn.10006cd0
cmp dword [esp + 0x2304], ebp
jb 0x1002b505
mov eax, dword [esp + 0x22f0]
push eax
call fcn.100d30aa
add esp, 4
mov esi, 0xf
mov dword [esp + 0x2304], esi
mov dword [esp + 0x2300], ebx
mov byte [esp + 0x22f0], bl
cmp dword [esp + 0x64], ebp
jb 0x1002b532
mov ecx, dword [esp + 0x50]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x84], ebp
jb 0x1002b554
mov edx, dword [esp + 0x70]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x233c], ebp
jb 0x1002b57f
mov eax, dword [esp + 0x2328]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x233c], esi
mov dword [esp + 0x2338], ebx
mov byte [esp + 0x2328], bl
cmp dword [esp + 0x2320], ebp
jb 0x1002b5ad
mov ecx, dword [esp + 0x230c]
push ecx
call fcn.100d30aa
add esp, 4
mov byte [esp + 0x31d0], 0x68
mov dword [esp + 0x2320], esi
mov dword [esp + 0x231c], ebx
mov byte [esp + 0x230c], bl
cmp dword [esp + 0xd4], ebp
jb 0x1002b5e3
mov edx, dword [esp + 0xc0]
push edx
call fcn.100d30aa
add esp, 4
cmp dword [esp + 0x40], ebx
jne 0x1002b3d1
lea ecx, [esp + 0x40]
mov byte [esp + 0x31d0], 0xb
call fcn.10002f90
mov dword [esp + 0x38], 0xc0040009
jmp 0x1002bed6
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x2dac]
push eax
push esi
mov byte [esp + 0x2db4], bl
mov dword [esp + 0x2db5], ebx
mov dword [esp + 0x2db9], ebx
mov dword [esp + 0x2dbd], ebx
mov word [esp + 0x2dc1], bx
mov byte [esp + 0x2dc3], bl
call sym.Flashtoollib.dll_DL_GetScatterVersion
lea ecx, [esp + 0x2dac]
push 0x1012c910
push ecx
call fcn.100d32b0
add esp, 8
test eax, eax
jne 0x1002bb37
lea edx, [esp + 0x2324]
push edx
push esi
call sym.Flashtoollib.dll_DL_GetPlatformInfo
mov dword [esp + 0x38], eax
cmp eax, ebx
je 0x1002b895
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 4
mov dword [esp + 0x18], eax
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x4c]
push edx
mov esi, eax
call fcn.1000a3d0
push eax
lea ecx, [esp + 0x20]
call fcn.10002f70
lea ecx, [esp + 0x48]
mov byte [esp + 0x31d0], 0x70
call fcn.10002f90
cmp dword [esp + 0x1c], ebx
je 0x1002b87f
lea esp, [esp]
push 0x1012a9d4
push str.1693
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.100062e0
lea esi, [esp + 0x94]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
push 0x1012a9fc
lea ecx, [esp + 0x5c]
mov byte [esp + 0x31e0], 0x71
call fcn.100062e0
push esi
push eax
lea eax, [esp + 0x2300]
push eax
mov byte [esp + 0x31e8], 0x72
call fcn.1000a250
add esp, 0xc
push eax
lea ecx, [esp + 0xcc]
push ecx
mov byte [esp + 0x31e4], 0x73
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0x18c]
push edx
mov byte [esp + 0x31e0], 0x74
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0x14c]
push eax
mov byte [esp + 0x31dc], 0x75
call fcn.1000a300
add esp, 0xc
mov edi, eax
push str.DL_GetPlatformInfo_failed._0x_x_
lea ecx, [esp + 0x210]
push ecx
mov byte [esp + 0x31d8], 0x76
call fcn.10009db0
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x31d4], 0x77
call fcn.1003c9c0
lea edx, [esp + 0x128]
mov ecx, eax
call fcn.10009eb0
mov ebp, eax
mov byte [esp + 0x31d0], 0x78
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x31d0], 0x79
mov esi, dword [eax + 4]
add esi, 4
mov eax, ebp
call fcn.1000a590
mov esi, eax
mov eax, edi
call fcn.1000a590
lea ecx, [esp + 0xb0]
mov byte [esp + 0x31d0], 0x78
call fcn.10006cd0
lea ecx, [esp + 0x128]
call fcn.10006350
lea edi, [esp + 0x20c]
call fcn.10003ab0
lea ecx, [esp + 0x144]
call fcn.10006350
lea ecx, [esp + 0x180]
call fcn.10006350
lea ecx, [esp + 0xbc]
call fcn.10006350
lea ecx, [esp + 0x22ec]
call fcn.10006350
lea ecx, [esp + 0x4c]
call fcn.10006350
lea ecx, [esp + 0x6c]
mov byte [esp + 0x31d0], 0x70
call fcn.10006350
cmp dword [esp + 0x1c], ebx
jne 0x1002b6d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x31d0], 0xb
call fcn.10002f90
jmp 0x1002bed6
mov eax, dword [esp + 0x2348]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x20], eax
cmp eax, esi
je 0x1002bb37
push 0x1ff
lea ecx, [esp + 0x2fc9]
push ebx
push ecx
mov byte [esp + 0x2fd0], bl
call fcn.100d8b30
add esp, 0xc
push esi
call sym.Flashtoollib.dll_HWStorageTypeToString
mov edx, dword [esp + 0x20]
push eax
push edx
call sym.Flashtoollib.dll_HWStorageTypeToString
push eax
lea eax, [esp + 0x2fcc]
push str.Storage_type_mismatch__n_scatter:__t_s_n_device:__t_s
push eax
call fcn.100d223d
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
add esp, 0x10
lea ecx, [esp + 0x2fc4]
push ecx
push eax
call dword [sym.imp.FlashtoollibEx.dll__flashtool_set_last_errmsg_8]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 4
mov dword [esp + 0x18], ecx
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x4c]
push ecx
mov esi, eax
call fcn.1000a3d0
push eax
lea ecx, [esp + 0x20]
call fcn.10002f70
lea ecx, [esp + 0x48]
mov byte [esp + 0x31d0], 0x7a
call fcn.10002f90
cmp dword [esp + 0x1c], ebx
je 0x1002bb19
jmp 0x1002b960
push 0x1012a9d4
push str.1705
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.100062e0
lea esi, [esp + 0x94]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
push 0x1012a9fc
lea ecx, [esp + 0x5c]
mov byte [esp + 0x31e0], 0x7b
call fcn.100062e0
push esi
push eax
lea edx, [esp + 0x2300]
push edx
mov byte [esp + 0x31e8], 0x7c
call fcn.1000a250
add esp, 0xc
push eax
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x31e4], 0x7d
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0x18c]
push ecx
mov byte [esp + 0x31e0], 0x7e
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0x14c]
push edx
mov byte [esp + 0x31dc], 0x7f
call fcn.1000a300
add esp, 0xc
mov edi, eax
push str.Storage_check_failed.__scatter:_x___device:0x_x__
lea eax, [esp + 0x210]
push eax
mov byte [esp + 0x31d8], 0x80
call fcn.10009db0
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x31d4], 0x81
call fcn.1003cee0
push eax
lea eax, [esp + 0x6c]
call fcn.1003cee0
lea edx, [esp + 0x128]
mov ecx, eax
call fcn.10009eb0
mov ebp, eax
mov byte [esp + 0x31d0], 0x82
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0xb8]
push edx
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x31d0], 0x83
mov esi, dword [eax + 4]
add esi, 4
mov eax, ebp
call fcn.1000a590
mov esi, eax
mov eax, edi
call fcn.1000a590
lea ecx, [esp + 0xb0]
mov byte [esp + 0x31d0], 0x82
call fcn.10006cd0
lea ecx, [esp + 0x128]
call fcn.10006350
lea edi, [esp + 0x20c]
call fcn.10003ab0
lea ecx, [esp + 0x144]
call fcn.10006350
lea ecx, [esp + 0x180]
call fcn.10006350
lea ecx, [esp + 0xbc]
call fcn.10006350
lea ecx, [esp + 0x22ec]
call fcn.10006350
lea ecx, [esp + 0x4c]
call fcn.10006350
lea ecx, [esp + 0x6c]
mov byte [esp + 0x31d0], 0x7a
call fcn.10006350
cmp dword [esp + 0x1c], ebx
jne 0x1002b960
lea ecx, [esp + 0x1c]
mov byte [esp + 0x31d0], 0xb
call fcn.10002f90
mov dword [esp + 0x38], 0xc0030006
jmp 0x1002bed6
lea eax, [esp + 0x2518]
push eax
mov dword [esp + 0x31d4], 0xffffffff
call fcn.10053a90
xor eax, eax
jmp 0x1002bf04
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 4
mov dword [esp + 0x18], ecx
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
push ecx
mov esi, eax
call fcn.1000a3d0
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
mov dword [eax], ebx
mov byte [esp + 0x31d0], 0x20
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1002bba3
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1002beb9
lea eax, [esp + 0x2b8c]
mov dword [esp + 0x2dac], eax
mov dword [esp + 0x2db0], 0x1003eb80
mov dword [esp + 0x2db4], 0x1003eb90
jmp 0x1002bbe0
push 0x1012a9d4
push str.1404
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x1c
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov byte [ecx + 4], bl
call fcn.10007110
lea esi, [esp + 0xe4]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x31dc], 0x21
push 3
push 0x1012a9fc
lea ecx, [esp + 0x22e4]
mov dword [esp + 0x22fc], edi
mov dword [esp + 0x22f8], ebx
mov byte [esp + 0x22e8], bl
call fcn.10007110
push esi
lea ecx, [esp + 0x22e0]
push ecx
lea edx, [esp + 0x231c]
push edx
mov byte [esp + 0x31e8], 0x22
call fcn.1000a250
add esp, 0xc
push eax
lea eax, [esp + 0x2334]
push eax
mov byte [esp + 0x31e4], 0x23
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x31e0], 0x24
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x31dc], 0x25
call fcn.1000a300
add esp, 0xc
mov dword [esp + 0x18], eax
push str.da_source_type:__d_NOT_support
lea eax, [esp + 0x210]
push eax
mov byte [esp + 0x31d8], 0x26
call fcn.10009db0
lea ecx, [esp + 0x2dac]
push ecx
mov byte [esp + 0x31d4], 0x27
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x22ec]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x31d0], 0x28
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x31d0], 0x29
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x1002bd3f
mov edi, dword [edi + 4]
jmp 0x1002bd42
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002bd5c
mov eax, dword [eax + 4]
jmp 0x1002bd5f
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0xb0]
mov byte [esp + 0x31d0], 0x28
call fcn.10006cd0
cmp dword [esp + 0x2304], ebp
jb 0x1002bd95
mov ecx, dword [esp + 0x22f0]
push ecx
call fcn.100d30aa
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x20c]
mov dword [esp + 0x2304], esi
mov dword [esp + 0x2300], ebx
mov byte [esp + 0x22f0], bl
call fcn.10003ab0
cmp dword [esp + 0x64], ebp
jb 0x1002bdce
mov edx, dword [esp + 0x50]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x84], ebp
jb 0x1002bdf0
mov eax, dword [esp + 0x70]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
cmp dword [esp + 0x233c], ebp
jb 0x1002be1b
mov ecx, dword [esp + 0x2328]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x233c], esi
mov dword [esp + 0x2338], ebx
mov byte [esp + 0x2328], bl
cmp dword [esp + 0x2320], ebp
jb 0x1002be49
mov edx, dword [esp + 0x230c]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x2320], esi
mov dword [esp + 0x231c], ebx
mov byte [esp + 0x230c], bl
cmp dword [esp + 0x22e8], ebp
jb 0x1002be77
mov eax, dword [esp + 0x22d4]
push eax
call fcn.100d30aa
add esp, 4
mov byte [esp + 0x31d0], 0x20
mov dword [esp + 0x22e8], esi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
cmp dword [esp + 0xd4], ebp
jb 0x1002bead
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.100d30aa
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x1002bbe0
mov byte [esp + 0x31d0], 0xb
cmp eax, ebx
je 0x1002bece
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x38], 0xc0070002
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
push eax
call dword [sym.imp.FlashtoollibEx.dll_flashtool_destroy_session]
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x2518]
push ecx
mov dword [esp + 0x31d4], 0xffffffff
call fcn.10053a90
mov eax, esi
mov ecx, dword [esp + 0x31c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x31b0]
xor ecx, esp
call fcn.100d21d1
add esp, 0x31c0
ret 8