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

Disassembly:
push 0xffffffffffffffff
push 0x1011fb1d
mov eax, dword fs:[0]
push eax
mov eax, 0x1b69c
call fcn.100dcec0
mov eax, dword [0x10158df0]
xor eax, esp
mov dword [esp + 0x1b698], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10158df0]
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 0x1012c9e4
push 0x1012d318
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.10007180
lea esi, [esp + 0x1ac]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
mov dword [esp + 0x1b6e0], ebx
push 3
push 0x1012ca0c
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.10007180
push esi
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x128]
push eax
mov byte [esp + 0x1b6ec], 1
call fcn.1000a2e0
add esp, 0xc
push eax
lea ecx, [esp + 0x178]
push ecx
mov byte [esp + 0x1b6e8], 2
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x1b6e4], 3
call fcn.1000a390
add esp, 0xc
push eax
mov byte [esp + 0x1b6dc], 4
mov eax, dword [esp + 0x4c]
push eax
call fcn.1000a390
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.10007180
mov ecx, edi
lea ebx, [esp + 0x2c0]
mov byte [esp + 0x1b6f0], 4
call fcn.10055540
mov esi, 0x10
cmp dword [esp + 0xbc], esi
jb 0x1001de0b
mov eax, dword [esp + 0xa8]
push eax
call fcn.100d4a7a
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 0x1001de40
mov ecx, dword [esp + 0x150]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
cmp dword [esp + 0x110], esi
jb 0x1001de6e
mov edx, dword [esp + 0xfc]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
cmp dword [esp + 0x58], esi
jb 0x1001de96
mov eax, dword [esp + 0x44]
push eax
call fcn.100d4a7a
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 0x1001dec3
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
cmp dword [esp + 0x30], ebx
je 0x1001e3d8
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1001e3d8
cmp dword [esp + 0x1b6c4], ebx
je 0x1001e3d8
mov ebp, dword [eax + 4]
mov eax, dword [0x1015e9ec]
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x1001df84
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10130f60
push eax
call esi
cmp eax, ebx
je 0x1001df25
lea edx, [esp + 0x18]
push edx
push ebp
call eax
mov eax, dword [0x1015e9ec]
cmp eax, ebx
je 0x1001df84
push 0x10130f84
push eax
call esi
cmp eax, ebx
je 0x1001df84
push 0x80
lea ecx, [esp + 0x2b0]
push ecx
push ebp
call eax
mov esi, eax
cmp esi, ebx
jne 0x1001e3bc
lea eax, [esp + 0x34]
push eax
push ebp
call sym.Flashtoollib.dll_RB_GetAddrTypeFlag
mov esi, eax
cmp esi, ebx
je 0x1001df8e
lea ecx, [esp + 0x288]
push ecx
mov dword [esp + 0x1b6bc], 0xffffffff
call fcn.100557e0
mov eax, esi
jmp 0x1001e3f5
mov esi, 0xc001000c
jmp 0x1001e3bc
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 1
mov dword [esp + 0x1c], edx
call fcn.1005c4f0
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov esi, eax
call fcn.1000a460
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 0x1001e2ee
lea edx, [esp + 0x34]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0x100400e0
mov dword [esp + 0x80], 0x100400f0
jmp 0x1001e002
mov edi, esi
push 0x1012c9e4
push 0x1012d340
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.10007180
lea esi, [esp + 0x13c]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x1b6c4], 0xd
push 3
push 0x1012ca0c
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.10007180
push esi
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xf0]
push ecx
mov byte [esp + 0x1b6d0], 0xe
call fcn.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0xd0]
push edx
mov byte [esp + 0x1b6cc], 0xf
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x190]
push eax
mov byte [esp + 0x1b6c8], 0x10
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0x1a8]
push ecx
mov byte [esp + 0x1b6c4], 0x11
call fcn.1000a390
add esp, 0xc
mov ebp, eax
push str.addr_flag:__d
lea edx, [esp + 0x1cc]
push edx
mov byte [esp + 0x1b6c0], 0x12
call fcn.10009e40
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x1b6bc], 0x13
call fcn.10011e90
add esp, 4
lea edx, [esp + 0x130]
mov ecx, eax
call fcn.10009f40
mov edi, eax
mov byte [esp + 0x1b6b8], 0x14
call fcn.1005c4f0
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x1c4]
push eax
call fcn.1000a530
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 0x1001e155
mov edi, dword [edi + 4]
jmp 0x1001e158
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 0x1001e173
mov ebp, dword [ebp + 4]
jmp 0x1001e176
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x1b6b8], 0x14
call fcn.10006d40
cmp dword [esp + 0x148], edi
jb 0x1001e1ac
mov ecx, dword [esp + 0x134]
push ecx
call fcn.100d4a7a
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.10003aa0
mov edi, 0x10
cmp dword [esp + 0x1b8], edi
jb 0x1001e1f0
mov edx, dword [esp + 0x1a4]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
cmp dword [esp + 0x19c], edi
jb 0x1001e21e
mov eax, dword [esp + 0x188]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x19c], esi
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
cmp dword [esp + 0xd8], edi
jb 0x1001e24c
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
cmp dword [esp + 0xf4], edi
jb 0x1001e27a
mov edx, dword [esp + 0xe0]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
cmp dword [esp + 0x74], edi
jb 0x1001e2a2
mov eax, dword [esp + 0x60]
push eax
call fcn.100d4a7a
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 0x1001e2cf
mov ecx, dword [esp + 0x118]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
cmp dword [esp + 0x24], ebx
jne 0x1001e000
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.1001cee0
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], 0x1001cdf0
mov dword [esp + 0x94], 0x1001ce50
mov dword [esp + 0x98], 0x1001ce60
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call fcn.1001d880
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.100557e0
mov eax, esi
jmp 0x1001e3f5
lea eax, [esp + 0x288]
push eax
mov dword [esp + 0x1b6bc], 0xffffffff
call fcn.100557e0
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.100d3ba1
add esp, 0x1b6a8
ret 8