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

Disassembly:
push 0xffffffffffffffff
push 0x1011d9bc
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x10157de0]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xec]
sub esp, 0x1c
mov dword [esp + 0x5c], esp
mov dword [esp + 0x3c], eax
mov eax, esp
push 0x1012b9e4
push 0x1012c13c
push str.__line:
sub esp, 0x1c
mov dword [esp + 0x5c], esp
mov dword [esp + 0x60], ecx
mov ecx, 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 + 0x64], eax
call fcn.10007180
lea esi, [esp + 0xc0]
call fcn.1001a7c0
add esp, 0x1c
mov esi, eax
mov dword [esp + 0x10c], ebx
push 3
push 0x1012ba0c
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.10007180
push esi
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x118], 1
call fcn.1000a2c0
add esp, 0xc
push eax
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0x114], 2
call fcn.1000a370
add esp, 0xc
push eax
lea edx, [esp + 0xc0]
push edx
mov byte [esp + 0x110], 3
call fcn.1000a370
add esp, 0xc
push eax
mov eax, dword [esp + 0x3c]
push eax
mov byte [esp + 0x10c], 4
call fcn.1000a370
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
mov byte [esp + 0x11c], 5
push 0x27
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.cflashtool_api::FlashTool_SetupUSBDL_EX
mov byte [ecx + 4], bl
call fcn.10007180
mov ecx, edi
lea ebx, [esp + 0xec]
mov byte [esp + 0x11c], 4
call fcn.10054c90
mov esi, 0x10
cmp dword [esp + 0xb0], esi
jb 0x1001b8fe
mov eax, dword [esp + 0x9c]
push eax
call fcn.100d41da
add esp, 4
xor ebx, ebx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x5c], esi
jb 0x1001b928
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100d41da
add esp, 4
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x78], esi
jb 0x1001b947
mov edx, dword [esp + 0x64]
push edx
call fcn.100d41da
add esp, 4
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x3c], esi
jb 0x1001b966
mov eax, dword [esp + 0x28]
push eax
call fcn.100d41da
add esp, 4
mov dword [esp + 0xe4], 0xffffffff
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x94], esi
jb 0x1001b996
mov ecx, dword [esp + 0x80]
push ecx
call fcn.100d41da
add esp, 4
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + 2]
movzx eax, word [eax + 4]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ecx]
push eax
push edx
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call dword [sym.imp.FlashtoollibEx.dll_flashtool_tell_device_change_com]
mov esi, eax
lea eax, [esp + 0xb4]
push eax
call fcn.10054f30
mov eax, esi
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.100d3301
add esp, 0xd4
ret 4