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

Disassembly:
push 0xffffffffffffffff
push 0x1011dcee
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10156de0]
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 0x1001dbef
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ecx
jmp 0x1001d860
mov dword [esp + 0x24], 1
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, eax
call fcn.1000a3d0
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 0x1001d8a4
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1001dba1
lea eax, [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x1003e9d0
mov dword [esp + 0x4c], 0x1003e9e0
jmp 0x1001d8d0
push 0x1012a9d4
push 0x1012b2f8
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.10007110
lea esi, [esp + 0xec]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x1dc], 1
push 3
push 0x1012a9fc
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.10007110
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x1e8], 2
call fcn.1000a250
add esp, 0xc
push eax
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x1e4], 3
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x1e0], 4
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x1dc], 5
call fcn.1000a300
add esp, 0xc
mov ebp, eax
push str.rblist__d_
lea eax, [esp + 0x10c]
push eax
mov byte [esp + 0x1d8], 6
call fcn.10009db0
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x1d4], 7
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x8c]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x1d0], 8
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x104]
push eax
call fcn.1000a480
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 0x1001da1c
mov edi, dword [edi + 4]
jmp 0x1001da1f
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.10008750
mov eax, dword [ebp + 0x14]
mov edi, 0x10
cmp dword [ebp + 0x18], edi
jb 0x1001da3a
mov ebp, dword [ebp + 4]
jmp 0x1001da3d
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1d0], 8
call fcn.10006cd0
cmp dword [esp + 0xa4], edi
jb 0x1001da73
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d30aa
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.10003ab0
mov edi, 0x10
cmp dword [esp + 0x6c], edi
jb 0x1001dab1
mov edx, dword [esp + 0x58]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x88], edi
jb 0x1001dad3
mov eax, dword [esp + 0x74]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
cmp dword [esp + 0xc0], edi
jb 0x1001dafe
mov ecx, dword [esp + 0xac]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
cmp dword [esp + 0xf8], edi
jb 0x1001db2c
mov edx, dword [esp + 0xe4]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
cmp dword [esp + 0x40], edi
jb 0x1001db54
mov eax, dword [esp + 0x2c]
push eax
call fcn.100d30aa
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 0x1001db80
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.100d30aa
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 0x1001d8d0
mov dword [esp + 0x1d0], 0xffffffff
cmp eax, ebx
je 0x1001dbbd
push eax
call fcn.10072220
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.1001cfe0
mov eax, dword [esp + 0x1c]
inc eax
add esp, 4
mov dword [esp + 0x18], eax
cmp ax, word [esp + 0x1dc]
jb 0x1001d860
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0
ret