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

Disassembly:
push 0xffffffffffffffff
push 0x1011f18d
mov eax, dword fs:[0]
push eax
mov eax, 0x1b69c
call fcn.100dc630
mov eax, dword [0x10157de0]
xor eax, esp
mov dword [esp + 0x1b698], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10157de0]
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 0x1012b9e4
push 0x1012c318
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.1001a7c0
add esp, 0x1c
mov esi, eax
mov dword [esp + 0x1b6e0], ebx
push 3
push 0x1012ba0c
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.1000a2c0
add esp, 0xc
push eax
lea ecx, [esp + 0x178]
push ecx
mov byte [esp + 0x1b6e8], 2
call fcn.1000a370
add esp, 0xc
push eax
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x1b6e4], 3
call fcn.1000a370
add esp, 0xc
push eax
mov byte [esp + 0x1b6dc], 4
mov eax, dword [esp + 0x4c]
push eax
call fcn.1000a370
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.10054c90
mov esi, 0x10
cmp dword [esp + 0xbc], esi
jb 0x1001ddab
mov eax, dword [esp + 0xa8]
push eax
call fcn.100d41da
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 0x1001dde0
mov ecx, dword [esp + 0x150]
push ecx
call fcn.100d41da
add esp, 4
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
cmp dword [esp + 0x110], esi
jb 0x1001de0e
mov edx, dword [esp + 0xfc]
push edx
call fcn.100d41da
add esp, 4
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
cmp dword [esp + 0x58], esi
jb 0x1001de36
mov eax, dword [esp + 0x44]
push eax
call fcn.100d41da
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 0x1001de63
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.100d41da
add esp, 4
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
cmp dword [esp + 0x30], ebx
je 0x1001e378
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1001e378
cmp dword [esp + 0x1b6c4], ebx
je 0x1001e378
mov ebp, dword [eax + 4]
mov eax, dword [0x1015d9ec]
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x1001df24
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1012fea4
push eax
call esi
cmp eax, ebx
je 0x1001dec5
lea edx, [esp + 0x18]
push edx
push ebp
call eax
mov eax, dword [0x1015d9ec]
cmp eax, ebx
je 0x1001df24
push 0x1012fec8
push eax
call esi
cmp eax, ebx
je 0x1001df24
push 0x80
lea ecx, [esp + 0x2b0]
push ecx
push ebp
call eax
mov esi, eax
cmp esi, ebx
jne 0x1001e35c
lea eax, [esp + 0x34]
push eax
push ebp
call sym.Flashtoollib.dll_RB_GetAddrTypeFlag
mov esi, eax
cmp esi, ebx
je 0x1001df2e
lea ecx, [esp + 0x288]
push ecx
mov dword [esp + 0x1b6bc], 0xffffffff
call fcn.10054f30
mov eax, esi
jmp 0x1001e395
mov esi, 0xc001000c
jmp 0x1001e35c
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 1
mov dword [esp + 0x1c], edx
call fcn.1005bc40
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov esi, eax
call fcn.1000a440
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 0x1001e28e
lea edx, [esp + 0x34]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0x1003fae0
mov dword [esp + 0x80], 0x1003faf0
jmp 0x1001dfa2
mov edi, esi
push 0x1012b9e4
push 0x1012c340
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.1001a7c0
add esp, 0x1c
mov esi, eax
mov byte [esp + 0x1b6c4], 0xd
push 3
push 0x1012ba0c
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.1000a2c0
add esp, 0xc
push eax
lea edx, [esp + 0xd0]
push edx
mov byte [esp + 0x1b6cc], 0xf
call fcn.1000a370
add esp, 0xc
push eax
lea eax, [esp + 0x190]
push eax
mov byte [esp + 0x1b6c8], 0x10
call fcn.1000a370
add esp, 0xc
push eax
lea ecx, [esp + 0x1a8]
push ecx
mov byte [esp + 0x1b6c4], 0x11
call fcn.1000a370
add esp, 0xc
mov ebp, eax
push str.addr_flag:__d
lea edx, [esp + 0x1cc]
push edx
mov byte [esp + 0x1b6c0], 0x12
call fcn.10009e20
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x1b6bc], 0x13
call fcn.10011e10
add esp, 4
lea edx, [esp + 0x130]
mov ecx, eax
call fcn.10009f20
mov edi, eax
mov byte [esp + 0x1b6b8], 0x14
call fcn.1005bc40
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x1c4]
push eax
call fcn.1000a4f0
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 0x1001e0f5
mov edi, dword [edi + 4]
jmp 0x1001e0f8
add edi, 4
push eax
push edi
mov ecx, esi
call fcn.100087c0
mov eax, dword [ebp + 0x14]
mov edi, 0x10
cmp dword [ebp + 0x18], edi
jb 0x1001e113
mov ebp, dword [ebp + 4]
jmp 0x1001e116
add ebp, 4
push eax
push ebp
mov ecx, esi
call fcn.100087c0
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x1b6b8], 0x14
call fcn.10006d40
cmp dword [esp + 0x148], edi
jb 0x1001e14c
mov ecx, dword [esp + 0x134]
push ecx
call fcn.100d41da
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 0x1001e190
mov edx, dword [esp + 0x1a4]
push edx
call fcn.100d41da
add esp, 4
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
cmp dword [esp + 0x19c], edi
jb 0x1001e1be
mov eax, dword [esp + 0x188]
push eax
call fcn.100d41da
add esp, 4
mov dword [esp + 0x19c], esi
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
cmp dword [esp + 0xd8], edi
jb 0x1001e1ec
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.100d41da
add esp, 4
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
cmp dword [esp + 0xf4], edi
jb 0x1001e21a
mov edx, dword [esp + 0xe0]
push edx
call fcn.100d41da
add esp, 4
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
cmp dword [esp + 0x74], edi
jb 0x1001e242
mov eax, dword [esp + 0x60]
push eax
call fcn.100d41da
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 0x1001e26f
mov ecx, dword [esp + 0x118]
push ecx
call fcn.100d41da
add esp, 4
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
cmp dword [esp + 0x24], ebx
jne 0x1001dfa0
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.1001ce80
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], 0x1001cd90
mov dword [esp + 0x94], 0x1001cdf0
mov dword [esp + 0x98], 0x1001ce00
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call fcn.1001d820
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.10054f30
mov eax, esi
jmp 0x1001e395
lea eax, [esp + 0x288]
push eax
mov dword [esp + 0x1b6bc], 0xffffffff
call fcn.10054f30
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.100d3301
add esp, 0x1b6a8
ret 8