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

Disassembly:
push 0xffffffffffffffff
push 0x1011ee2c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10159df0]
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.1005cfa0
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
mov esi, eax
call fcn.1000a460
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 0x1001d1fb
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1001d586
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, 0x10040420
mov ecx, 0x10040430
add eax, 0x20
mov dword [esp + 0x114], 0x100403f0
mov dword [esp + 0x118], 0x10040400
mov dword [esp + 0x70], 0x10014ae0
mov dword [esp + 0x74], 0x10014af0
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], 0x10040450
mov dword [esp + 0x50], 0x10040460
push 0x1012d9f4
push 0x1012e2a8
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.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x210], 1
push 3
push 0x1012da1c
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.1000a2e0
add esp, 0xc
push eax
lea ecx, [esp + 0xc0]
push ecx
mov byte [esp + 0x218], 3
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x214], 4
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0xf0]
push eax
mov byte [esp + 0x210], 5
call fcn.1000a390
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.10009e40
lea edx, [esp + 0x110]
push edx
mov byte [esp + 0x208], 7
call fcn.10011e90
lea ecx, [esp + 0x70]
add esp, 4
push ecx
call fcn.10011e90
lea edx, [esp + 0x64]
add esp, 4
push edx
call fcn.10011e90
lea ecx, [esp + 0x58]
add esp, 4
push ecx
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x48]
push edx
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x78]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x204], 8
call fcn.1005cfa0
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.1000a530
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 0x1001d407
mov edi, dword [edi + 4]
jmp 0x1001d40a
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 0x1001d425
mov ebp, dword [ebp + 4]
jmp 0x1001d428
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x104]
mov byte [esp + 0x204], 8
call fcn.10006d40
cmp dword [esp + 0x90], edi
jb 0x1001d45b
mov eax, dword [esp + 0x7c]
push eax
call fcn.100d574a
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 0x1001d49c
mov ecx, dword [esp + 0xec]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0xac], edi
jb 0x1001d4ca
mov edx, dword [esp + 0x98]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0xc8], edi
jb 0x1001d4f8
mov eax, dword [esp + 0xb4]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xe4], edi
jb 0x1001d526
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
cmp dword [esp + 0x44], edi
jb 0x1001d54e
mov edx, dword [esp + 0x30]
push edx
call fcn.100d574a
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 0x1001d57a
mov eax, dword [esp + 0x120]
push eax
call fcn.100d574a
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1001d281
mov dword [esp + 0x204], 0xffffffff
cmp eax, ebx
je 0x1001d5a2
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x20c]
test byte [edi], 0x10
je 0x1001d996
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], ecx
call fcn.1005cfa0
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.1000a460
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 0x1001d602
push eax
call fcn.10074910
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1001d97e
lea edx, [edi + 0x224]
lea eax, [edi + 0x220]
mov ecx, 0x10014af0
mov dword [esp + 0x54], edx
lea edx, [edi + 0x228]
mov dword [esp + 0x48], eax
mov eax, 0x10014ae0
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], 0x10040470
mov dword [esp + 0x74], 0x10040480
jmp 0x1001d670
push 0x1012d9f4
push 0x1012e2fc
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.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x210], 0xb
push 3
push 0x1012da1c
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.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0xf8]
push edx
mov byte [esp + 0x218], 0xd
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0xa0]
push eax
mov byte [esp + 0x214], 0xe
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x210], 0xf
call fcn.1000a390
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.10009e40
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x208], 0x11
call fcn.10011e90
lea edx, [esp + 0x58]
add esp, 4
push edx
call fcn.10011e90
lea ecx, [esp + 0x64]
add esp, 4
push ecx
call fcn.10011e90
lea edx, [esp + 0x70]
add esp, 4
push edx
call fcn.10011e90
add esp, 4
lea edx, [esp + 0xcc]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x204], 0x12
call fcn.1005cfa0
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.1000a530
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 0x1001d7e9
mov edi, dword [edi + 4]
jmp 0x1001d7ec
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 0x1001d807
mov ebp, dword [ebp + 4]
jmp 0x1001d80a
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x104]
mov byte [esp + 0x204], 0x12
call fcn.10006d40
cmp dword [esp + 0xe4], edi
jb 0x1001d840
mov eax, dword [esp + 0xd0]
push eax
call fcn.100d574a
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 0x1001d884
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xac], edi
jb 0x1001d8b2
mov edx, dword [esp + 0x98]
push edx
call fcn.100d574a
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0x100], edi
jb 0x1001d8e0
mov eax, dword [esp + 0xec]
push eax
call fcn.100d574a
add esp, 4
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0x90], edi
jb 0x1001d90b
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.100d574a
add esp, 4
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x44], edi
jb 0x1001d930
mov edx, dword [esp + 0x30]
push edx
call fcn.100d574a
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 0x1001d95d
mov eax, dword [esp + 0x120]
push eax
call fcn.100d574a
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 0x1001d670
mov dword [esp + 0x204], 0xffffffff
cmp eax, ebx
je 0x1001d996
push eax
call fcn.10074910
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