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

Disassembly:
push 0xffffffffffffffff
push 0x1011c47c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10156de0]
xor eax, esp
push eax
lea eax, [esp + 0x1fc]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
mov esi, eax
call fcn.1000a3d0
mov ecx, dword [eax]
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov dword [eax], ebx
mov dword [esp + 0x204], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1001d05b
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1001d3e6
mov eax, dword [esp + 0x20c]
lea edx, [eax + 4]
lea ecx, [eax + 8]
lea esi, [eax + 0x10]
mov dword [esp + 0x110], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x60], ecx
mov edx, 0x1003e950
mov ecx, 0x1003e960
add eax, 0x20
mov dword [esp + 0x114], 0x1003e920
mov dword [esp + 0x118], 0x1003e930
mov dword [esp + 0x70], 0x10014a20
mov dword [esp + 0x74], 0x10014a30
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x1003e980
mov dword [esp + 0x50], 0x1003e990
push 0x1012a9d4
push 0x1012b264
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], 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 + 0x144]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x210], 1
push 3
push 0x1012a9fc
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.10007110
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xe0]
push eax
mov byte [esp + 0x21c], 2
call fcn.1000a250
add esp, 0xc
push eax
lea ecx, [esp + 0xc0]
push ecx
mov byte [esp + 0x218], 3
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x214], 4
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0xf0]
push eax
mov byte [esp + 0x210], 5
call fcn.1000a300
add esp, 0xc
mov ebp, eax
push str.storage_type__d___section__d___address_0x_x___length_0x_x___file_path__s_
lea ecx, [esp + 0x13c]
push ecx
mov byte [esp + 0x20c], 6
call fcn.10009db0
lea edx, [esp + 0x110]
push edx
mov byte [esp + 0x208], 7
call fcn.10011db0
lea ecx, [esp + 0x70]
add esp, 4
push ecx
call fcn.10011db0
lea edx, [esp + 0x64]
add esp, 4
push edx
call fcn.10011db0
lea ecx, [esp + 0x58]
add esp, 4
push ecx
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x48]
push edx
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x78]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x204], 8
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x204], 9
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], 0x10
jb 0x1001d267
mov edi, dword [edi + 4]
jmp 0x1001d26a
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 0x1001d285
mov ebp, dword [ebp + 4]
jmp 0x1001d288
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0x104]
mov byte [esp + 0x204], 8
call fcn.10006cd0
cmp dword [esp + 0x90], edi
jb 0x1001d2bb
mov eax, dword [esp + 0x7c]
push eax
call fcn.100d30aa
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x138]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.10003ab0
mov edi, 0x10
cmp dword [esp + 0x100], edi
jb 0x1001d2fc
mov ecx, dword [esp + 0xec]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0xac], edi
jb 0x1001d32a
mov edx, dword [esp + 0x98]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0xc8], edi
jb 0x1001d358
mov eax, dword [esp + 0xb4]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xe4], edi
jb 0x1001d386
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
cmp dword [esp + 0x44], edi
jb 0x1001d3ae
mov edx, dword [esp + 0x30]
push edx
call fcn.100d30aa
add esp, 4
mov byte [esp + 0x204], bl
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
cmp dword [esp + 0x134], edi
jb 0x1001d3da
mov eax, dword [esp + 0x120]
push eax
call fcn.100d30aa
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1001d0e1
mov dword [esp + 0x204], 0xffffffff
cmp eax, ebx
je 0x1001d402
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x20c]
test byte [edi], 0x10
je 0x1001d7f6
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], ecx
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.1000a3d0
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov dword [eax], ebx
mov dword [esp + 0x204], 0xa
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1001d462
push eax
call fcn.10072220
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1001d7de
lea edx, [edi + 0x224]
lea eax, [edi + 0x220]
mov ecx, 0x10014a30
mov dword [esp + 0x54], edx
lea edx, [edi + 0x228]
mov dword [esp + 0x48], eax
mov eax, 0x10014a20
add edi, 0x230
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], 0x1003e9a0
mov dword [esp + 0x74], 0x1003e9b0
jmp 0x1001d4d0
push 0x1012a9d4
push 0x1012b2b4
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], 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 + 0x144]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x210], 0xb
push 3
push 0x1012a9fc
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.10007110
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0x21c], 0xc
call fcn.1000a250
add esp, 0xc
push eax
lea edx, [esp + 0xf8]
push edx
mov byte [esp + 0x218], 0xd
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0xa0]
push eax
mov byte [esp + 0x214], 0xe
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x210], 0xf
call fcn.1000a300
add esp, 0xc
mov ebp, eax
push str.cell_usage__d___addr_type__d___bin_type__d___operation_type__d_
lea edx, [esp + 0x13c]
push edx
mov byte [esp + 0x20c], 0x10
call fcn.10009db0
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x208], 0x11
call fcn.10011db0
lea edx, [esp + 0x58]
add esp, 4
push edx
call fcn.10011db0
lea ecx, [esp + 0x64]
add esp, 4
push ecx
call fcn.10011db0
lea edx, [esp + 0x70]
add esp, 4
push edx
call fcn.10011db0
add esp, 4
lea edx, [esp + 0xcc]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x204], 0x12
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x204], 0x13
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], 0x10
jb 0x1001d649
mov edi, dword [edi + 4]
jmp 0x1001d64c
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 0x1001d667
mov ebp, dword [ebp + 4]
jmp 0x1001d66a
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0x104]
mov byte [esp + 0x204], 0x12
call fcn.10006cd0
cmp dword [esp + 0xe4], edi
jb 0x1001d6a0
mov eax, dword [esp + 0xd0]
push eax
call fcn.100d30aa
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x138]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call fcn.10003ab0
mov edi, 0x10
cmp dword [esp + 0xc8], edi
jb 0x1001d6e4
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xac], edi
jb 0x1001d712
mov edx, dword [esp + 0x98]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0x100], edi
jb 0x1001d740
mov eax, dword [esp + 0xec]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0x90], edi
jb 0x1001d76b
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x44], edi
jb 0x1001d790
mov edx, dword [esp + 0x30]
push edx
call fcn.100d30aa
add esp, 4
mov byte [esp + 0x204], 0xa
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
cmp dword [esp + 0x134], edi
jb 0x1001d7bd
mov eax, dword [esp + 0x120]
push eax
call fcn.100d30aa
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], ebx
mov byte [esp + 0x120], bl
cmp eax, ebx
jne 0x1001d4d0
mov dword [esp + 0x204], 0xffffffff
cmp eax, ebx
je 0x1001d7f6
push eax
call fcn.10072220
add esp, 4
mov ecx, dword [esp + 0x1fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f4
ret