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

Disassembly:
push 0xffffffffffffffff
push 0x101203b7
mov eax, dword fs:[0]
push eax
mov eax, 0x344c
call fcn.100dd860
mov eax, dword [0x10159df0]
xor eax, esp
mov dword [esp + 0x3448], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10159df0]
xor eax, esp
push eax
lea eax, [esp + 0x3460]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3470]
sub esp, 0x1c
mov dword [esp + 0x34], esp
mov dword [esp + 0x60], eax
mov eax, esp
push 0x1012d9f4
push str.1386
push str.__line:
sub esp, 0x1c
mov dword [esp + 0x8c], ecx
mov ecx, esp
mov dword [esp + 0x78], 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 + 0x84], edx
mov ebp, 1
mov byte [ecx + 4], bl
mov dword [esp + 0x68], eax
call fcn.10007180
lea esi, [esp + 0x1ec]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
mov dword [esp + 0x3490], ebx
push 3
push 0x1012da1c
lea ecx, [esp + 0x164]
mov dword [esp + 0x17c], edi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
call fcn.10007180
push esi
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x210]
push ecx
mov byte [esp + 0x349c], 1
call fcn.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0x1b8]
push edx
mov byte [esp + 0x3498], 2
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x1ec]
push eax
mov byte [esp + 0x3494], 3
call fcn.1000a390
add esp, 0xc
push eax
mov byte [esp + 0x348c], 4
mov eax, dword [esp + 0x40]
push eax
call fcn.1000a390
sub esp, 0x10
mov byte [esp + 0x34a0], 5
mov ecx, esp
mov dword [esp + 0x6c], 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.10007180
mov ecx, ebp
lea ebx, [esp + 0x25e8]
mov byte [esp + 0x34a0], 4
call fcn.10055ee0
mov ebp, 0x10
cmp dword [esp + 0x1dc], ebp
jb 0x10029ace
mov ecx, dword [esp + 0x1c8]
push ecx
call fcn.100d541a
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x1dc], esi
mov dword [esp + 0x1d8], ebx
mov byte [esp + 0x1c8], bl
cmp dword [esp + 0x1a4], ebp
jb 0x10029b03
mov edx, dword [esp + 0x190]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x1a0], ebx
mov byte [esp + 0x190], bl
cmp dword [esp + 0x1f8], ebp
jb 0x10029b31
mov eax, dword [esp + 0x1e4]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0x1f8], esi
mov dword [esp + 0x1f4], ebx
mov byte [esp + 0x1e4], bl
cmp dword [esp + 0x14c], ebp
jb 0x10029b5f
mov ecx, dword [esp + 0x138]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x14c], esi
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
mov byte [esp + 0x3468], 0xb
cmp dword [esp + 0x1c0], ebp
jb 0x10029b95
mov edx, dword [esp + 0x1ac]
push edx
call fcn.100d541a
add esp, 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c0], esi
mov dword [esp + 0x1bc], ebx
mov byte [esp + 0x1ac], bl
mov dword [esp + 0x1c], 1
mov dword [esp + 0x2c], eax
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
mov esi, eax
call fcn.1000a460
mov ecx, dword [eax]
mov dword [esp + 0x88], ecx
mov dword [eax], ebx
mov byte [esp + 0x3468], 0xc
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10029bfa
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x10029f15
lea edx, [esp + 0x3474]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], 0x10040570
mov dword [esp + 0x84], 0x10040580
lea ebx, [ebx]
push 0x1012d9f4
push str.1387
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.10007180
lea esi, [esp + 0xb4]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3474], 0xd
push 3
push 0x1012da1c
lea ecx, [esp + 0x22d0]
mov dword [esp + 0x22e8], edi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
call fcn.10007180
push esi
lea eax, [esp + 0x22cc]
push eax
lea ecx, [esp + 0x22ec]
push ecx
mov byte [esp + 0x3480], 0xe
call fcn.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0x2320]
push edx
mov byte [esp + 0x347c], 0xf
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x2300]
push eax
mov byte [esp + 0x3478], 0x10
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0x2334]
push ecx
mov byte [esp + 0x3474], 0x11
call fcn.1000a390
add esp, 0xc
mov dword [esp + 0x2c], eax
push str.bCheckScatter:__d
lea edx, [esp + 0x200]
push edx
mov byte [esp + 0x3470], 0x12
call fcn.10009e40
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x346c], 0x13
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x54]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x3468], 0x14
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x88]
push edx
push eax
lea eax, [esp + 0x2e4c]
push eax
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x15
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x10029d92
mov edi, dword [edi + 4]
jmp 0x10029d95
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x10029daf
mov eax, dword [eax + 4]
jmp 0x10029db2
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x2e44]
mov byte [esp + 0x3468], 0x14
call fcn.10006d40
cmp dword [esp + 0x6c], ebp
jb 0x10029de2
mov ecx, dword [esp + 0x58]
push ecx
call fcn.100d541a
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x1fc]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.10003aa0
cmp dword [esp + 0x2344], ebp
jb 0x10029e18
mov edx, dword [esp + 0x2330]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x230c], ebp
jb 0x10029e46
mov eax, dword [esp + 0x22f8]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2328], ebp
jb 0x10029e74
mov ecx, dword [esp + 0x2314]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x22f0], ebp
jb 0x10029ea2
mov edx, dword [esp + 0x22dc]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x22f0], esi
mov dword [esp + 0x22ec], ebx
mov byte [esp + 0x22dc], bl
cmp dword [esp + 0x22d4], ebp
jb 0x10029ed0
mov eax, dword [esp + 0x22c0]
push eax
call fcn.100d541a
add esp, 4
mov byte [esp + 0x3468], 0xc
mov dword [esp + 0x22d4], esi
mov dword [esp + 0x22d0], ebx
mov byte [esp + 0x22c0], bl
cmp dword [esp + 0xa4], ebp
jb 0x10029f06
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d541a
add esp, 4
mov eax, dword [esp + 0x88]
cmp eax, ebx
jne 0x10029c30
mov esi, dword [esp + 0x44]
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x10029f35
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x88], ebx
push 0x1ff
lea edx, [esp + 0x3061]
push ebx
push edx
mov byte [esp + 0x3068], bl
call fcn.100daea0
mov eax, dword [esi + 0x9c]
mov edi, dword [esi + 0x64]
mov dword [esp + 0x20], eax
mov eax, dword [0x1015f9ec]
add esp, 0xc
mov dword [esp + 0x40], edi
cmp eax, ebx
je 0x10029f89
push 0x10131f40
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10029f89
lea ecx, [esp + 0x2a04]
push ecx
push edi
call eax
jmp 0x10029f8e
mov eax, 0xc001000c
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x12c]
mov dword [esp + 0x130], edx
mov dword [esp + 0x16c], ecx
lea edx, [esp + 0x2c2c]
lea ecx, [esp + 0x27ec]
mov dword [esp + 0x28], eax
mov byte [esp + 0x2e54], bl
mov dword [esp + 0x2e55], ebx
mov word [esp + 0x2e59], bx
mov byte [esp + 0x2e5b], bl
mov dword [esp + 0x12c], esi
mov dword [esp + 0x170], 0x10023980
mov dword [esp + 0x174], 0x100239b0
mov dword [esp + 0x178], 0x10023a00
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x184], ebx
mov dword [esp + 0x188], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov byte [esp + 0x23], bl
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], 5
cmp eax, ebx
jne 0x1002d019
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], edx
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
mov esi, eax
call fcn.1000a460
mov ecx, dword [eax]
mov dword [esp + 0xa8], ecx
mov dword [eax], ebx
mov byte [esp + 0x3468], 0x16
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1002a0be
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x1002a3d5
lea edx, [esp + 0x2c24]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], 0x100405a0
mov dword [esp + 0x84], 0x100405b0
mov edi, edi
push 0x1012d9f4
push str.1416
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.10007180
lea esi, [esp + 0xb4]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3474], 0x17
push 3
push 0x1012da1c
lea ecx, [esp + 0x22d0]
mov dword [esp + 0x22e8], edi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
call fcn.10007180
push esi
lea eax, [esp + 0x22cc]
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x3480], 0x18
call fcn.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0x233c]
push edx
mov byte [esp + 0x347c], 0x19
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x2300]
push eax
mov byte [esp + 0x3478], 0x1a
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0x2318]
push ecx
mov byte [esp + 0x3474], 0x1b
call fcn.1000a390
add esp, 0xc
mov dword [esp + 0x30], eax
push str.da_source_type:__d
lea edx, [esp + 0x200]
push edx
mov byte [esp + 0x3470], 0x1c
call fcn.10009e40
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x346c], 0x1d
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x22d8]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x3468], 0x1e
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0xa8]
push edx
push eax
lea eax, [esp + 0x2e4c]
push eax
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x1f
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x1002a252
mov edi, dword [edi + 4]
jmp 0x1002a255
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002a26f
mov eax, dword [eax + 4]
jmp 0x1002a272
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x2e44]
mov byte [esp + 0x3468], 0x1e
call fcn.10006d40
cmp dword [esp + 0x22f0], ebp
jb 0x1002a2a8
mov ecx, dword [esp + 0x22dc]
push ecx
call fcn.100d541a
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x1fc]
mov dword [esp + 0x22f0], esi
mov dword [esp + 0x22ec], ebx
mov byte [esp + 0x22dc], bl
call fcn.10003aa0
cmp dword [esp + 0x2328], ebp
jb 0x1002a2e7
mov edx, dword [esp + 0x2314]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002a315
mov eax, dword [esp + 0x22f8]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002a343
mov ecx, dword [esp + 0x2330]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002a36b
mov edx, dword [esp + 0x58]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002a390
mov eax, dword [esp + 0x22c0]
push eax
call fcn.100d541a
add esp, 4
mov byte [esp + 0x3468], 0x16
mov dword [esp + 0x22d4], esi
mov dword [esp + 0x22d0], ebx
mov byte [esp + 0x22c0], bl
cmp dword [esp + 0xa4], ebp
jb 0x1002a3c6
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d541a
add esp, 4
mov eax, dword [esp + 0xa8]
cmp eax, ebx
jne 0x1002a0f0
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x1002a3f1
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0xa8], ebx
mov eax, dword [esp + 0x2c24]
cmp eax, ebx
jne 0x1002a457
mov dword [esp + 0x25d4], ebx
xor eax, eax
jmp 0x1002a410
mov cl, byte [esp + eax + 0x2a04]
mov byte [esp + eax + 0x25d8], cl
inc eax
cmp cl, bl
jne 0x1002a410
lea edi, [esp + 0x25d8]
call fcn.10056dd0
test al, al
je 0x1002a483
mov edi, dword [esp + 0x40]
mov dword [esp + 0x25d4], 2
call fcn.1001c710
mov dword [esp + 0x27d8], eax
mov dword [esp + 0x27dc], edx
jmp 0x1002a483
cmp eax, 1
jne 0x1002cc97
mov edx, dword [esp + 0x2b08]
mov dword [esp + 0x25d4], eax
mov eax, dword [esp + 0x2b0c]
mov dword [esp + 0x27e4], edx
mov dword [esp + 0x27e8], eax
mov eax, dword [0x1015f9ec]
cmp eax, ebx
je 0x1002a4aa
push 0x101322c8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1002a4aa
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x23]
push ecx
push esi
call eax
jmp 0x1002a4b3
mov esi, dword [esp + 0x14]
mov eax, 0xc001000c
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x1002d019
cmp dword [esp + 0x3474], ebx
je 0x1002aa36
push 0x1ff
lea edx, [esp + 0x2e61]
push ebx
push edx
mov byte [esp + 0x2e68], bl
call fcn.100daea0
add esp, 0xc
lea eax, [esp + 0x2e5c]
push eax
push esi
call sym.Flashtoollib.dll_DL_Get_ScatterFilePath
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x1002d019
lea ecx, [esp + 0x22bc]
push ecx
lea ecx, [esp + 0x2e60]
call fcn.1003e520
lea ecx, [esp + 0x22bc]
mov byte [esp + 0x3468], 0x2a
call fcn.100c2a60
lea edx, [esp + 0x8c]
push edx
call fcn.1003e5d0
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x22c0]
push ecx
lea edx, [esp + 0x22fc]
push edx
mov byte [esp + 0x3474], 0x2b
call fcn.1001a6e0
add esp, 0xc
lea ecx, [esp + 0x8c]
mov byte [esp + 0x3468], 0x2d
call fcn.100031c0
lea eax, [esp + 0x22f4]
push eax
call fcn.1001a7c0
add esp, 4
test al, al
je 0x1002a781
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], ecx
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x34]
push ecx
mov esi, eax
call fcn.1000a460
mov edx, dword [eax]
mov dword [esp + 0x40], edx
mov dword [eax], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x3468], 0x2e
call fcn.10002f90
cmp dword [esp + 0x40], ebx
je 0x1002a767
jmp 0x1002a5e0
push 0x1012d9f4
push str.1465
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.10006340
lea esi, [esp + 0x11c]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
push 0x1012da1c
lea ecx, [esp + 0x120]
mov byte [esp + 0x3478], 0x2f
call fcn.10006340
push esi
push eax
lea eax, [esp + 0x164]
push eax
mov byte [esp + 0x3480], 0x30
call fcn.1000a2e0
add esp, 0xc
push eax
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0x347c], 0x31
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0x2338]
push edx
mov byte [esp + 0x3478], 0x32
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x22e0]
push eax
mov byte [esp + 0x3474], 0x33
call fcn.1000a390
add esp, 0xc
mov edi, eax
mov byte [esp + 0x3468], 0x34
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x2e4c]
push edx
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x35
mov ecx, dword [eax + 4]
add ecx, 4
push str.enable_PCDRAM_checksum
call fcn.10006de0
mov esi, eax
mov eax, edi
call fcn.1000a640
lea ecx, [esp + 0x2e44]
mov byte [esp + 0x3468], 0x34
call fcn.10006d40
cmp dword [esp + 0x22f0], ebp
jb 0x1002a703
mov eax, dword [esp + 0x22dc]
push eax
call fcn.100d541a
add esp, 4
lea ecx, [esp + 0x232c]
mov dword [esp + 0x22f0], 0xf
mov dword [esp + 0x22ec], ebx
mov byte [esp + 0x22dc], bl
call fcn.100063b0
lea ecx, [esp + 0x54]
call fcn.100063b0
lea ecx, [esp + 0x150]
call fcn.100063b0
lea ecx, [esp + 0x110]
call fcn.100063b0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x3468], 0x2e
call fcn.100063b0
cmp dword [esp + 0x40], ebx
jne 0x1002a5e0
lea ecx, [esp + 0x40]
mov byte [esp + 0x3468], 0x2d
call fcn.10002f90
or byte [esp + 0x23], 4
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x305c]
push ecx
push esi
call sym.Flashtoollib.dll_DL_Get_PreloaderFilePath
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x1002a7b4
lea ecx, [esp + 0x22f4]
call fcn.100031c0
lea ecx, [esp + 0x22bc]
call fcn.100031c0
jmp 0x1002d019
lea edx, [esp + 0x305c]
push str.preloader
push edx
call fcn.100d5620
add esp, 8
test eax, eax
jne 0x1002a895
lea eax, [esp + 0x232c]
push eax
call fcn.1003e680
lea ecx, [esp + 0x232c]
push ecx
lea edx, [esp + 0x22c0]
push edx
lea eax, [esp + 0x22e0]
push eax
mov byte [esp + 0x3474], 0x36
call fcn.1001a6e0
add esp, 0xc
lea ecx, [esp + 0x232c]
mov byte [esp + 0x3468], 0x38
call fcn.100031c0
lea ecx, [esp + 0x22d8]
push ecx
call fcn.1001a7c0
add esp, 4
test al, al
je 0x1002a881
push 0x200
lea edx, [esp + 0x3060]
push ebx
push edx
call fcn.100daea0
add esp, 0xc
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x22dc]
call fcn.100030b0
push 0x1ff
mov ecx, eax
call fcn.100064b0
push eax
lea ecx, [esp + 0x3064]
push ecx
call fcn.100d56b0
add esp, 0xc
lea ecx, [esp + 0xf4]
call fcn.100063b0
lea ecx, [esp + 0x22d8]
mov byte [esp + 0x3468], 0x2d
call fcn.100031c0
mov dword [esp + 0x2c2c], ebx
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x305c]
mov byte [esp + eax + 0x2c30], cl
inc eax
cmp cl, bl
jne 0x1002a8a0
lea edi, [esp + 0x305c]
call fcn.10056dd0
test al, al
je 0x1002a8e3
mov edi, esi
mov dword [esp + 0x2c2c], 2
call fcn.1001c660
mov dword [esp + 0x2e30], eax
mov dword [esp + 0x2e34], edx
lea edx, [esp + 0x232c]
push edx
call fcn.1003e7e0
lea eax, [esp + 0x22d8]
push eax
mov byte [esp + 0x346c], 0x39
call fcn.1003e730
lea ecx, [esp + 0x22d8]
push ecx
lea edx, [esp + 0x22c0]
push edx
lea eax, [esp + 0xfc]
push eax
mov byte [esp + 0x3474], 0x3a
call fcn.1001a6e0
add esp, 0xc
lea ecx, [esp + 0x232c]
push ecx
push eax
lea edx, [esp + 0x2318]
push edx
mov byte [esp + 0x3474], 0x3b
call fcn.1001a6e0
add esp, 0xc
lea ecx, [esp + 0xf4]
call fcn.100031c0
lea ecx, [esp + 0x22d8]
call fcn.100031c0
lea ecx, [esp + 0x232c]
mov byte [esp + 0x3468], 0x3f
call fcn.100031c0
lea eax, [esp + 0x2310]
push eax
call fcn.1001a7c0
add esp, 4
test al, al
je 0x1002aa04
lea ecx, [esp + 0x110]
push ecx
lea ecx, [esp + 0x2314]
mov dword [esp + 0x27f0], ebx
call fcn.100030b0
push 0x1ff
mov ecx, eax
call fcn.100064b0
push eax
lea edx, [esp + 0x27f8]
push edx
call fcn.100d56b0
add esp, 0xc
lea ecx, [esp + 0x110]
call fcn.100063b0
lea edi, [esp + 0x27f0]
call fcn.10056dd0
test al, al
je 0x1002aa08
mov edi, esi
mov dword [esp + 0x27ec], 2
call fcn.1001c660
mov dword [esp + 0x29f0], eax
mov dword [esp + 0x29f4], edx
jmp 0x1002aa08
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x2310]
call fcn.100031c0
lea ecx, [esp + 0x22f4]
call fcn.100031c0
lea ecx, [esp + 0x22bc]
mov byte [esp + 0x3468], 0xb
call fcn.100031c0
jmp 0x1002aa3e
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
push eax
call ecx
movzx edx, byte [esp + 0x23]
movzx eax, byte [esi + 0xa0]
movzx ecx, byte [esi + 0xa1]
mov dword [esp + 0xbc], edx
mov edx, dword [esi + 0xa4]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0xa8]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esi + 0xac]
mov dword [esp + 0xc8], edx
mov edx, dword [esi + 0xb0]
mov dword [esp + 0xcc], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], ecx
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x28]
push ecx
mov esi, eax
call fcn.1000a460
mov edx, dword [eax]
mov dword [esp + 0x40], edx
mov dword [eax], ebx
mov byte [esp + 0x3468], 0x40
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1002ab01
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x1002ae6f
lea eax, [esp + 0xbc]
lea edx, [esp + 0xc0]
mov ecx, 0x10014af0
mov dword [esp + 0x7c], eax
mov eax, 0x10014ae0
mov dword [esp + 0xe8], edx
lea edx, [esp + 0xc4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
jmp 0x1002ab70
push 0x1012d9f4
push str.1530
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.10007180
lea esi, [esp + 0xb4]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3474], 0x41
push 3
push 0x1012da1c
lea ecx, [esp + 0x22d0]
mov dword [esp + 0x22e8], edi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
call fcn.10007180
push esi
lea eax, [esp + 0x22cc]
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x3480], 0x42
call fcn.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0x233c]
push edx
mov byte [esp + 0x347c], 0x43
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x2300]
push eax
mov byte [esp + 0x3478], 0x44
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0x2318]
push ecx
mov byte [esp + 0x3474], 0x45
call fcn.1000a390
add esp, 0xc
mov dword [esp + 0x30], eax
push str.checksum_level:__d___battery_setting:__d__reset_key_setting:__d
lea edx, [esp + 0x200]
push edx
mov byte [esp + 0x3470], 0x46
call fcn.10009e40
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x346c], 0x47
call fcn.10011e90
lea edx, [esp + 0xec]
add esp, 4
push edx
call fcn.10011e90
lea ecx, [esp + 0xe0]
add esp, 4
push ecx
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x22d8]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x3468], 0x48
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
lea eax, [esp + 0x2e4c]
push eax
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x49
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x1002acef
mov edi, dword [edi + 4]
jmp 0x1002acf2
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002ad0c
mov eax, dword [eax + 4]
jmp 0x1002ad0f
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x2e44]
mov byte [esp + 0x3468], 0x48
call fcn.10006d40
cmp dword [esp + 0x22f0], ebp
jb 0x1002ad45
mov ecx, dword [esp + 0x22dc]
push ecx
call fcn.100d541a
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x1fc]
mov dword [esp + 0x22f0], esi
mov dword [esp + 0x22ec], ebx
mov byte [esp + 0x22dc], bl
call fcn.10003aa0
cmp dword [esp + 0x2328], ebp
jb 0x1002ad84
mov edx, dword [esp + 0x2314]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002adb2
mov eax, dword [esp + 0x22f8]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002ade0
mov ecx, dword [esp + 0x2330]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002ae08
mov edx, dword [esp + 0x58]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002ae2d
mov eax, dword [esp + 0x22c0]
push eax
call fcn.100d541a
add esp, 4
mov byte [esp + 0x3468], 0x40
mov dword [esp + 0x22d4], esi
mov dword [esp + 0x22d0], ebx
mov byte [esp + 0x22c0], bl
cmp dword [esp + 0xa4], ebp
jb 0x1002ae63
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d541a
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x1002ab70
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x1002ae88
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x40], ebx
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x50], edx
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x28]
push edx
mov esi, eax
call fcn.1000a460
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov dword [eax], ebx
mov byte [esp + 0x3468], 0x4a
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1002aed5
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1002b26e
lea edx, [esp + 0xc8]
mov dword [esp + 0xdc], edx
lea edx, [esp + 0xcc]
mov dword [esp + 0xe8], edx
lea edx, [esp + 0xd0]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0xd4]
mov eax, 0x10014ae0
mov ecx, 0x10014af0
mov dword [esp + 0xac], edx
lea edx, [esp + 0xd8]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xec], 0x10040430
mov dword [esp + 0xf0], 0x10040440
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x2e44], edx
mov dword [esp + 0x2e48], eax
mov dword [esp + 0x2e4c], ecx
lea esp, [esp]
push 0x1012d9f4
push str.1533
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.10006340
lea esi, [esp + 0xb4]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
push 0x1012da1c
lea ecx, [esp + 0x22cc]
mov byte [esp + 0x3478], 0x4b
call fcn.10006340
push esi
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x3480], 0x4c
call fcn.1000a2e0
add esp, 0xc
push eax
lea ecx, [esp + 0x233c]
push ecx
mov byte [esp + 0x347c], 0x4d
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0x2300]
push edx
mov byte [esp + 0x3478], 0x4e
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x2318]
push eax
mov byte [esp + 0x3474], 0x4f
call fcn.1000a390
add esp, 0xc
mov dword [esp + 0x50], eax
push str.connect_da_end_stage:__d___enable_dram_in_1st_da:__d__da_log_level:__d__da_log_channel:__d__ufs_provision:__d
lea ecx, [esp + 0x200]
push ecx
mov byte [esp + 0x3470], 0x50
call fcn.10009e40
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x346c], 0x51
call fcn.10011e90
lea ecx, [esp + 0xec]
add esp, 4
push ecx
call fcn.10011e90
lea edx, [esp + 0x80]
add esp, 4
push edx
call fcn.10011e90
lea ecx, [esp + 0xb0]
add esp, 4
push ecx
call fcn.10011e90
lea edx, [esp + 0x2e48]
add esp, 4
push edx
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x22d8]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x3468], 0x52
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x53
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x1002b0f1
mov edi, dword [edi + 4]
jmp 0x1002b0f4
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002b10e
mov eax, dword [eax + 4]
jmp 0x1002b111
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x70]
mov byte [esp + 0x3468], 0x52
call fcn.10006d40
cmp dword [esp + 0x22f0], ebp
jb 0x1002b144
mov eax, dword [esp + 0x22dc]
push eax
call fcn.100d541a
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x1fc]
mov dword [esp + 0x22f0], esi
mov dword [esp + 0x22ec], ebx
mov byte [esp + 0x22dc], bl
call fcn.10003aa0
cmp dword [esp + 0x2328], ebp
jb 0x1002b183
mov ecx, dword [esp + 0x2314]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002b1b1
mov edx, dword [esp + 0x22f8]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002b1df
mov eax, dword [esp + 0x2330]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002b207
mov ecx, dword [esp + 0x58]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002b22c
mov edx, dword [esp + 0x22c0]
push edx
call fcn.100d541a
add esp, 4
mov byte [esp + 0x3468], 0x4a
mov dword [esp + 0x22d4], esi
mov dword [esp + 0x22d0], ebx
mov byte [esp + 0x22c0], bl
cmp dword [esp + 0xa4], ebp
jb 0x1002b262
mov eax, dword [esp + 0x90]
push eax
call fcn.100d541a
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x1002af80
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x1002b287
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x16c]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xc0]
push edx
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x25e4]
push edx
push ecx
call dword [sym.imp.FlashtoollibEx.dll_flashtool_connect_da]
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x1002d019
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
lea edx, [esp + 0x2bc]
push edx
push ecx
call dword [sym.imp.FlashtoollibEx.dll_flashtool_get_device_info]
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x1002d019
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x2354]
push edx
push eax
call sym.Flashtoollib.dll_FlashTool_GetDAReport
movzx ecx, word [esp + 0x464]
push ecx
lea edx, [esp + 0x2e58]
push str.MT_04X
push edx
call fcn.100d45ad
add esp, 0xc
xor eax, eax
jmp 0x1002b320
mov cl, byte [esp + eax + 0x2e54]
mov byte [esp + eax + 0x235c], cl
inc eax
cmp cl, bl
jne 0x1002b320
lea eax, [esp + 0x235c]
push eax
call sym.Flashtoollib.dll_BBChipTypeFromBBChipName
mov cx, word [esp + 0x468]
mov dx, word [esp + 0x46a]
mov dword [esp + 0x2358], eax
mov ax, word [esp + 0x464]
mov word [esp + 0x2380], ax
mov eax, 2
mov dword [esp + 0x2384], eax
mov dword [esp + 0x23fc], eax
mov eax, dword [esp + 0x444]
mov word [esp + 0x237c], cx
mov ecx, dword [esp + 0x45c]
mov word [esp + 0x237e], dx
mov edx, dword [esp + 0x460]
mov dword [esp + 0x23f4], eax
mov eax, 0xc6a
mov dword [esp + 0x2404], ecx
mov dword [esp + 0x2408], edx
mov dword [esp + 0x2470], eax
mov dword [esp + 0x23b0], eax
mov dword [esp + 0x238c], eax
mov dword [esp + 0x24cc], eax
mov dword [esp + 0x24ec], eax
mov dword [esp + 0x23f8], eax
cmp dword [esp + 0x44c], ebx
je 0x1002b3f3
mov dword [esp + 0x23f8], ebx
cmp dword [esp + 0x2bc], 1
jne 0x1002bc67
mov ecx, dword [esp + 0x2c4]
mov edx, dword [esp + 0x2c8]
mov eax, dword [esp + 0x2cc]
mov dword [esp + 0x2474], ecx
mov ecx, dword [esp + 0x2d0]
mov dword [esp + 0x2478], edx
mov edx, dword [esp + 0x2d4]
mov dword [esp + 0x247c], eax
mov eax, dword [esp + 0x2d8]
mov dword [esp + 0x2480], ecx
mov ecx, dword [esp + 0x2dc]
mov dword [esp + 0x2484], edx
mov edx, dword [esp + 0x2e0]
mov dword [esp + 0x2488], eax
mov eax, dword [esp + 0x2e4]
mov dword [esp + 0x248c], ecx
mov ecx, dword [esp + 0x2e8]
mov dword [esp + 0x2490], edx
mov edx, dword [esp + 0x2ec]
mov dword [esp + 0x2494], eax
mov eax, dword [esp + 0x2f0]
mov dword [esp + 0x2498], ecx
mov ecx, dword [esp + 0x2f4]
mov dword [esp + 0x249c], edx
mov edx, dword [esp + 0x2f8]
mov dword [esp + 0x24a0], eax
mov eax, dword [esp + 0x2fc]
mov dword [esp + 0x24a4], ecx
mov ecx, dword [esp + 0x300]
mov dword [esp + 0x24a8], edx
mov dword [esp + 0x24ac], eax
xor eax, eax
lea edx, [esp + 0x50]
mov dword [esp + 0x2470], ebx
mov dword [esp + 0x4c], 2
mov dword [esp + 0x24b0], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
mov edi, edi
mov ecx, dword [esp + eax*4 + 0x304]
mov dword [esp + eax*4 + 0x24b4], ecx
mov dword [esp + 0x50], 1
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
push ecx
mov esi, eax
call fcn.1000a460
mov edx, dword [eax]
mov dword [esp + 0x3c], edx
mov dword [eax], ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3468], 0x54
call fcn.10002f90
cmp dword [esp + 0x3c], ebx
je 0x1002b864
lea eax, [esp + 0x24]
mov dword [esp + 0x2e44], eax
mov eax, 0x10014ae0
mov ecx, 0x10014af0
mov dword [esp + 0x2e48], eax
mov dword [esp + 0x2e4c], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
jmp 0x1002b590
push 0x1012d9f4
push str.1648
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.10006340
lea esi, [esp + 0xb4]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
push 0x1012da1c
lea ecx, [esp + 0x22cc]
mov byte [esp + 0x3478], 0x55
call fcn.10006340
push esi
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x3480], 0x56
call fcn.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0x233c]
push edx
mov byte [esp + 0x347c], 0x57
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x2300]
push eax
mov byte [esp + 0x3478], 0x58
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0x2318]
push ecx
mov byte [esp + 0x3474], 0x59
call fcn.1000a390
add esp, 0xc
mov dword [esp + 0xb8], eax
push str.m_emmc_cid__d_:_0x_x
lea edx, [esp + 0x200]
push edx
mov byte [esp + 0x3470], 0x5a
call fcn.10009e40
lea ecx, [esp + 0x2e44]
push ecx
mov byte [esp + 0x346c], 0x5b
call fcn.10011e90
mov edx, dword [esp + 0x28]
lea ecx, [esp + edx*4 + 0x24b8]
lea edx, [esp + 0xb0]
add esp, 4
push edx
mov dword [esp + 0xb0], ecx
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x22d8]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x3468], 0x5c
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x5d
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x1002b6e6
mov edi, dword [edi + 4]
jmp 0x1002b6e9
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002b706
mov eax, dword [eax + 4]
jmp 0x1002b709
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x70]
mov byte [esp + 0x3468], 0x5c
call fcn.10006d40
cmp dword [esp + 0x22f0], ebp
jb 0x1002b73c
mov eax, dword [esp + 0x22dc]
push eax
call fcn.100d541a
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x1fc]
mov dword [esp + 0x22f0], esi
mov dword [esp + 0x22ec], ebx
mov byte [esp + 0x22dc], bl
call fcn.10003aa0
cmp dword [esp + 0x2328], ebp
jb 0x1002b77b
mov ecx, dword [esp + 0x2314]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002b7a9
mov edx, dword [esp + 0x22f8]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002b7d7
mov eax, dword [esp + 0x2330]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002b7ff
mov ecx, dword [esp + 0x58]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002b824
mov edx, dword [esp + 0x22c0]
push edx
call fcn.100d541a
add esp, 4
mov byte [esp + 0x3468], 0x54
mov dword [esp + 0x22d4], esi
mov dword [esp + 0x22d0], ebx
mov byte [esp + 0x22c0], bl
cmp dword [esp + 0xa4], ebp
jb 0x1002b85a
mov eax, dword [esp + 0x90]
push eax
call fcn.100d541a
add esp, 4
cmp dword [esp + 0x3c], ebx
jne 0x1002b590
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3468], 0xb
call fcn.10002f90
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, 4
jb 0x1002b500
xor eax, eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
jmp 0x1002b8a0
mov dl, byte [esp + eax + 0x314]
mov byte [esp + eax + 0x24c4], dl
mov dword [esp + 0xb8], 1
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x20]
push edx
mov esi, eax
call fcn.1000a460
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov dword [eax], ebx
mov byte [esp + 0x3468], 0x5e
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1002b8f6
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x1002bc3c
lea edx, [esp + 0x2c]
mov dword [esp + 0x2e44], edx
mov eax, 0x10014ae0
mov ecx, 0x10014af0
lea edx, [esp + 0x34]
mov dword [esp + 0x2e48], eax
mov dword [esp + 0x2e4c], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov edi, edi
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + eax + 0x24c4]
push 0x1012d9f4
push str.1654
push str.__line:
sub esp, 0x1c
mov dword [esp + 0x5c], 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.10007180
lea esi, [esp + 0xb4]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3474], 0x5f
push 3
push 0x1012da1c
lea ecx, [esp + 0x22d0]
mov dword [esp + 0x22e8], edi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
call fcn.10007180
push esi
lea edx, [esp + 0x22cc]
push edx
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x3480], 0x60
call fcn.1000a2e0
add esp, 0xc
push eax
lea ecx, [esp + 0x233c]
push ecx
mov byte [esp + 0x347c], 0x61
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0x2300]
push edx
mov byte [esp + 0x3478], 0x62
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x2318]
push eax
mov byte [esp + 0x3474], 0x63
call fcn.1000a390
add esp, 0xc
mov dword [esp + 0x18], eax
push str.m_emmc_fwver__d_:_0x_x
lea ecx, [esp + 0x200]
push ecx
mov byte [esp + 0x3470], 0x64
call fcn.10009e40
lea edx, [esp + 0x2e44]
push edx
mov byte [esp + 0x346c], 0x65
call fcn.10011e90
lea ecx, [esp + 0xb0]
add esp, 4
push ecx
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x22d8]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x3468], 0x66
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x67
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x1002babf
mov edi, dword [edi + 4]
jmp 0x1002bac2
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002badc
mov eax, dword [eax + 4]
jmp 0x1002badf
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x70]
mov byte [esp + 0x3468], 0x66
call fcn.10006d40
cmp dword [esp + 0x22f0], ebp
jb 0x1002bb12
mov ecx, dword [esp + 0x22dc]
push ecx
call fcn.100d541a
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x1fc]
mov dword [esp + 0x22f0], esi
mov dword [esp + 0x22ec], ebx
mov byte [esp + 0x22dc], bl
call fcn.10003aa0
cmp dword [esp + 0x2328], ebp
jb 0x1002bb51
mov edx, dword [esp + 0x2314]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002bb7f
mov eax, dword [esp + 0x22f8]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002bbad
mov ecx, dword [esp + 0x2330]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002bbd5
mov edx, dword [esp + 0x58]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002bbfa
mov eax, dword [esp + 0x22c0]
push eax
call fcn.100d541a
add esp, 4
mov byte [esp + 0x3468], 0x5e
mov dword [esp + 0x22d4], esi
mov dword [esp + 0x22d0], ebx
mov byte [esp + 0x22c0], bl
cmp dword [esp + 0xa4], ebp
jb 0x1002bc30
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d541a
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x1002b940
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x1002bc55
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, 8
jb 0x1002b8a0
cmp dword [esp + 0x2bc], 2
jne 0x1002bcd4
mov edx, dword [esp + 0x2fc]
mov eax, dword [esp + 0x300]
mov ecx, dword [esp + 0x304]
mov dword [esp + 0x24d4], edx
mov edx, dword [esp + 0x308]
mov dword [esp + 0x24d8], eax
mov eax, dword [esp + 0x30c]
mov dword [esp + 0x24dc], ecx
mov ecx, dword [esp + 0x310]
mov dword [esp + 0x24cc], ebx
mov dword [esp + 0x4c], 3
mov dword [esp + 0x24e0], edx
mov dword [esp + 0x24e4], eax
mov dword [esp + 0x24e8], ecx
mov edx, dword [esp + 0x324]
and dl, 0xf0
cmp dl, 0x10
jne 0x1002bd40
mov ecx, dword [esp + 0x328]
mov eax, dword [esp + 0x32c]
xor edx, edx
div ecx
mov edx, dword [esp + 0x338]
mov word [esp + 0x23e6], cx
mov ecx, dword [esp + 0x334]
mov dword [esp + 0x23b0], ebx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x23bc], ecx
mov dword [esp + 0x23c0], edx
mov word [esp + 0x23ea], ax
mov ax, word [esp + 0x330]
mov word [esp + 0x23e8], ax
mov eax, dword [esp + 0x354]
cmp eax, 0x21
je 0x1002bd51
cmp eax, 0x22
jne 0x1002bd6a
mov eax, dword [esp + 0x35c]
mov dword [esp + 0x238c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x239c], eax
cmp dword [esp + 0x364], 0x30
jne 0x1002be62
mov ecx, dword [esp + 0x36c]
mov edx, dword [esp + 0x370]
mov eax, dword [esp + 0x374]
mov dword [esp + 0x24f4], ecx
mov ecx, dword [esp + 0x378]
mov dword [esp + 0x2500], ecx
mov ecx, dword [esp + 0x386]
mov dword [esp + 0x24f8], edx
mov edx, dword [esp + 0x37c]
mov dword [esp + 0x24fc], eax
mov eax, dword [esp + 0x380]
mov dword [esp + 0x250e], ecx
mov ecx, dword [esp + 0x392]
mov dword [esp + 0x2504], edx
mov edx, dword [esp + 0x38a]
mov dword [esp + 0x2508], eax
mov eax, dword [esp + 0x38e]
mov dword [esp + 0x251a], ecx
mov ecx, dword [esp + 0x39e]
mov dword [esp + 0x2512], edx
mov edx, dword [esp + 0x396]
mov dword [esp + 0x2516], eax
mov eax, dword [esp + 0x39a]
mov dword [esp + 0x251e], edx
mov dx, word [esp + 0x384]
mov dword [esp + 0x2523], ecx
mov ecx, 0x21
lea esi, [esp + 0x3a2]
lea edi, [esp + 0x2524]
mov dword [esp + 0x24ec], ebx
mov dword [esp + 0x251f], eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x4c], 4
mov word [esp + 0x250c], dx
mov eax, dword [esp + 0x470]
mov ecx, dword [esp + 0x474]
mov edx, dword [esp + 0x478]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x245c], eax
mov eax, dword [esp + 0x47c]
mov dword [esp + 0x2460], ecx
mov dword [esp + 0x2464], edx
mov dword [esp + 0x2468], eax
mov ecx, 0x96
lea esi, [esp + 0x2354]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2354]
push ecx
call fcn.10023a30
mov eax, dword [0x1015f9ec]
add esp, 4
cmp eax, ebx
je 0x1002bee6
push 0x10132370
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1002bee6
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x2354]
push edx
push ecx
call eax
jmp 0x1002beeb
mov eax, 0xc001000c
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x1002d019
mov edx, dword [esp + 0x44]
cmp dword [edx + 0xa4], 2
jne 0x1002cc78
cmp dword [esp + 0x3474], ebx
je 0x1002cc78
cmp dword [esp + 0x4c], 5
jne 0x1002c1ad
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 4
mov dword [esp + 0x18], eax
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
mov esi, eax
call fcn.1000a460
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
mov dword [eax], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x3468], 0x68
call fcn.10002f90
cmp dword [esp + 0x44], ebx
je 0x1002c18f
jmp 0x1002bf70
push 0x1012d9f4
push str.1716
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.10006340
lea esi, [esp + 0xb4]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
push 0x1012da1c
lea ecx, [esp + 0x64]
mov byte [esp + 0x3478], 0x69
call fcn.10006340
push esi
push eax
lea edx, [esp + 0x2340]
push edx
mov byte [esp + 0x3480], 0x6a
call fcn.1000a2e0
add esp, 0xc
push eax
lea eax, [esp + 0x2304]
push eax
mov byte [esp + 0x347c], 0x6b
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0x231c]
push ecx
mov byte [esp + 0x3478], 0x6c
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0x22e0]
push edx
mov byte [esp + 0x3474], 0x6d
call fcn.1000a390
add esp, 0xc
mov edi, eax
mov byte [esp + 0x3468], 0x6e
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x6f
mov esi, dword [eax + 4]
push 0x1a
add esi, 4
push str.device_storage_init_fail__
mov ecx, esi
call fcn.100087d0
mov eax, dword [edi + 0x14]
cmp dword [edi + 0x18], ebp
jb 0x1002c06b
mov edi, dword [edi + 4]
jmp 0x1002c06e
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x70]
mov byte [esp + 0x3468], 0x6e
call fcn.10006d40
cmp dword [esp + 0x22f0], ebp
jb 0x1002c0a1
mov eax, dword [esp + 0x22dc]
push eax
call fcn.100d541a
add esp, 4
mov esi, 0xf
mov dword [esp + 0x22f0], esi
mov dword [esp + 0x22ec], ebx
mov byte [esp + 0x22dc], bl
cmp dword [esp + 0x2328], ebp
jb 0x1002c0d4
mov ecx, dword [esp + 0x2314]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002c102
mov edx, dword [esp + 0x22f8]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002c130
mov eax, dword [esp + 0x2330]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002c158
mov ecx, dword [esp + 0x58]
push ecx
call fcn.100d541a
add esp, 4
mov byte [esp + 0x3468], 0x68
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0xa4], ebp
jb 0x1002c185
mov edx, dword [esp + 0x90]
push edx
call fcn.100d541a
add esp, 4
cmp dword [esp + 0x44], ebx
jne 0x1002bf70
lea ecx, [esp + 0x44]
mov byte [esp + 0x3468], 0xb
call fcn.10002f90
mov dword [esp + 0x28], 0xc0040009
jmp 0x1002d019
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x2e44]
push eax
push edi
mov byte [esp + 0x2e4c], bl
mov dword [esp + 0x2e4d], ebx
mov dword [esp + 0x2e51], ebx
mov dword [esp + 0x2e55], ebx
mov word [esp + 0x2e59], bx
mov byte [esp + 0x2e5b], bl
call sym.Flashtoollib.dll_DL_GetScatterVersion
lea ecx, [esp + 0x2e44]
push 0x1012fa2c
push ecx
call fcn.100d5620
add esp, 8
test eax, eax
jne 0x1002c6da
lea edx, [esp + 0x232c]
push edx
push edi
call sym.Flashtoollib.dll_DL_GetPlatformInfo
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x1002c438
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 4
mov dword [esp + 0x18], eax
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
mov esi, eax
call fcn.1000a460
push eax
lea ecx, [esp + 0x18]
call fcn.10002f70
lea ecx, [esp + 0x34]
mov byte [esp + 0x3468], 0x70
call fcn.10002f90
cmp dword [esp + 0x14], ebx
je 0x1002c422
mov edi, edi
push 0x1012d9f4
push str.1731
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.10006340
lea esi, [esp + 0x231c]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
push 0x1012da1c
lea ecx, [esp + 0x2320]
mov byte [esp + 0x3478], 0x71
call fcn.10006340
push esi
push eax
lea eax, [esp + 0x22ec]
push eax
mov byte [esp + 0x3480], 0x72
call fcn.1000a2e0
add esp, 0xc
push eax
lea ecx, [esp + 0x9c]
push ecx
mov byte [esp + 0x347c], 0x73
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0x15c]
push edx
mov byte [esp + 0x3478], 0x74
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x118]
push eax
mov byte [esp + 0x3474], 0x75
call fcn.1000a390
add esp, 0xc
mov edi, eax
push str.DL_GetPlatformInfo_failed._0x_x_
lea ecx, [esp + 0x200]
push ecx
mov byte [esp + 0x3470], 0x76
call fcn.10009e40
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x346c], 0x77
call fcn.1003e340
lea edx, [esp + 0xf4]
mov ecx, eax
call fcn.10009f40
mov ebp, eax
mov byte [esp + 0x3468], 0x78
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x79
mov esi, dword [eax + 4]
add esi, 4
mov eax, ebp
call fcn.1000a640
mov esi, eax
mov eax, edi
call fcn.1000a640
lea ecx, [esp + 0x70]
mov byte [esp + 0x3468], 0x78
call fcn.10006d40
lea ecx, [esp + 0xf4]
call fcn.100063b0
lea edi, [esp + 0x1fc]
call fcn.10003aa0
lea ecx, [esp + 0x110]
call fcn.100063b0
lea ecx, [esp + 0x150]
call fcn.100063b0
lea ecx, [esp + 0x8c]
call fcn.100063b0
lea ecx, [esp + 0x22d8]
call fcn.100063b0
lea ecx, [esp + 0x2310]
call fcn.100063b0
lea ecx, [esp + 0x22f4]
mov byte [esp + 0x3468], 0x70
call fcn.100063b0
cmp dword [esp + 0x14], ebx
jne 0x1002c270
lea ecx, [esp + 0x14]
mov byte [esp + 0x3468], 0xb
call fcn.10002f90
jmp 0x1002d019
mov eax, dword [esp + 0x2350]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x1002c6da
push 0x1ff
lea ecx, [esp + 0x2e61]
push ebx
push ecx
mov byte [esp + 0x2e68], bl
call fcn.100daea0
add esp, 0xc
push esi
call sym.Flashtoollib.dll_HWStorageTypeToString
mov edx, dword [esp + 0x1c]
push eax
push edx
call sym.Flashtoollib.dll_HWStorageTypeToString
push eax
lea eax, [esp + 0x2e64]
push str.Storage_type_mismatch__n_scatter:__t_s_n_device:__t_s
push eax
call fcn.100d45ad
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
add esp, 0x10
lea ecx, [esp + 0x2e5c]
push ecx
push eax
call dword [sym.imp.FlashtoollibEx.dll__flashtool_set_last_errmsg_8]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 4
mov dword [esp + 0x18], ecx
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
push ecx
mov esi, eax
call fcn.1000a460
push eax
lea ecx, [esp + 0x18]
call fcn.10002f70
lea ecx, [esp + 0x34]
mov byte [esp + 0x3468], 0x7a
call fcn.10002f90
cmp dword [esp + 0x14], ebx
je 0x1002c6bc
jmp 0x1002c500
push 0x1012d9f4
push str.1743
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.10006340
lea esi, [esp + 0x231c]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
push 0x1012da1c
lea ecx, [esp + 0x2320]
mov byte [esp + 0x3478], 0x7b
call fcn.10006340
push esi
push eax
lea edx, [esp + 0x22ec]
push edx
mov byte [esp + 0x3480], 0x7c
call fcn.1000a2e0
add esp, 0xc
push eax
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x347c], 0x7d
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0x15c]
push ecx
mov byte [esp + 0x3478], 0x7e
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0x118]
push edx
mov byte [esp + 0x3474], 0x7f
call fcn.1000a390
add esp, 0xc
mov edi, eax
push str.Storage_check_failed.__scatter:_x___device:0x_x__
lea eax, [esp + 0x200]
push eax
mov byte [esp + 0x3470], 0x80
call fcn.10009e40
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x346c], 0x81
call fcn.1003e890
push eax
lea eax, [esp + 0x50]
call fcn.1003e890
lea edx, [esp + 0xf4]
mov ecx, eax
call fcn.10009f40
mov ebp, eax
mov byte [esp + 0x3468], 0x82
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x83
mov esi, dword [eax + 4]
add esi, 4
mov eax, ebp
call fcn.1000a640
mov esi, eax
mov eax, edi
call fcn.1000a640
lea ecx, [esp + 0x70]
mov byte [esp + 0x3468], 0x82
call fcn.10006d40
lea ecx, [esp + 0xf4]
call fcn.100063b0
lea edi, [esp + 0x1fc]
call fcn.10003aa0
lea ecx, [esp + 0x110]
call fcn.100063b0
lea ecx, [esp + 0x150]
call fcn.100063b0
lea ecx, [esp + 0x8c]
call fcn.100063b0
lea ecx, [esp + 0x22d8]
call fcn.100063b0
lea ecx, [esp + 0x2310]
call fcn.100063b0
lea ecx, [esp + 0x22f4]
mov byte [esp + 0x3468], 0x7a
call fcn.100063b0
cmp dword [esp + 0x14], ebx
jne 0x1002c500
lea ecx, [esp + 0x14]
mov byte [esp + 0x3468], 0xb
call fcn.10002f90
mov dword [esp + 0x28], 0xc0030006
jmp 0x1002d019
lea eax, [esp + 0x2e44]
push str.V1.1.8
push eax
call fcn.100d5620
add esp, 8
test eax, eax
je 0x1002cc78
lea ecx, [esp + 0x2e5c]
push ecx
push edi
call sym.Flashtoollib.dll_DL_GetScatterInfo
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x1002c928
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 4
mov dword [esp + 0x18], edx
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
mov esi, eax
call fcn.1000a460
push eax
lea ecx, [esp + 0x18]
call fcn.10002f70
lea ecx, [esp + 0x34]
mov byte [esp + 0x3468], 0x84
call fcn.10002f90
cmp dword [esp + 0x14], ebx
je 0x1002c912
mov edi, edi
push 0x1012d9f4
push str.1756
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.10006340
lea esi, [esp + 0x231c]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
push 0x1012da1c
lea ecx, [esp + 0x2320]
mov byte [esp + 0x3478], 0x85
call fcn.10006340
push esi
push eax
lea eax, [esp + 0x22ec]
push eax
mov byte [esp + 0x3480], 0x86
call fcn.1000a2e0
add esp, 0xc
push eax
lea ecx, [esp + 0x9c]
push ecx
mov byte [esp + 0x347c], 0x87
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0x15c]
push edx
mov byte [esp + 0x3478], 0x88
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x118]
push eax
mov byte [esp + 0x3474], 0x89
call fcn.1000a390
add esp, 0xc
mov edi, eax
push str.DL_GetScatterInfo_failed._0x_x_
lea ecx, [esp + 0x200]
push ecx
mov byte [esp + 0x3470], 0x8a
call fcn.10009e40
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x346c], 0x8b
call fcn.1003e340
lea edx, [esp + 0xf4]
mov ecx, eax
call fcn.10009f40
mov ebp, eax
mov byte [esp + 0x3468], 0x8c
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x8d
mov esi, dword [eax + 4]
add esi, 4
mov eax, ebp
call fcn.1000a640
mov esi, eax
mov eax, edi
call fcn.1000a640
lea ecx, [esp + 0x70]
mov byte [esp + 0x3468], 0x8c
call fcn.10006d40
lea ecx, [esp + 0xf4]
call fcn.100063b0
lea edi, [esp + 0x1fc]
call fcn.10003aa0
lea ecx, [esp + 0x110]
call fcn.100063b0
lea ecx, [esp + 0x150]
call fcn.100063b0
lea ecx, [esp + 0x8c]
call fcn.100063b0
lea ecx, [esp + 0x22d8]
call fcn.100063b0
lea ecx, [esp + 0x2310]
call fcn.100063b0
lea ecx, [esp + 0x22f4]
mov byte [esp + 0x3468], 0x84
call fcn.100063b0
cmp dword [esp + 0x14], ebx
jne 0x1002c760
lea ecx, [esp + 0x14]
mov byte [esp + 0x3468], 0xb
call fcn.10002f90
jmp 0x1002d019
cmp byte [esp + 0x3020], bl
je 0x1002cc78
lea ecx, [esp + 0x3021]
push ecx
lea ecx, [esp + 0x22c0]
call fcn.10006340
lea edx, [esp + 0x22bc]
push 0x1012d010
push edx
mov byte [esp + 0x3470], 0x8e
call fcn.1003def0
add esp, 8
test al, al
jne 0x1002cc5b
lea eax, [esp + 0x22bc]
push 0x1012fafc
push eax
call fcn.1003def0
add esp, 8
test al, al
jne 0x1002cc5b
lea ecx, [esp + 0x22bc]
push str.6177m
push ecx
call fcn.1003def0
add esp, 8
test al, al
je 0x1002c9b0
mov esi, dword [esp + 0x46c]
cmp esi, 1
jne 0x1002c9dd
lea edx, [esp + 0x22bc]
push str.6177
push edx
call fcn.1003def0
add esp, 8
test al, al
je 0x1002cc6c
mov esi, dword [esp + 0x46c]
cmp esi, 2
je 0x1002cc6c
push 0x1ff
lea eax, [esp + 0x3261]
push ebx
push eax
mov byte [esp + 0x3268], bl
call fcn.100daea0
add esp, 0xc
push esi
lea ecx, [esp + 0x22c0]
call fcn.100064b0
push eax
lea ecx, [esp + 0x3264]
push str.modem_mismtach__n_scatter:__t_s_n_device:__tV_d
push ecx
call fcn.100d45ad
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
add esp, 0x10
lea edx, [esp + 0x325c]
push edx
push ecx
call dword [sym.imp.FlashtoollibEx.dll__flashtool_set_last_errmsg_8]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 4
mov dword [esp + 0x18], edx
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
mov esi, eax
call fcn.1000a460
push eax
lea ecx, [esp + 0x18]
call fcn.10002f70
lea ecx, [esp + 0x34]
mov byte [esp + 0x3468], 0x8f
call fcn.10002f90
cmp dword [esp + 0x14], ebx
je 0x1002cc42
nop
push 0x1012d9f4
push str.1772
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.._adaptor_cflashtool_api.cpp
call fcn.10006340
lea esi, [esp + 0x231c]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
push 0x1012da1c
lea ecx, [esp + 0x2320]
mov byte [esp + 0x3478], 0x90
call fcn.10006340
push esi
push eax
lea eax, [esp + 0x22ec]
push eax
mov byte [esp + 0x3480], 0x91
call fcn.1000a2e0
add esp, 0xc
push eax
lea ecx, [esp + 0x9c]
push ecx
mov byte [esp + 0x347c], 0x92
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0x15c]
push edx
mov byte [esp + 0x3478], 0x93
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x118]
push eax
mov byte [esp + 0x3474], 0x94
call fcn.1000a390
add esp, 0xc
mov edi, eax
push str.modem_type_check_failed.__scatter:_s___device:0x_x__
lea ecx, [esp + 0x200]
push ecx
mov byte [esp + 0x3470], 0x95
call fcn.10009e40
push eax
lea eax, [esp + 0x22c0]
mov byte [esp + 0x346c], 0x96
call fcn.1003e490
push eax
lea eax, [esp + 0x470]
call fcn.1000a170
lea edx, [esp + 0xf4]
mov ecx, eax
call fcn.10009f40
mov ebp, eax
mov byte [esp + 0x3468], 0x97
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x98
mov esi, dword [eax + 4]
add esi, 4
mov eax, ebp
call fcn.1000a640
mov esi, eax
mov eax, edi
call fcn.1000a640
lea ecx, [esp + 0x70]
mov byte [esp + 0x3468], 0x97
call fcn.10006d40
lea ecx, [esp + 0xf4]
call fcn.100063b0
lea edi, [esp + 0x1fc]
call fcn.10003aa0
lea ecx, [esp + 0x110]
call fcn.100063b0
lea ecx, [esp + 0x150]
call fcn.100063b0
lea ecx, [esp + 0x8c]
call fcn.100063b0
lea ecx, [esp + 0x22d8]
call fcn.100063b0
lea ecx, [esp + 0x2310]
call fcn.100063b0
lea ecx, [esp + 0x22f4]
mov byte [esp + 0x3468], 0x8f
call fcn.100063b0
cmp dword [esp + 0x14], ebx
jne 0x1002ca80
lea ecx, [esp + 0x14]
mov byte [esp + 0x3468], 0x8e
call fcn.10002f90
mov dword [esp + 0x28], 0xc003000f
lea ecx, [esp + 0x22bc]
call fcn.100063b0
jmp 0x1002d019
lea ecx, [esp + 0x22bc]
call fcn.100063b0
lea ecx, [esp + 0x25b0]
push ecx
mov dword [esp + 0x346c], 0xffffffff
call fcn.10056180
xor eax, eax
jmp 0x1002d044
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 4
mov dword [esp + 0x18], edx
call fcn.1005ce90
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
mov esi, eax
call fcn.1000a460
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [eax], ebx
mov byte [esp + 0x3468], 0x20
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1002cce4
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1002cffc
lea edx, [esp + 0x2c24]
mov dword [esp + 0x2e44], edx
mov dword [esp + 0x2e48], 0x100405a0
mov dword [esp + 0x2e4c], 0x100405b0
jmp 0x1002cd20
push 0x1012d9f4
push str.1435
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.10007180
lea esi, [esp + 0xb4]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x3474], 0x21
push 3
push 0x1012da1c
lea ecx, [esp + 0x22d0]
mov dword [esp + 0x22e8], edi
mov dword [esp + 0x22e4], ebx
mov byte [esp + 0x22d4], bl
call fcn.10007180
push esi
lea eax, [esp + 0x22cc]
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x3480], 0x22
call fcn.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0x233c]
push edx
mov byte [esp + 0x347c], 0x23
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x2300]
push eax
mov byte [esp + 0x3478], 0x24
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0x2318]
push ecx
mov byte [esp + 0x3474], 0x25
call fcn.1000a390
add esp, 0xc
mov dword [esp + 0x18], eax
push str.da_source_type:__d_NOT_support
lea edx, [esp + 0x200]
push edx
mov byte [esp + 0x3470], 0x26
call fcn.10009e40
lea ecx, [esp + 0x2e44]
push ecx
mov byte [esp + 0x346c], 0x27
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x22d8]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x3468], 0x28
call fcn.1005ce90
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x3468], 0x29
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], ebp
jb 0x1002ce7f
mov edi, dword [edi + 4]
jmp 0x1002ce82
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], ebp
jb 0x1002ce9c
mov eax, dword [eax + 4]
jmp 0x1002ce9f
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x70]
mov byte [esp + 0x3468], 0x28
call fcn.10006d40
cmp dword [esp + 0x22f0], ebp
jb 0x1002ced2
mov ecx, dword [esp + 0x22dc]
push ecx
call fcn.100d541a
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x1fc]
mov dword [esp + 0x22f0], esi
mov dword [esp + 0x22ec], ebx
mov byte [esp + 0x22dc], bl
call fcn.10003aa0
cmp dword [esp + 0x2328], ebp
jb 0x1002cf11
mov edx, dword [esp + 0x2314]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002cf3f
mov eax, dword [esp + 0x22f8]
push eax
call fcn.100d541a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002cf6d
mov ecx, dword [esp + 0x2330]
push ecx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002cf95
mov edx, dword [esp + 0x58]
push edx
call fcn.100d541a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002cfba
mov eax, dword [esp + 0x22c0]
push eax
call fcn.100d541a
add esp, 4
mov byte [esp + 0x3468], 0x20
mov dword [esp + 0x22d4], esi
mov dword [esp + 0x22d0], ebx
mov byte [esp + 0x22c0], bl
cmp dword [esp + 0xa4], ebp
jb 0x1002cff0
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d541a
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1002cd20
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x1002d011
push eax
call fcn.100745e0
add esp, 4
mov dword [esp + 0x28], 0xc0070002
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
push eax
call dword [sym.imp.FlashtoollibEx.dll_flashtool_destroy_session]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x25b0]
push ecx
mov dword [esp + 0x346c], 0xffffffff
call fcn.10056180
mov eax, esi
mov ecx, dword [esp + 0x3460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3448]
xor ecx, esp
call fcn.100d4541
add esp, 0x3458
ret 8