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

Disassembly:
push 0xffffffffffffffff
push 0x1011ddcd
mov eax, dword fs:[0]
push eax
mov eax, 0x1b69c
call fcn.100db4f0
mov eax, dword [0x10156de0]
xor eax, esp
mov dword [esp + 0x1b698], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10156de0]
xor eax, esp
push eax
lea eax, [esp + 0x1b6b0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1b6c0]
sub esp, 0x1c
mov dword [esp + 0x3c], esp
mov dword [esp + 0x4c], eax
mov eax, esp
push 0x1012a9d4
push 0x1012b308
push str.__line:
sub esp, 0x1c
mov dword [esp + 0x70], ecx
mov ecx, esp
mov dword [esp + 0x60], esp
xor ebx, ebx
push 0x1c
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
mov edi, 1
mov byte [ecx + 4], bl
mov dword [esp + 0x74], eax
call fcn.10007110
lea esi, [esp + 0x1ac]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov dword [esp + 0x1b6e0], ebx
push 3
push 0x1012a9fc
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.10007110
push esi
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x128]
push eax
mov byte [esp + 0x1b6ec], 1
call fcn.1000a250
add esp, 0xc
push eax
lea ecx, [esp + 0x178]
push ecx
mov byte [esp + 0x1b6e8], 2
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x1b6e4], 3
call fcn.1000a300
add esp, 0xc
push eax
mov byte [esp + 0x1b6dc], 4
mov eax, dword [esp + 0x4c]
push eax
call fcn.1000a300
sub esp, 0x10
mov byte [esp + 0x1b6f0], 5
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x22
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.cflashtool_api::FlashTool_Readback
mov byte [ecx + 4], bl
call fcn.10007110
mov ecx, edi
lea ebx, [esp + 0x2c0]
mov byte [esp + 0x1b6f0], 4
call fcn.100537f0
mov esi, 0x10
cmp dword [esp + 0xbc], esi
jb 0x1001dd9b
mov eax, dword [esp + 0xa8]
push eax
call fcn.100d30aa
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
cmp dword [esp + 0x164], esi
jb 0x1001ddd0
mov ecx, dword [esp + 0x150]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
cmp dword [esp + 0x110], esi
jb 0x1001ddfe
mov edx, dword [esp + 0xfc]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
cmp dword [esp + 0x58], esi
jb 0x1001de26
mov eax, dword [esp + 0x44]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x1b6b8], 0xb
cmp dword [esp + 0x180], esi
jb 0x1001de53
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
cmp dword [esp + 0x30], ebx
je 0x1001e368
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1001e368
cmp dword [esp + 0x1b6c4], ebx
je 0x1001e368
mov ebp, dword [eax + 4]
mov eax, dword [0x1015c9ec]
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x1001df14
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1012ed08
push eax
call esi
cmp eax, ebx
je 0x1001deb5
lea edx, [esp + 0x18]
push edx
push ebp
call eax
mov eax, dword [0x1015c9ec]
cmp eax, ebx
je 0x1001df14
push 0x1012ed2c
push eax
call esi
cmp eax, ebx
je 0x1001df14
push 0x80
lea ecx, [esp + 0x2b0]
push ecx
push ebp
call eax
mov esi, eax
cmp esi, ebx
jne 0x1001e34c
lea eax, [esp + 0x34]
push eax
push ebp
call sym.Flashtoollib.dll_RB_GetAddrTypeFlag
mov esi, eax
cmp esi, ebx
je 0x1001df1e
lea ecx, [esp + 0x288]
push ecx
mov dword [esp + 0x1b6bc], 0xffffffff
call fcn.10053a90
mov eax, esi
jmp 0x1001e385
mov esi, 0xc001000c
jmp 0x1001e34c
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 1
mov dword [esp + 0x1c], edx
call fcn.1005ab30
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov esi, eax
call fcn.1000a3d0
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov dword [eax], ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b6b8], 0xc
call fcn.10002f90
cmp dword [esp + 0x24], ebx
je 0x1001e27e
lea edx, [esp + 0x34]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0x1003ea00
mov dword [esp + 0x80], 0x1003ea10
jmp 0x1001df92
mov edi, esi
push 0x1012a9d4
push 0x1012b330
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x1c
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 + 0x13c]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x1b6c4], 0xd
push 3
push 0x1012a9fc
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.10007110
push esi
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xf0]
push ecx
mov byte [esp + 0x1b6d0], 0xe
call fcn.1000a250
add esp, 0xc
push eax
lea edx, [esp + 0xd0]
push edx
mov byte [esp + 0x1b6cc], 0xf
call fcn.1000a300
add esp, 0xc
push eax
lea eax, [esp + 0x190]
push eax
mov byte [esp + 0x1b6c8], 0x10
call fcn.1000a300
add esp, 0xc
push eax
lea ecx, [esp + 0x1a8]
push ecx
mov byte [esp + 0x1b6c4], 0x11
call fcn.1000a300
add esp, 0xc
mov ebp, eax
push str.addr_flag:__d
lea edx, [esp + 0x1cc]
push edx
mov byte [esp + 0x1b6c0], 0x12
call fcn.10009db0
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x1b6bc], 0x13
call fcn.10011db0
add esp, 4
lea edx, [esp + 0x130]
mov ecx, eax
call fcn.10009eb0
mov edi, eax
mov byte [esp + 0x1b6b8], 0x14
call fcn.1005ab30
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x1c4]
push eax
call fcn.1000a480
add esp, 0xc
mov byte [esp + 0x1b6b8], 0x15
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x14]
add esi, 4
cmp dword [edi + 0x18], 0x10
jb 0x1001e0e5
mov edi, dword [edi + 4]
jmp 0x1001e0e8
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 0x1001e103
mov ebp, dword [ebp + 4]
jmp 0x1001e106
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.10008750
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x1b6b8], 0x14
call fcn.10006cd0
cmp dword [esp + 0x148], edi
jb 0x1001e13c
mov ecx, dword [esp + 0x134]
push ecx
call fcn.100d30aa
add esp, 4
mov esi, 0xf
lea edi, [esp + 0x1c8]
mov dword [esp + 0x148], esi
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
call fcn.10003ab0
mov edi, 0x10
cmp dword [esp + 0x1b8], edi
jb 0x1001e180
mov edx, dword [esp + 0x1a4]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
cmp dword [esp + 0x19c], edi
jb 0x1001e1ae
mov eax, dword [esp + 0x188]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x19c], esi
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
cmp dword [esp + 0xd8], edi
jb 0x1001e1dc
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
cmp dword [esp + 0xf4], edi
jb 0x1001e20a
mov edx, dword [esp + 0xe0]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
cmp dword [esp + 0x74], edi
jb 0x1001e232
mov eax, dword [esp + 0x60]
push eax
call fcn.100d30aa
add esp, 4
mov byte [esp + 0x1b6b8], 0xc
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0x12c], edi
jb 0x1001e25f
mov ecx, dword [esp + 0x118]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
cmp dword [esp + 0x24], ebx
jne 0x1001df90
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b6b8], 0xb
call fcn.10002f90
mov edi, dword [esp + 0x2c]
mov edx, dword [edi]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x96b0]
push ecx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2bc]
push ecx
call fcn.1001ce70
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
add esp, 0x14
push eax
lea ecx, [esp + 0x96b0]
lea edx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], 0x1001cd80
mov dword [esp + 0x94], 0x1001cde0
mov dword [esp + 0x98], 0x1001cdf0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call fcn.1001d810
movzx eax, word [esp + 0x20]
add esp, 8
lea edx, [esp + 0x84]
push edx
push eax
lea ecx, [esp + 0x96b4]
push ecx
push esi
call dword [sym.imp.FlashtoollibEx.dll_flashtool_readback]
mov esi, eax
lea edx, [esp + 0x288]
push edx
mov dword [esp + 0x1b6bc], 0xffffffff
call fcn.10053a90
mov eax, esi
jmp 0x1001e385
lea eax, [esp + 0x288]
push eax
mov dword [esp + 0x1b6bc], 0xffffffff
call fcn.10053a90
mov eax, 0x3ea
mov ecx, dword [esp + 0x1b6b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b698]
xor ecx, esp
call fcn.100d21d1
add esp, 0x1b6a8
ret 8