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

Disassembly:
push 0xffffffffffffffff
push 0x1011e0dc
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10158df0]
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.1005c4f0
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 0x1001d0cb
push eax
call fcn.10073c20
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1001d456
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, 0x10040030
mov ecx, 0x10040040
add eax, 0x20
mov dword [esp + 0x114], 0x10040000
mov dword [esp + 0x118], 0x10040010
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], 0x10040060
mov dword [esp + 0x50], 0x10040070
push 0x1012c9e4
push 0x1012d274
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 0x1012ca0c
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.1005c4f0
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 0x1001d2d7
mov edi, dword [edi + 4]
jmp 0x1001d2da
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 0x1001d2f5
mov ebp, dword [ebp + 4]
jmp 0x1001d2f8
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 0x1001d32b
mov eax, dword [esp + 0x7c]
push eax
call fcn.100d4a7a
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 0x1001d36c
mov ecx, dword [esp + 0xec]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0xac], edi
jb 0x1001d39a
mov edx, dword [esp + 0x98]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0xc8], edi
jb 0x1001d3c8
mov eax, dword [esp + 0xb4]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xe4], edi
jb 0x1001d3f6
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
cmp dword [esp + 0x44], edi
jb 0x1001d41e
mov edx, dword [esp + 0x30]
push edx
call fcn.100d4a7a
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 0x1001d44a
mov eax, dword [esp + 0x120]
push eax
call fcn.100d4a7a
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1001d151
mov dword [esp + 0x204], 0xffffffff
cmp eax, ebx
je 0x1001d472
push eax
call fcn.10073c20
add esp, 4
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x20c]
test byte [edi], 0x10
je 0x1001d866
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], ecx
call fcn.1005c4f0
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 0x1001d4d2
push eax
call fcn.10073c20
add esp, 4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1001d84e
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], 0x10040080
mov dword [esp + 0x74], 0x10040090
jmp 0x1001d540
push 0x1012c9e4
push 0x1012d2c4
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 0x1012ca0c
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.1005c4f0
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 0x1001d6b9
mov edi, dword [edi + 4]
jmp 0x1001d6bc
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 0x1001d6d7
mov ebp, dword [ebp + 4]
jmp 0x1001d6da
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 0x1001d710
mov eax, dword [esp + 0xd0]
push eax
call fcn.100d4a7a
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 0x1001d754
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp dword [esp + 0xac], edi
jb 0x1001d782
mov edx, dword [esp + 0x98]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0x100], edi
jb 0x1001d7b0
mov eax, dword [esp + 0xec]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0x90], edi
jb 0x1001d7db
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x44], edi
jb 0x1001d800
mov edx, dword [esp + 0x30]
push edx
call fcn.100d4a7a
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 0x1001d82d
mov eax, dword [esp + 0x120]
push eax
call fcn.100d4a7a
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 0x1001d540
mov dword [esp + 0x204], 0xffffffff
cmp eax, ebx
je 0x1001d866
push eax
call fcn.10073c20
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