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

Disassembly:
push 0xffffffffffffffff
push 0x1011fa3e
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10158df0]
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 0x1001dc5f
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ecx
jmp 0x1001d8d0
mov dword [esp + 0x24], 1
call fcn.1005c4f0
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 0x1001d914
push eax
call fcn.10073c20
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1001dc11
lea eax, [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x100400b0
mov dword [esp + 0x4c], 0x100400c0
jmp 0x1001d940
push 0x1012c9e4
push 0x1012d308
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 0x1012ca0c
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.1005c4f0
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 0x1001da8c
mov edi, dword [edi + 4]
jmp 0x1001da8f
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 0x1001daaa
mov ebp, dword [ebp + 4]
jmp 0x1001daad
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 0x1001dae3
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100d4a7a
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 0x1001db21
mov edx, dword [esp + 0x58]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x88], edi
jb 0x1001db43
mov eax, dword [esp + 0x74]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
cmp dword [esp + 0xc0], edi
jb 0x1001db6e
mov ecx, dword [esp + 0xac]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
cmp dword [esp + 0xf8], edi
jb 0x1001db9c
mov edx, dword [esp + 0xe4]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
cmp dword [esp + 0x40], edi
jb 0x1001dbc4
mov eax, dword [esp + 0x2c]
push eax
call fcn.100d4a7a
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 0x1001dbf0
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.100d4a7a
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 0x1001d940
mov dword [esp + 0x1d0], 0xffffffff
cmp eax, ebx
je 0x1001dc2d
push eax
call fcn.10073c20
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.1001d050
mov eax, dword [esp + 0x1c]
inc eax
add esp, 4
mov dword [esp + 0x18], eax
cmp ax, word [esp + 0x1dc]
jb 0x1001d8d0
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0
ret