Function at 0x1010c880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
sub esp, 0x20
mov dword [esp + 0x4c], esp
mov edi, esp
push 0x104c2ef4
push ecx
push 0x104dc26c
push ecx
push str.__line:
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x84], esp
push str.._interface_flashtoolex_api.cpp
mov dword [esp + 0x78], eax
call fcn.10003680
lea esi, [esp + 0x10c]
call fcn.100af830
add esp, 0x20
push eax
push 0x104c3ebc
lea ecx, [esp + 0xd4]
call fcn.10003680
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.10016ef0
add esp, 0x10
push eax
lea edx, [esp + 0xac]
push edx
call fcn.10016fa0
add esp, 0x10
push eax
lea eax, [esp + 0x64]
push eax
call fcn.10016fa0
add esp, 0x10
push eax
push edi
call fcn.10016fa0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x6c], esp
push str.flashtool_read_partition_table
call fcn.10003680
mov ecx, 2
lea edx, [esp + 0x24c]
call fcn.10053f40
mov ebx, 0x10
cmp dword [esp + 0x50], ebx
jb 0x1010c968
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1025a370
add esp, 4
mov esi, 0xf
xor edi, edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
call fcn.10001370
cmp dword [esp + 0x90], ebx
jb 0x1010c99b
mov edx, dword [esp + 0x7c]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0x74]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edi
mov byte [esp + 0x7c], 0
call fcn.10001370
cmp dword [esp + 0x70], ebx
jb 0x1010c9ca
mov eax, dword [esp + 0x5c]
push eax
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
call fcn.10001370
cmp dword [esp + 0xb0], ebx
jb 0x1010c9f9
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], edi
mov byte [esp + 0x9c], 0
call fcn.10001370
cmp dword [esp + 0xd0], ebx
jb 0x1010ca34
mov edx, dword [esp + 0xbc]
push edx
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0xb4]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], edi
mov byte [esp + 0xbc], 0
call fcn.10001370
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
push 2
push eax
call fcn.10148290
add esp, 8
mov dword [esp + 0x134], eax
cmp eax, edi
jne 0x1010cb2a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0xc], ecx
call fcn.1005c450
mov eax, dword [eax]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x24]
push ecx
mov esi, eax
call fcn.10016d30
mov edx, dword [eax]
mov dword [esp + 0x24], edx
mov dword [eax], edi
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x1010cab8
push eax
call fcn.1029f770
add esp, 4
cmp dword [esp + 0x24], edi
je 0x1010cb04
mov edi, edi
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0xdc]
push edx
call fcn.10016de0
mov ecx, dword [eax + 4]
add esp, 0xc
push str.read_main_partition_table_ok
add ecx, 4
mov ebx, 0x1c
call fcn.10013de0
lea ecx, [esp + 0xd4]
call fcn.100132f0
cmp dword [esp + 0x24], edi
jne 0x1010cac0
lea eax, [esp + 0x20c]
push eax
call fcn.100542c0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.102595a0
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 3
mov dword [esp + 0xc], ecx
call fcn.1005c450
mov eax, dword [eax]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x2c]
push ecx
mov esi, eax
call fcn.10016d30
mov edx, dword [eax]
mov dword [esp + 0x24], edx
mov dword [eax], edi
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x1010cb6b
push eax
call fcn.1029f770
add esp, 4
cmp dword [esp + 0x24], edi
je 0x1010cfb2
lea eax, [esp + 0x134]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], fcn.100776d0
mov dword [esp + 0xec], 0x1015afb0
lea esp, [esp]
push str.read_main_partition_table_fail:_0x_x
lea ecx, [esp + 0x158]
push ecx
call fcn.100167c0
lea edx, [esp + 0xe4]
push edx
mov edi, eax
call fcn.1001ec90
add esp, 4
mov edi, eax
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0xdc]
push edx
call fcn.10016de0
mov esi, dword [eax + 4]
add esp, 0xc
lea edx, [esp + 0xf0]
mov ecx, edi
add esi, 4
call fcn.100168d0
mov ecx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ebx
jb 0x1010cc04
mov eax, dword [eax + 8]
jmp 0x1010cc07
add eax, 8
mov ebx, ecx
push eax
mov ecx, esi
call fcn.10013de0
push 0x104c2ef4
push ecx
push 0x104dc2b0
push ecx
push str.__line:
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x64], esp
push str.._interface_flashtoolex_api.cpp
mov edi, eax
call fcn.10003680
lea esi, [esp + 0x6c]
call fcn.100af830
add esp, 0x20
push eax
push 0x104c3ebc
lea ecx, [esp + 0x94]
call fcn.10003680
push eax
lea eax, [esp + 0x74]
push eax
call fcn.10016ef0
add esp, 0x10
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.10016fa0
add esp, 0x10
push eax
lea edx, [esp + 0xc4]
push edx
call fcn.10016fa0
add esp, 0x10
push eax
lea eax, [esp + 0x118]
push eax
call fcn.10016fa0
mov ebx, dword [eax + 0x18]
mov esi, 0x10
add esp, 0xc
cmp dword [eax + 0x1c], esi
jb 0x1010cca8
mov eax, dword [eax + 8]
jmp 0x1010ccab
add eax, 8
push eax
mov ecx, edi
call fcn.10013de0
lea ecx, [esp + 0xd4]
call fcn.100132f0
cmp dword [esp + 0x10c], esi
jb 0x1010ccd8
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.1025a370
add esp, 4
xor ebx, ebx
mov edi, 0xf
push 3
lea ecx, [esp + 0x2c]
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
call fcn.10239250
mov eax, dword [esp + 0xf0]
cmp eax, 0xfffffffd
je 0x1010cd2e
cmp eax, ebx
je 0x1010cd27
nop
mov dword [eax], ebx
mov edx, dword [esp + 0xf0]
mov eax, dword [edx + 4]
mov dword [esp + 0xf0], eax
cmp eax, ebx
jne 0x1010cd10
mov dword [esp + 0xf0], ebx
lea ecx, [esp + 0x28]
call fcn.10239290
lea eax, [esp + 0x154]
push eax
call fcn.1000b890
cmp dword [esp + 0x12c], esi
jb 0x1010cd5d
mov ecx, dword [esp + 0x118]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x24]
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.10239250
mov eax, dword [esp + 0x110]
cmp eax, 0xfffffffd
je 0x1010cdae
cmp eax, ebx
je 0x1010cda7
lea ecx, [ecx]
mov dword [eax], ebx
mov edx, dword [esp + 0x110]
mov eax, dword [edx + 4]
mov dword [esp + 0x110], eax
cmp eax, ebx
jne 0x1010cd90
mov dword [esp + 0x110], ebx
lea ecx, [esp + 0x20]
call fcn.10239290
cmp dword [esp + 0xd0], esi
jb 0x1010cdd0
mov eax, dword [esp + 0xbc]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x10]
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.10239250
mov eax, dword [esp + 0xb4]
cmp eax, 0xfffffffd
je 0x1010ce1e
cmp eax, ebx
je 0x1010ce17
mov dword [eax], ebx
mov ecx, dword [esp + 0xb4]
mov eax, dword [ecx + 4]
mov dword [esp + 0xb4], eax
cmp eax, ebx
jne 0x1010ce00
mov dword [esp + 0xb4], ebx
lea ecx, [esp + 0xc]
call fcn.10239290
cmp dword [esp + 0xb0], esi
jb 0x1010ce40
mov edx, dword [esp + 0x9c]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.10239250
mov eax, dword [esp + 0x94]
cmp eax, 0xfffffffd
je 0x1010ce8e
cmp eax, ebx
je 0x1010ce87
mov dword [eax], ebx
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
cmp eax, ebx
jne 0x1010ce70
mov dword [esp + 0x94], ebx
lea ecx, [esp + 0x30]
call fcn.10239290
cmp dword [esp + 0x70], esi
jb 0x1010ceaa
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.10239250
mov eax, dword [esp + 0x54]
cmp eax, 0xfffffffd
je 0x1010cee5
cmp eax, ebx
je 0x1010cee1
mov edi, edi
mov dword [eax], ebx
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 4]
mov dword [esp + 0x54], eax
cmp eax, ebx
jne 0x1010ced0
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x14]
call fcn.10239290
cmp dword [esp + 0x90], esi
jb 0x1010cf04
mov eax, dword [esp + 0x7c]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.10239250
mov eax, dword [esp + 0x74]
cmp eax, 0xfffffffd
je 0x1010cf46
cmp eax, ebx
je 0x1010cf42
mov dword [eax], ebx
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
mov dword [esp + 0x74], eax
cmp eax, ebx
jne 0x1010cf31
mov dword [esp + 0x74], ebx
lea ecx, [esp + 0x18]
call fcn.10239290
cmp dword [esp + 0x50], esi
jb 0x1010cf62
mov edx, dword [esp + 0x3c]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.10239250
mov eax, dword [esp + 0x34]
cmp eax, 0xfffffffd
je 0x1010cf9b
cmp eax, ebx
je 0x1010cf97
mov dword [eax], ebx
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
cmp eax, ebx
jne 0x1010cf86
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x10]
call fcn.10239290
cmp dword [esp + 0x24], ebx
mov ebx, esi
jne 0x1010cba0
xor edi, edi
mov ecx, dword [ebp + 8]
push 1
push ecx
mov ecx, dword [esp + 0x24]
call fcn.10148290
add esp, 8
lea edx, [esp + 0x10]
mov dword [esp + 0xe0], eax
mov dword [esp + 0x18], edx
cmp eax, edi
jne 0x1010d08b
mov dword [esp + 0x10], 1
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov esi, eax
call fcn.10016d30
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [eax], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1010d014
push eax
call fcn.1029f770
add esp, 4
cmp dword [esp + 0xc], edi
je 0x1010d065
lea ebx, [ebx]
call fcn.1005c450
mov eax, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.10016de0
mov ecx, dword [eax + 4]
add esp, 0xc
push str.read_mirror_partition_table_ok
add ecx, 4
mov ebx, 0x1e
call fcn.10013de0
lea ecx, [esp + 0xd4]
call fcn.100132f0
cmp dword [esp + 0xc], 0
jne 0x1010d020
lea ecx, [esp + 0x20c]
push ecx
call fcn.100542c0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.102595a0
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x10], 4
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov esi, eax
call fcn.10016d30
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [eax], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1010d0c4
push eax
call fcn.1029f770
add esp, 4
cmp dword [esp + 0xc], edi
je 0x1010d505
lea edx, [esp + 0xe0]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], fcn.100776d0
mov dword [esp + 0xec], 0x1015afb0
push str.read_mirror_partition_table_fail:_0x_x
lea eax, [esp + 0x158]
push eax
call fcn.100167c0
lea ecx, [esp + 0xe4]
push ecx
mov edi, eax
call fcn.1001ec90
add esp, 4
mov edi, eax
call fcn.1005c450
mov eax, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.10016de0
mov esi, dword [eax + 4]
add esp, 0xc
lea edx, [esp + 0x34]
mov ecx, edi
add esi, 4
call fcn.100168d0
mov ecx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ebx
jb 0x1010d153
mov eax, dword [eax + 8]
jmp 0x1010d156
add eax, 8
mov ebx, ecx
push eax
mov ecx, esi
call fcn.10013de0
push 0x104c2ef4
push ecx
push 0x104cfb04
push ecx
push str.__line:
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x64], esp
push str.._interface_flashtoolex_api.cpp
mov edi, eax
call fcn.10003680
lea esi, [esp + 0x128]
call fcn.100af830
add esp, 0x20
push eax
push 0x104c3ebc
lea ecx, [esp + 0x130]
call fcn.10003680
push eax
lea ecx, [esp + 0xd4]
push ecx
call fcn.10016ef0
add esp, 0x10
push eax
lea edx, [esp + 0xac]
push edx
call fcn.10016fa0
add esp, 0x10
push eax
lea eax, [esp + 0x64]
push eax
call fcn.10016fa0
add esp, 0x10
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.10016fa0
mov ebx, dword [eax + 0x18]
mov esi, 0x10
add esp, 0xc
cmp dword [eax + 0x1c], esi
jb 0x1010d1f7
mov eax, dword [eax + 8]
jmp 0x1010d1fa
add eax, 8
push eax
mov ecx, edi
call fcn.10013de0
lea ecx, [esp + 0xd4]
call fcn.100132f0
cmp dword [esp + 0x50], esi
jb 0x1010d221
mov edx, dword [esp + 0x3c]
push edx
call fcn.1025a370
add esp, 4
xor ebx, ebx
mov edi, 0xf
push 3
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.10239250
mov eax, dword [esp + 0x34]
cmp eax, 0xfffffffd
je 0x1010d265
cmp eax, ebx
je 0x1010d261
lea esp, [esp]
mov dword [eax], ebx
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
cmp eax, ebx
jne 0x1010d250
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x10]
call fcn.10239290
lea ecx, [esp + 0x154]
push ecx
call fcn.1000b890
cmp dword [esp + 0x90], esi
jb 0x1010d291
mov edx, dword [esp + 0x7c]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.10239250
mov eax, dword [esp + 0x74]
cmp eax, 0xfffffffd
je 0x1010d2d5
cmp eax, ebx
je 0x1010d2d1
mov edi, edi
mov dword [eax], ebx
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
cmp eax, ebx
jne 0x1010d2c0
mov dword [esp + 0x74], ebx
lea ecx, [esp + 0x18]
call fcn.10239290
cmp dword [esp + 0x70], esi
jb 0x1010d2f1
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.10239250
mov eax, dword [esp + 0x54]
cmp eax, 0xfffffffd
je 0x1010d32a
cmp eax, ebx
je 0x1010d326
mov dword [eax], ebx
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 4]
mov dword [esp + 0x54], eax
cmp eax, ebx
jne 0x1010d315
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x14]
call fcn.10239290
cmp dword [esp + 0xb0], esi
jb 0x1010d34c
mov eax, dword [esp + 0x9c]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.10239250
mov eax, dword [esp + 0x94]
cmp eax, 0xfffffffd
je 0x1010d39e
cmp eax, ebx
je 0x1010d397
lea esp, [esp]
mov dword [eax], ebx
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + 4]
mov dword [esp + 0x94], eax
cmp eax, ebx
jne 0x1010d380
mov dword [esp + 0x94], ebx
lea ecx, [esp + 0x30]
call fcn.10239290
cmp dword [esp + 0xd0], esi
jb 0x1010d3c0
mov edx, dword [esp + 0xbc]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x2c]
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.10239250
mov eax, dword [esp + 0xb4]
cmp eax, 0xfffffffd
je 0x1010d40e
cmp eax, ebx
je 0x1010d407
mov dword [eax], ebx
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 4]
mov dword [esp + 0xb4], eax
cmp eax, ebx
jne 0x1010d3f0
mov dword [esp + 0xb4], ebx
lea ecx, [esp + 0x28]
call fcn.10239290
cmp dword [esp + 0x12c], esi
jb 0x1010d430
mov ecx, dword [esp + 0x118]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x24]
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.10239250
mov eax, dword [esp + 0x110]
cmp eax, 0xfffffffd
je 0x1010d47e
cmp eax, ebx
je 0x1010d477
mov dword [eax], ebx
mov edx, dword [esp + 0x110]
mov eax, dword [edx + 4]
mov dword [esp + 0x110], eax
cmp eax, ebx
jne 0x1010d460
mov dword [esp + 0x110], ebx
lea ecx, [esp + 0x20]
call fcn.10239290
cmp dword [esp + 0x10c], esi
jb 0x1010d4a0
mov eax, dword [esp + 0xf8]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
call fcn.10239250
mov eax, dword [esp + 0xf0]
cmp eax, 0xfffffffd
je 0x1010d4ee
cmp eax, ebx
je 0x1010d4e7
mov dword [eax], ebx
mov ecx, dword [esp + 0xf0]
mov eax, dword [ecx + 4]
mov dword [esp + 0xf0], eax
cmp eax, ebx
jne 0x1010d4d0
mov dword [esp + 0xf0], ebx
lea ecx, [esp + 0x1c]
call fcn.10239290
cmp dword [esp + 0xc], ebx
mov ebx, esi
jne 0x1010d0f2
xor edi, edi
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 4
mov dword [esp + 0x18], edx
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov esi, eax
call fcn.10016d30
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [eax], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1010d546
push eax
call fcn.1029f770
add esp, 4
cmp dword [esp + 0x1c], edi
je 0x1010da11
lea edx, [esp + 0x10]
lea eax, [esp + 0xe0]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], fcn.100776d0
mov dword [esp + 0xec], 0x1015afb0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], fcn.100776d0
mov dword [esp + 0x140], 0x1015afb0
mov dword [esp + 0xd4], str.flashtool_read_partition_table_fail
mov dword [esp + 0xd8], fcn.100776d0
mov dword [esp + 0xdc], 0x1010edb0
jmp 0x1010d5c2
mov ebx, esi
push str._ERR_CHECKPOINT___d__error__0x_x___ERR_CHECKPOINT__s
lea ecx, [esp + 0x158]
push ecx
mov dword [esp + 0x18], 0x336
call fcn.100167c0
lea edx, [esp + 0xe4]
push edx
mov edi, eax
call fcn.1001ec90
lea ecx, [esp + 0x13c]
add esp, 4
push ecx
mov edi, eax
call fcn.1001ec90
lea edx, [esp + 0xd8]
add esp, 4
push edx
mov edi, eax
call fcn.1001ec90
add esp, 4
mov edi, eax
call fcn.1005c450
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x150]
push edx
call fcn.10016de0
mov esi, dword [eax + 4]
add esp, 0xc
lea edx, [esp + 0x34]
mov ecx, edi
add esi, 4
call fcn.100168d0
mov ecx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ebx
jb 0x1010d64f
mov eax, dword [eax + 8]
jmp 0x1010d652
add eax, 8
mov ebx, ecx
push eax
mov ecx, esi
call fcn.10013de0
push 0x104c2ef4
push ecx
push 0x104dc324
push ecx
push str.__line:
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x17c], esp
push str.._interface_flashtoolex_api.cpp
mov edi, eax
call fcn.10003680
lea esi, [esp + 0x128]
call fcn.100af830
add esp, 0x20
push eax
push 0x104c3ebc
lea ecx, [esp + 0x130]
call fcn.10003680
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.10016ef0
add esp, 0x10
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.10016fa0
add esp, 0x10
push eax
lea edx, [esp + 0x64]
push edx
call fcn.10016fa0
add esp, 0x10
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.10016fa0
mov ebx, dword [eax + 0x18]
mov esi, 0x10
add esp, 0xc
cmp dword [eax + 0x1c], esi
jb 0x1010d6f6
mov eax, dword [eax + 8]
jmp 0x1010d6f9
add eax, 8
push eax
mov ecx, edi
call fcn.10013de0
lea ecx, [esp + 0x148]
call fcn.100132f0
cmp dword [esp + 0x50], esi
jb 0x1010d720
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1025a370
add esp, 4
xor ebx, ebx
mov edi, 0xf
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.10239250
mov eax, dword [esp + 0x34]
cmp eax, 0xfffffffd
je 0x1010d765
cmp eax, ebx
je 0x1010d761
jmp 0x1010d750
mov dword [eax], ebx
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
cmp eax, ebx
jne 0x1010d750
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x18]
call fcn.10239290
lea eax, [esp + 0x154]
push eax
call fcn.1000b890
cmp dword [esp + 0x90], esi
jb 0x1010d791
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x18]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.10239250
mov eax, dword [esp + 0x74]
cmp eax, 0xfffffffd
je 0x1010d7d5
cmp eax, ebx
je 0x1010d7d1
mov edi, edi
mov dword [eax], ebx
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
mov dword [esp + 0x74], eax
cmp eax, ebx
jne 0x1010d7c0
mov dword [esp + 0x74], ebx
lea ecx, [esp + 0x14]
call fcn.10239290
cmp dword [esp + 0x70], esi
jb 0x1010d7f1
mov eax, dword [esp + 0x5c]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.10239250
mov eax, dword [esp + 0x54]
cmp eax, 0xfffffffd
je 0x1010d82a
cmp eax, ebx
je 0x1010d826
mov dword [eax], ebx
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 4]
mov dword [esp + 0x54], eax
cmp eax, ebx
jne 0x1010d815
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x30]
call fcn.10239290
cmp dword [esp + 0xb0], esi
jb 0x1010d84c
mov edx, dword [esp + 0x9c]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x2c]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.10239250
mov eax, dword [esp + 0x94]
cmp eax, 0xfffffffd
je 0x1010d89e
cmp eax, ebx
je 0x1010d897
lea esp, [esp]
mov dword [eax], ebx
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
cmp eax, ebx
jne 0x1010d880
mov dword [esp + 0x94], ebx
lea ecx, [esp + 0x28]
call fcn.10239290
cmp dword [esp + 0xd0], esi
jb 0x1010d8c0
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x24]
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.10239250
mov eax, dword [esp + 0xb4]
cmp eax, 0xfffffffd
je 0x1010d90e
cmp eax, ebx
je 0x1010d907
mov dword [eax], ebx
mov edx, dword [esp + 0xb4]
mov eax, dword [edx + 4]
mov dword [esp + 0xb4], eax
cmp eax, ebx
jne 0x1010d8f0
mov dword [esp + 0xb4], ebx
lea ecx, [esp + 0x20]
call fcn.10239290
cmp dword [esp + 0x12c], esi
jb 0x1010d930
mov eax, dword [esp + 0x118]
push eax
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x134]
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.10239250
mov eax, dword [esp + 0x110]
cmp eax, 0xfffffffd
je 0x1010d981
cmp eax, ebx
je 0x1010d97a
mov dword [eax], ebx
mov ecx, dword [esp + 0x110]
mov eax, dword [ecx + 4]
mov dword [esp + 0x110], eax
cmp eax, ebx
jne 0x1010d963
mov dword [esp + 0x110], ebx
lea ecx, [esp + 0x130]
call fcn.10239290
cmp dword [esp + 0x10c], esi
jb 0x1010d9a6
mov edx, dword [esp + 0xf8]
push edx
call fcn.1025a370
add esp, 4
push 3
lea ecx, [esp + 0x30]
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
call fcn.10239250
mov eax, dword [esp + 0xf0]
cmp eax, 0xfffffffd
je 0x1010d9fe
cmp eax, ebx
je 0x1010d9f7
jmp 0x1010d9e0
mov dword [eax], ebx
mov eax, dword [esp + 0xf0]
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
cmp eax, ebx
jne 0x1010d9e0
mov dword [esp + 0xf0], ebx
lea ecx, [esp + 0x2c]
call fcn.10239290
cmp dword [esp + 0x1c], ebx
jne 0x1010d5c0
mov esi, dword [esp + 0xe0]
lea ecx, [esp + 0x20c]
push ecx
call fcn.100542c0
mov ecx, dword [esp + 0x234]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.102595a0
mov esp, ebp
pop ebp
ret 8