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

Disassembly:
push 0xffffffffffffffff
push 0x101207de
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10159df0]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x18], ebx
cmp ax, word [esp + 0x1dc]
jae 0x1001dd8f
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ecx
jmp 0x1001da00
mov dword [esp + 0x24], 1
call fcn.1005cfa0
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, eax
call fcn.1000a460
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov dword [eax], ebx
mov dword [esp + 0x1d0], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1001da44
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1001dd41
lea eax, [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x100404a0
mov dword [esp + 0x4c], 0x100404b0
jmp 0x1001da70
push 0x1012d9f4
push 0x1012e340
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x78], 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 + 0xec]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x1dc], 1
push 3
push 0x1012da1c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.10007180
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x1e8], 2
call fcn.1000a2e0
add esp, 0xc
push eax
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x1e4], 3
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x1e0], 4
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x1dc], 5
call fcn.1000a390
add esp, 0xc
mov ebp, eax
push str.rblist__d_
lea eax, [esp + 0x10c]
push eax
mov byte [esp + 0x1d8], 6
call fcn.10009e40
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x1d4], 7
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x8c]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x1d0], 8
call fcn.1005cfa0
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x104]
push eax
call fcn.1000a530
add esp, 0xc
mov byte [esp + 0x1d0], 9
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], 0x10
jb 0x1001dbbc
mov edi, dword [edi + 4]
jmp 0x1001dbbf
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087d0
mov eax, dword [ebp + 0x14]
mov edi, 0x10
cmp dword [ebp + 0x18], edi
jb 0x1001dbda
mov ebp, dword [ebp + 4]
jmp 0x1001dbdd
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1d0], 8
call fcn.10006d40
cmp dword [esp + 0xa4], edi
jb 0x1001dc13
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d574a
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x108]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.10003aa0
mov edi, 0x10
cmp dword [esp + 0x6c], edi
jb 0x1001dc51
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 + 0x88], edi
jb 0x1001dc73
mov eax, dword [esp + 0x74]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
cmp dword [esp + 0xc0], edi
jb 0x1001dc9e
mov ecx, dword [esp + 0xac]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
cmp dword [esp + 0xf8], edi
jb 0x1001dccc
mov edx, dword [esp + 0xe4]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
cmp dword [esp + 0x40], edi
jb 0x1001dcf4
mov eax, dword [esp + 0x2c]
push eax
call fcn.100d574a
add esp, 4
mov byte [esp + 0x1d0], bl
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0xdc], edi
jb 0x1001dd20
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.100d574a
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
cmp eax, ebx
jne 0x1001da70
mov dword [esp + 0x1d0], 0xffffffff
cmp eax, ebx
je 0x1001dd5d
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x14], ebx
movzx eax, word [esp + 0x18]
lea edx, [eax + eax*8]
shl edx, 6
add edx, dword [esp + 0x1d8]
push edx
call fcn.1001d180
mov eax, dword [esp + 0x1c]
inc eax
add esp, 4
mov dword [esp + 0x18], eax
cmp ax, word [esp + 0x1dc]
jb 0x1001da00
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0
ret