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

Disassembly:
push 0xffffffffffffffff
push 0x1011d74c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10157de0]
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.1005bc40
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
mov esi, eax
call fcn.1000a440
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 0x1001d06b
push eax
call fcn.10073330
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1001d3f6
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, 0x1003fa30
mov ecx, 0x1003fa40
add eax, 0x20
mov dword [esp + 0x114], 0x1003fa00
mov dword [esp + 0x118], 0x1003fa10
mov dword [esp + 0x70], 0x10014a70
mov dword [esp + 0x74], 0x10014a80
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], 0x1003fa60
mov dword [esp + 0x50], 0x1003fa70
push 0x1012b9e4
push 0x1012c274
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.10007180
lea esi, [esp + 0x144]
call fcn.1001a7c0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x210], 1
push 3
push 0x1012ba0c
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.10007180
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xe0]
push eax
mov byte [esp + 0x21c], 2
call fcn.1000a2c0
add esp, 0xc
push eax
lea ecx, [esp + 0xc0]
push ecx
mov byte [esp + 0x218], 3
call fcn.1000a370
add esp, 0xc
push eax
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x214], 4
call fcn.1000a370
add esp, 0xc
push eax
lea eax, [esp + 0xf0]
push eax
mov byte [esp + 0x210], 5
call fcn.1000a370
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.10009e20
lea edx, [esp + 0x110]
push edx
mov byte [esp + 0x208], 7
call fcn.10011e10
lea ecx, [esp + 0x70]
add esp, 4
push ecx
call fcn.10011e10
lea edx, [esp + 0x64]
add esp, 4
push edx
call fcn.10011e10
lea ecx, [esp + 0x58]
add esp, 4
push ecx
call fcn.10011e10
add esp, 4
lea edx, [esp + 0x48]
push edx
call fcn.10011e10
add esp, 4
lea edx, [esp + 0x78]
mov ecx, eax
call fcn.10009f20
mov edi, eax
mov byte [esp + 0x204], 8
call fcn.1005bc40
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.1000a4f0
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 0x1001d277
mov edi, dword [edi + 4]
jmp 0x1001d27a
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087c0
mov eax, dword [ebp + 0x14]
mov edi, 0x10
cmp dword [ebp + 0x18], edi
jb 0x1001d295
mov ebp, dword [ebp + 4]
jmp 0x1001d298
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.100087c0
lea ecx, [esp + 0x104]
mov byte [esp + 0x204], 8
call fcn.10006d40
cmp dword [esp + 0x90], edi
jb 0x1001d2cb
mov eax, dword [esp + 0x7c]
push eax
call fcn.100d41da
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.10003aa0
mov edi, 0x10
cmp dword [esp + 0x100], edi
jb 0x1001d30c
mov ecx, dword [esp + 0xec]
push ecx
call fcn.100d41da
add esp, 4
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0xac], edi
jb 0x1001d33a
mov edx, dword [esp + 0x98]
push edx
call fcn.100d41da
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0xc8], edi
jb 0x1001d368
mov eax, dword [esp + 0xb4]
push eax
call fcn.100d41da
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xe4], edi
jb 0x1001d396
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.100d41da
add esp, 4
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
cmp dword [esp + 0x44], edi
jb 0x1001d3be
mov edx, dword [esp + 0x30]
push edx
call fcn.100d41da
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 0x1001d3ea
mov eax, dword [esp + 0x120]
push eax
call fcn.100d41da
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1001d0f1
mov dword [esp + 0x204], 0xffffffff
cmp eax, ebx
je 0x1001d412
push eax
call fcn.10073330
add esp, 4
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x20c]
test byte [edi], 0x10
je 0x1001d806
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], ecx
call fcn.1005bc40
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.1000a440
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 0x1001d472
push eax
call fcn.10073330
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1001d7ee
lea edx, [edi + 0x224]
lea eax, [edi + 0x220]
mov ecx, 0x10014a80
mov dword [esp + 0x54], edx
lea edx, [edi + 0x228]
mov dword [esp + 0x48], eax
mov eax, 0x10014a70
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], 0x1003fa80
mov dword [esp + 0x74], 0x1003fa90
jmp 0x1001d4e0
push 0x1012b9e4
push 0x1012c2c4
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.10007180
lea esi, [esp + 0x144]
call fcn.1001a7c0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x210], 0xb
push 3
push 0x1012ba0c
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.10007180
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0x21c], 0xc
call fcn.1000a2c0
add esp, 0xc
push eax
lea edx, [esp + 0xf8]
push edx
mov byte [esp + 0x218], 0xd
call fcn.1000a370
add esp, 0xc
push eax
lea eax, [esp + 0xa0]
push eax
mov byte [esp + 0x214], 0xe
call fcn.1000a370
add esp, 0xc
push eax
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x210], 0xf
call fcn.1000a370
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.10009e20
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x208], 0x11
call fcn.10011e10
lea edx, [esp + 0x58]
add esp, 4
push edx
call fcn.10011e10
lea ecx, [esp + 0x64]
add esp, 4
push ecx
call fcn.10011e10
lea edx, [esp + 0x70]
add esp, 4
push edx
call fcn.10011e10
add esp, 4
lea edx, [esp + 0xcc]
mov ecx, eax
call fcn.10009f20
mov edi, eax
mov byte [esp + 0x204], 0x12
call fcn.1005bc40
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.1000a4f0
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 0x1001d659
mov edi, dword [edi + 4]
jmp 0x1001d65c
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087c0
mov eax, dword [ebp + 0x14]
mov edi, 0x10
cmp dword [ebp + 0x18], edi
jb 0x1001d677
mov ebp, dword [ebp + 4]
jmp 0x1001d67a
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.100087c0
lea ecx, [esp + 0x104]
mov byte [esp + 0x204], 0x12
call fcn.10006d40
cmp dword [esp + 0xe4], edi
jb 0x1001d6b0
mov eax, dword [esp + 0xd0]
push eax
call fcn.100d41da
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.10003aa0
mov edi, 0x10
cmp dword [esp + 0xc8], edi
jb 0x1001d6f4
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.100d41da
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xac], edi
jb 0x1001d722
mov edx, dword [esp + 0x98]
push edx
call fcn.100d41da
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0x100], edi
jb 0x1001d750
mov eax, dword [esp + 0xec]
push eax
call fcn.100d41da
add esp, 4
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0x90], edi
jb 0x1001d77b
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.100d41da
add esp, 4
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x44], edi
jb 0x1001d7a0
mov edx, dword [esp + 0x30]
push edx
call fcn.100d41da
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 0x1001d7cd
mov eax, dword [esp + 0x120]
push eax
call fcn.100d41da
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 0x1001d4e0
mov dword [esp + 0x204], 0xffffffff
cmp eax, ebx
je 0x1001d806
push eax
call fcn.10073330
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