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

Disassembly:
push 0xffffffffffffffff
push 0x100fa307
mov eax, dword fs:[0]
push eax
mov eax, 0x13cb0
call fcn.100bbf80
mov eax, dword [0x1012fdf0]
xor eax, esp
mov dword [esp + 0x13ca8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1012fdf0]
xor eax, esp
push eax
lea eax, [esp + 0x13cc4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x13cd8]
mov ebp, dword [esp + 0x13cd4]
push 2
xor ebx, ebx
mov edi, 0xf
push 0x101085f8
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
mov esi, 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.10005cd0
push str.._adaptor_cflashtool_api.cpp
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x13cd8], ebx
call fcn.10007a10
add esp, 0xc
push str.__line:
push eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x13cd8], 1
call fcn.10007a10
add esp, 0xc
push 0x10109224
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x13cd8], 2
call fcn.10007a10
sub esp, 0x10
mov edx, esp
mov byte [esp + 0x13ce8], 3
mov dword [esp + 0x30], esp
push 0x101085d0
push eax
push edx
call fcn.10007a10
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x70], esp
mov byte [esp + 0x13d04], 4
push 0x2b
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.cflashtool_api::FlashTool_ReadPartitionInfo
mov byte [ecx + 4], bl
call fcn.10005cd0
mov ecx, esi
lea edx, [esp + 0xc8]
mov byte [esp + 0x13d04], 3
call fcn.1003be80
mov esi, 0x10
cmp dword [esp + 0x54], esi
jb 0x1001da2b
mov eax, dword [esp + 0x40]
push eax
call fcn.100b3111
add esp, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x8c], esi
jb 0x1001da4d
mov ecx, dword [esp + 0x78]
push ecx
call fcn.100b3111
add esp, 4
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp dword [esp + 0x70], esi
jb 0x1001da72
mov edx, dword [esp + 0x5c]
push edx
call fcn.100b3111
add esp, 4
mov dword [esp + 0x13ccc], 0xffffffff
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x34], esi
jb 0x1001da9c
mov eax, dword [esp + 0x20]
push eax
call fcn.100b3111
add esp, 4
lea ecx, [esp + 0xb4]
push ecx
push ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call dword [sym.imp.FlashtoollibEx.dll_flashtool_read_partition_table]
mov edx, dword [esp + 0x13cdc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb4]
cmp edx, eax
jb 0x1001dacf
mov edx, eax
cmp edx, ebx
jbe 0x1001db35
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xbc]
add ecx, 0x48
mov ebp, edx
mov edx, ecx
sub edx, eax
mov esi, eax
lea edi, [edx - 0x48]
lea esp, [esp]
mov dl, byte [esi]
mov byte [edi + esi], dl
inc esi
cmp dl, bl
jne 0x1001daf0
mov edx, dword [eax + 0x240]
mov dword [ecx - 8], edx
mov edx, dword [eax + 0x244]
mov dword [ecx - 4], edx
mov edx, dword [eax + 0x248]
mov dword [ecx], edx
mov edx, dword [eax + 0x24c]
mov dword [ecx + 4], edx
mov dx, word [eax + 0x254]
mov word [ecx + 8], dx
add eax, 0x278
add ecx, 0x58
sub ebp, 1
jne 0x1001dae3
lea eax, [esp + 0x90]
push eax
call fcn.1003c130
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x13cc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x13ca8]
xor ecx, esp
call fcn.100b2691
add esp, 0x13cbc
ret 0xc