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

Disassembly:
push 0xffffffffffffffff
push 0x10120737
mov eax, dword fs:[0]
push eax
mov eax, 0x344c
call fcn.100ddb90
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.1391
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.10055fb0
mov ebp, 0x10
cmp dword [esp + 0x1dc], ebp
jb 0x10029b9e
mov ecx, dword [esp + 0x1c8]
push ecx
call fcn.100d574a
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 0x10029bd3
mov edx, dword [esp + 0x190]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x1a0], ebx
mov byte [esp + 0x190], bl
cmp dword [esp + 0x1f8], ebp
jb 0x10029c01
mov eax, dword [esp + 0x1e4]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x1f8], esi
mov dword [esp + 0x1f4], ebx
mov byte [esp + 0x1e4], bl
cmp dword [esp + 0x14c], ebp
jb 0x10029c2f
mov ecx, dword [esp + 0x138]
push ecx
call fcn.100d574a
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 0x10029c65
mov edx, dword [esp + 0x1ac]
push edx
call fcn.100d574a
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.1005cfa0
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 0x10029cca
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x10029fe5
lea edx, [esp + 0x3474]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], 0x10040640
mov dword [esp + 0x84], 0x10040650
lea ebx, [ebx]
push 0x1012d9f4
push str.1392
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.1005cfa0
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 0x10029e62
mov edi, dword [edi + 4]
jmp 0x10029e65
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 0x10029e7f
mov eax, dword [eax + 4]
jmp 0x10029e82
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 0x10029eb2
mov ecx, dword [esp + 0x58]
push ecx
call fcn.100d574a
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 0x10029ee8
mov edx, dword [esp + 0x2330]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x230c], ebp
jb 0x10029f16
mov eax, dword [esp + 0x22f8]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2328], ebp
jb 0x10029f44
mov ecx, dword [esp + 0x2314]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x22f0], ebp
jb 0x10029f72
mov edx, dword [esp + 0x22dc]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x22f0], esi
mov dword [esp + 0x22ec], ebx
mov byte [esp + 0x22dc], bl
cmp dword [esp + 0x22d4], ebp
jb 0x10029fa0
mov eax, dword [esp + 0x22c0]
push eax
call fcn.100d574a
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 0x10029fd6
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d574a
add esp, 4
mov eax, dword [esp + 0x88]
cmp eax, ebx
jne 0x10029d00
mov esi, dword [esp + 0x44]
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x1002a005
push eax
call fcn.10074910
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.100db1d0
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 0x1002a059
push 0x10131f70
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1002a059
lea ecx, [esp + 0x2a04]
push ecx
push edi
call eax
jmp 0x1002a05e
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], 0x10023a50
mov dword [esp + 0x174], 0x10023a80
mov dword [esp + 0x178], 0x10023ad0
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 0x1002d0e9
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], edx
call fcn.1005cfa0
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 0x1002a18e
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x1002a4a5
lea edx, [esp + 0x2c24]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], 0x10040670
mov dword [esp + 0x84], 0x10040680
mov edi, edi
push 0x1012d9f4
push str.1421
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.1005cfa0
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 0x1002a322
mov edi, dword [edi + 4]
jmp 0x1002a325
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 0x1002a33f
mov eax, dword [eax + 4]
jmp 0x1002a342
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 0x1002a378
mov ecx, dword [esp + 0x22dc]
push ecx
call fcn.100d574a
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 0x1002a3b7
mov edx, dword [esp + 0x2314]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002a3e5
mov eax, dword [esp + 0x22f8]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002a413
mov ecx, dword [esp + 0x2330]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002a43b
mov edx, dword [esp + 0x58]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002a460
mov eax, dword [esp + 0x22c0]
push eax
call fcn.100d574a
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 0x1002a496
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d574a
add esp, 4
mov eax, dword [esp + 0xa8]
cmp eax, ebx
jne 0x1002a1c0
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x1002a4c1
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0xa8], ebx
mov eax, dword [esp + 0x2c24]
cmp eax, ebx
jne 0x1002a527
mov dword [esp + 0x25d4], ebx
xor eax, eax
jmp 0x1002a4e0
mov cl, byte [esp + eax + 0x2a04]
mov byte [esp + eax + 0x25d8], cl
inc eax
cmp cl, bl
jne 0x1002a4e0
lea edi, [esp + 0x25d8]
call fcn.10056ea0
test al, al
je 0x1002a553
mov edi, dword [esp + 0x40]
mov dword [esp + 0x25d4], 2
call fcn.1001c710
mov dword [esp + 0x27d8], eax
mov dword [esp + 0x27dc], edx
jmp 0x1002a553
cmp eax, 1
jne 0x1002cd67
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 0x1002a57a
push 0x101322f8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1002a57a
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x23]
push ecx
push esi
call eax
jmp 0x1002a583
mov esi, dword [esp + 0x14]
mov eax, 0xc001000c
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x1002d0e9
cmp dword [esp + 0x3474], ebx
je 0x1002ab06
push 0x1ff
lea edx, [esp + 0x2e61]
push ebx
push edx
mov byte [esp + 0x2e68], bl
call fcn.100db1d0
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 0x1002d0e9
lea ecx, [esp + 0x22bc]
push ecx
lea ecx, [esp + 0x2e60]
call fcn.1003e5f0
lea ecx, [esp + 0x22bc]
mov byte [esp + 0x3468], 0x2a
call fcn.100c2d90
lea edx, [esp + 0x8c]
push edx
call fcn.1003e6a0
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 0x1002a851
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], ecx
call fcn.1005cfa0
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 0x1002a837
jmp 0x1002a6b0
push 0x1012d9f4
push str.1470
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.1005cfa0
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 0x1002a7d3
mov eax, dword [esp + 0x22dc]
push eax
call fcn.100d574a
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 0x1002a6b0
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 0x1002a884
lea ecx, [esp + 0x22f4]
call fcn.100031c0
lea ecx, [esp + 0x22bc]
call fcn.100031c0
jmp 0x1002d0e9
lea edx, [esp + 0x305c]
push str.preloader
push edx
call fcn.100d5950
add esp, 8
test eax, eax
jne 0x1002a965
lea eax, [esp + 0x232c]
push eax
call fcn.1003e750
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 0x1002a951
push 0x200
lea edx, [esp + 0x3060]
push ebx
push edx
call fcn.100db1d0
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.100d59e0
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 0x1002a970
lea edi, [esp + 0x305c]
call fcn.10056ea0
test al, al
je 0x1002a9b3
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.1003e8b0
lea eax, [esp + 0x22d8]
push eax
mov byte [esp + 0x346c], 0x39
call fcn.1003e800
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 0x1002aad4
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.100d59e0
add esp, 0xc
lea ecx, [esp + 0x110]
call fcn.100063b0
lea edi, [esp + 0x27f0]
call fcn.10056ea0
test al, al
je 0x1002aad8
mov edi, esi
mov dword [esp + 0x27ec], 2
call fcn.1001c660
mov dword [esp + 0x29f0], eax
mov dword [esp + 0x29f4], edx
jmp 0x1002aad8
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 0x1002ab0e
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.1005cfa0
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 0x1002abd1
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x1002af3f
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 0x1002ac40
push 0x1012d9f4
push str.1535
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.1005cfa0
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 0x1002adbf
mov edi, dword [edi + 4]
jmp 0x1002adc2
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 0x1002addc
mov eax, dword [eax + 4]
jmp 0x1002addf
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 0x1002ae15
mov ecx, dword [esp + 0x22dc]
push ecx
call fcn.100d574a
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 0x1002ae54
mov edx, dword [esp + 0x2314]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002ae82
mov eax, dword [esp + 0x22f8]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002aeb0
mov ecx, dword [esp + 0x2330]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002aed8
mov edx, dword [esp + 0x58]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002aefd
mov eax, dword [esp + 0x22c0]
push eax
call fcn.100d574a
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 0x1002af33
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d574a
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x1002ac40
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x1002af58
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x40], ebx
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x50], edx
call fcn.1005cfa0
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 0x1002afa5
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1002b33e
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], 0x10040500
mov dword [esp + 0xf0], 0x10040510
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.1538
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.1005cfa0
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 0x1002b1c1
mov edi, dword [edi + 4]
jmp 0x1002b1c4
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 0x1002b1de
mov eax, dword [eax + 4]
jmp 0x1002b1e1
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 0x1002b214
mov eax, dword [esp + 0x22dc]
push eax
call fcn.100d574a
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 0x1002b253
mov ecx, dword [esp + 0x2314]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002b281
mov edx, dword [esp + 0x22f8]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002b2af
mov eax, dword [esp + 0x2330]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002b2d7
mov ecx, dword [esp + 0x58]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002b2fc
mov edx, dword [esp + 0x22c0]
push edx
call fcn.100d574a
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 0x1002b332
mov eax, dword [esp + 0x90]
push eax
call fcn.100d574a
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x1002b050
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x1002b357
push eax
call fcn.10074910
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 0x1002d0e9
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 0x1002d0e9
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.100d48dd
add esp, 0xc
xor eax, eax
jmp 0x1002b3f0
mov cl, byte [esp + eax + 0x2e54]
mov byte [esp + eax + 0x235c], cl
inc eax
cmp cl, bl
jne 0x1002b3f0
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 0x1002b4c3
mov dword [esp + 0x23f8], ebx
cmp dword [esp + 0x2bc], 1
jne 0x1002bd37
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.1005cfa0
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 0x1002b934
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 0x1002b660
push 0x1012d9f4
push str.1653
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.1005cfa0
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 0x1002b7b6
mov edi, dword [edi + 4]
jmp 0x1002b7b9
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 0x1002b7d6
mov eax, dword [eax + 4]
jmp 0x1002b7d9
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 0x1002b80c
mov eax, dword [esp + 0x22dc]
push eax
call fcn.100d574a
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 0x1002b84b
mov ecx, dword [esp + 0x2314]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002b879
mov edx, dword [esp + 0x22f8]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002b8a7
mov eax, dword [esp + 0x2330]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002b8cf
mov ecx, dword [esp + 0x58]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002b8f4
mov edx, dword [esp + 0x22c0]
push edx
call fcn.100d574a
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 0x1002b92a
mov eax, dword [esp + 0x90]
push eax
call fcn.100d574a
add esp, 4
cmp dword [esp + 0x3c], ebx
jne 0x1002b660
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 0x1002b5d0
xor eax, eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
jmp 0x1002b970
mov dl, byte [esp + eax + 0x314]
mov byte [esp + eax + 0x24c4], dl
mov dword [esp + 0xb8], 1
call fcn.1005cfa0
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 0x1002b9c6
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x1002bd0c
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.1659
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.1005cfa0
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 0x1002bb8f
mov edi, dword [edi + 4]
jmp 0x1002bb92
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 0x1002bbac
mov eax, dword [eax + 4]
jmp 0x1002bbaf
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 0x1002bbe2
mov ecx, dword [esp + 0x22dc]
push ecx
call fcn.100d574a
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 0x1002bc21
mov edx, dword [esp + 0x2314]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002bc4f
mov eax, dword [esp + 0x22f8]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002bc7d
mov ecx, dword [esp + 0x2330]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002bca5
mov edx, dword [esp + 0x58]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002bcca
mov eax, dword [esp + 0x22c0]
push eax
call fcn.100d574a
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 0x1002bd00
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d574a
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x1002ba10
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x1002bd25
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, 8
jb 0x1002b970
cmp dword [esp + 0x2bc], 2
jne 0x1002bda4
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 0x1002be10
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 0x1002be21
cmp eax, 0x22
jne 0x1002be3a
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 0x1002bf32
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.10023b00
mov eax, dword [0x1015f9ec]
add esp, 4
cmp eax, ebx
je 0x1002bfb6
push 0x101323a0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1002bfb6
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x2354]
push edx
push ecx
call eax
jmp 0x1002bfbb
mov eax, 0xc001000c
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x1002d0e9
mov edx, dword [esp + 0x44]
cmp dword [edx + 0xa4], 2
jne 0x1002cd48
cmp dword [esp + 0x3474], ebx
je 0x1002cd48
cmp dword [esp + 0x4c], 5
jne 0x1002c27d
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 4
mov dword [esp + 0x18], eax
call fcn.1005cfa0
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 0x1002c25f
jmp 0x1002c040
push 0x1012d9f4
push str.1721
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.1005cfa0
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 0x1002c13b
mov edi, dword [edi + 4]
jmp 0x1002c13e
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 0x1002c171
mov eax, dword [esp + 0x22dc]
push eax
call fcn.100d574a
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 0x1002c1a4
mov ecx, dword [esp + 0x2314]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002c1d2
mov edx, dword [esp + 0x22f8]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002c200
mov eax, dword [esp + 0x2330]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002c228
mov ecx, dword [esp + 0x58]
push ecx
call fcn.100d574a
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 0x1002c255
mov edx, dword [esp + 0x90]
push edx
call fcn.100d574a
add esp, 4
cmp dword [esp + 0x44], ebx
jne 0x1002c040
lea ecx, [esp + 0x44]
mov byte [esp + 0x3468], 0xb
call fcn.10002f90
mov dword [esp + 0x28], 0xc0040009
jmp 0x1002d0e9
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 0x1012fa54
push ecx
call fcn.100d5950
add esp, 8
test eax, eax
jne 0x1002c7aa
lea edx, [esp + 0x232c]
push edx
push edi
call sym.Flashtoollib.dll_DL_GetPlatformInfo
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x1002c508
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 4
mov dword [esp + 0x18], eax
call fcn.1005cfa0
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 0x1002c4f2
mov edi, edi
push 0x1012d9f4
push str.1736
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.1003e410
lea edx, [esp + 0xf4]
mov ecx, eax
call fcn.10009f40
mov ebp, eax
mov byte [esp + 0x3468], 0x78
call fcn.1005cfa0
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 0x1002c340
lea ecx, [esp + 0x14]
mov byte [esp + 0x3468], 0xb
call fcn.10002f90
jmp 0x1002d0e9
mov eax, dword [esp + 0x2350]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x1002c7aa
push 0x1ff
lea ecx, [esp + 0x2e61]
push ebx
push ecx
mov byte [esp + 0x2e68], bl
call fcn.100db1d0
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.100d48dd
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.1005cfa0
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 0x1002c78c
jmp 0x1002c5d0
push 0x1012d9f4
push str.1748
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.1003e960
push eax
lea eax, [esp + 0x50]
call fcn.1003e960
lea edx, [esp + 0xf4]
mov ecx, eax
call fcn.10009f40
mov ebp, eax
mov byte [esp + 0x3468], 0x82
call fcn.1005cfa0
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 0x1002c5d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3468], 0xb
call fcn.10002f90
mov dword [esp + 0x28], 0xc0030006
jmp 0x1002d0e9
lea eax, [esp + 0x2e44]
push str.V1.1.8
push eax
call fcn.100d5950
add esp, 8
test eax, eax
je 0x1002cd48
lea ecx, [esp + 0x2e5c]
push ecx
push edi
call sym.Flashtoollib.dll_DL_GetScatterInfo
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x1002c9f8
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 4
mov dword [esp + 0x18], edx
call fcn.1005cfa0
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 0x1002c9e2
mov edi, edi
push 0x1012d9f4
push str.1761
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.1003e410
lea edx, [esp + 0xf4]
mov ecx, eax
call fcn.10009f40
mov ebp, eax
mov byte [esp + 0x3468], 0x8c
call fcn.1005cfa0
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 0x1002c830
lea ecx, [esp + 0x14]
mov byte [esp + 0x3468], 0xb
call fcn.10002f90
jmp 0x1002d0e9
cmp byte [esp + 0x3020], bl
je 0x1002cd48
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.1003dfc0
add esp, 8
test al, al
jne 0x1002cd2b
lea eax, [esp + 0x22bc]
push 0x1012fb24
push eax
call fcn.1003dfc0
add esp, 8
test al, al
jne 0x1002cd2b
lea ecx, [esp + 0x22bc]
push str.6177m
push ecx
call fcn.1003dfc0
add esp, 8
test al, al
je 0x1002ca80
mov esi, dword [esp + 0x46c]
cmp esi, 1
jne 0x1002caad
lea edx, [esp + 0x22bc]
push str.6177
push edx
call fcn.1003dfc0
add esp, 8
test al, al
je 0x1002cd3c
mov esi, dword [esp + 0x46c]
cmp esi, 2
je 0x1002cd3c
push 0x1ff
lea eax, [esp + 0x3261]
push ebx
push eax
mov byte [esp + 0x3268], bl
call fcn.100db1d0
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.100d48dd
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.1005cfa0
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 0x1002cd12
nop
push 0x1012d9f4
push str.1777
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.1003e560
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.1005cfa0
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 0x1002cb50
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 0x1002d0e9
lea ecx, [esp + 0x22bc]
call fcn.100063b0
lea ecx, [esp + 0x25b0]
push ecx
mov dword [esp + 0x346c], 0xffffffff
call fcn.10056250
xor eax, eax
jmp 0x1002d114
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 4
mov dword [esp + 0x18], edx
call fcn.1005cfa0
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 0x1002cdb4
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1002d0cc
lea edx, [esp + 0x2c24]
mov dword [esp + 0x2e44], edx
mov dword [esp + 0x2e48], 0x10040670
mov dword [esp + 0x2e4c], 0x10040680
jmp 0x1002cdf0
push 0x1012d9f4
push str.1440
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.1005cfa0
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 0x1002cf4f
mov edi, dword [edi + 4]
jmp 0x1002cf52
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 0x1002cf6c
mov eax, dword [eax + 4]
jmp 0x1002cf6f
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 0x1002cfa2
mov ecx, dword [esp + 0x22dc]
push ecx
call fcn.100d574a
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 0x1002cfe1
mov edx, dword [esp + 0x2314]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2328], esi
mov dword [esp + 0x2324], ebx
mov byte [esp + 0x2314], bl
cmp dword [esp + 0x230c], ebp
jb 0x1002d00f
mov eax, dword [esp + 0x22f8]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x230c], esi
mov dword [esp + 0x2308], ebx
mov byte [esp + 0x22f8], bl
cmp dword [esp + 0x2344], ebp
jb 0x1002d03d
mov ecx, dword [esp + 0x2330]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x2344], esi
mov dword [esp + 0x2340], ebx
mov byte [esp + 0x2330], bl
cmp dword [esp + 0x6c], ebp
jb 0x1002d065
mov edx, dword [esp + 0x58]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x22d4], ebp
jb 0x1002d08a
mov eax, dword [esp + 0x22c0]
push eax
call fcn.100d574a
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 0x1002d0c0
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d574a
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1002cdf0
mov byte [esp + 0x3468], 0xb
cmp eax, ebx
je 0x1002d0e1
push eax
call fcn.10074910
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.10056250
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.100d4871
add esp, 0x3458
ret 8