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

Disassembly:
push 0xffffffffffffffff
push 0x100fb312
mov eax, dword fs:[0]
push eax
mov eax, 0x1b1d4
call fcn.100bbf80
mov eax, dword [0x1012fdf0]
xor eax, esp
mov dword [esp + 0x1b1d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1012fdf0]
xor eax, esp
push eax
lea eax, [esp + 0x1b1e8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1b1f8]
push 2
mov dword [esp + 0x34], ecx
xor ebx, ebx
mov edi, 0xf
push 0x101085f8
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], eax
mov esi, 1
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.10005cd0
push str.._adaptor_cflashtool_api.cpp
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0x1b1fc], ebx
call fcn.10007a10
add esp, 0xc
push str.__line:
push eax
lea ecx, [esp + 0xc4]
push ecx
mov byte [esp + 0x1b1fc], 1
call fcn.10007a10
add esp, 0xc
push 0x10108f98
push eax
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x1b1fc], 2
call fcn.10007a10
sub esp, 0x10
mov ecx, esp
mov byte [esp + 0x1b20c], 3
mov dword [esp + 0x30], esp
push 0x101085d0
push eax
push ecx
call fcn.10007a10
sub esp, 0x10
mov byte [esp + 0x1b228], 4
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x22
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.cflashtool_api::FlashTool_Readback
mov byte [ecx + 4], bl
call fcn.10005cd0
mov ecx, esi
lea edx, [esp + 0x1f8]
mov byte [esp + 0x1b228], 3
call fcn.1003be80
mov ebp, 0x10
cmp dword [esp + 0x9c], ebp
jb 0x1001ae97
mov edx, dword [esp + 0x88]
push edx
call fcn.100b3111
add esp, 4
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
cmp dword [esp + 0xd4], ebp
jb 0x1001aec5
mov eax, dword [esp + 0xc0]
push eax
call fcn.100b3111
add esp, 4
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
cmp dword [esp + 0xb8], ebp
jb 0x1001aef3
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.100b3111
add esp, 4
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
mov byte [esp + 0x1b1f0], 9
cmp dword [esp + 0x54], ebp
jb 0x1001af23
mov edx, dword [esp + 0x40]
push edx
call fcn.100b3111
add esp, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x24], ebx
je 0x1001b204
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1001b204
cmp dword [esp + 0x1b1fc], ebx
je 0x1001b204
mov esi, dword [eax + 4]
mov eax, dword [0x10135b94]
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x1001afc6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1010c1d4
push eax
call edi
cmp eax, ebx
je 0x1001af7c
lea ecx, [esp + 0x18]
push ecx
push esi
call eax
mov eax, dword [0x10135b94]
cmp eax, ebx
je 0x1001afc6
push 0x1010c1f8
push eax
call edi
cmp eax, ebx
je 0x1001afc6
push 0x80
lea edx, [esp + 0x1e8]
push edx
push esi
call eax
mov edi, eax
cmp edi, ebx
je 0x1001afcd
lea eax, [esp + 0x1c0]
push eax
mov dword [esp + 0x1b1f4], 0xffffffff
call fcn.1003c130
mov eax, edi
jmp 0x1001b221
mov edi, 0xc001000c
jmp 0x1001afa7
lea ecx, [esp + 0x20]
push ecx
push esi
call sym.Flashtoollib.dll_RB_GetAddrTypeFlag
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 1
mov dword [esp + 0x14], edx
call fcn.100433c0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
mov esi, eax
call fcn.10007ae0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [eax], ebx
mov byte [esp + 0x1b1f0], 0xa
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1001b025
push eax
call fcn.1005c230
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1001b132
lea edx, [esp + 0x20]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 0x1002d340
mov dword [esp + 0x60], 0x1002d350
push str.addr_flag:__d
lea eax, [esp + 0x104]
push eax
call fcn.10007580
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x1b1f4], 0xb
call fcn.1000f490
add esp, 4
lea edx, [esp + 0xd8]
mov ecx, eax
call fcn.10007680
mov esi, eax
mov byte [esp + 0x1b1f0], 0xc
call fcn.100433c0
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.10007b90
add esp, 0xc
mov byte [esp + 0x1b1f0], 0xd
mov ecx, dword [eax + 4]
mov ebx, dword [esi + 0x14]
add ecx, 4
cmp dword [esi + 0x18], ebp
jb 0x1001b0c0
mov esi, dword [esi + 4]
jmp 0x1001b0c3
add esi, 4
push esi
call fcn.10008730
lea ecx, [esp + 0xf4]
mov byte [esp + 0x1b1f0], 0xc
call fcn.10005040
cmp dword [esp + 0xf0], ebp
jb 0x1001b0f6
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.100b3111
add esp, 4
lea edx, [esp + 0x100]
xor ebx, ebx
push edx
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
mov byte [esp + 0x1b1f4], 0xa
call fcn.100031a0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x1001b049
mov byte [esp + 0x1b1f0], 9
cmp eax, ebx
je 0x1001b14b
push eax
call fcn.1005c230
add esp, 4
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x95e8]
push edx
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x1f8]
push eax
call fcn.1001aa10
mov eax, dword [esp + 0x3c]
add esp, 0x18
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], ecx
movzx ecx, word [esp + 0x18]
lea edx, [esp + 0x64]
push edx
push ecx
lea edx, [esp + 0x95ec]
push edx
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x78], 0x1001a920
mov dword [esp + 0x7c], 0x1001a980
mov dword [esp + 0x80], 0x1001a990
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call dword [sym.imp.FlashtoollibEx.dll_flashtool_readback]
mov esi, eax
lea eax, [esp + 0x1c0]
push eax
mov dword [esp + 0x1b1f4], 0xffffffff
call fcn.1003c130
mov eax, esi
jmp 0x1001b221
lea ecx, [esp + 0x1c0]
push ecx
mov dword [esp + 0x1b1f4], 0xffffffff
call fcn.1003c130
mov eax, 0x3ea
mov ecx, dword [esp + 0x1b1e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b1d0]
xor ecx, esp
call fcn.100b2691
add esp, 0x1b1e0
ret 8