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

Disassembly:
push 0xffffffffffffffff
push 0x100facbd
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x1012fdf0]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1012fdf0]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x100]
mov ebp, dword [esp + 0x104]
xor ebx, ebx
mov dword [esp + 0x14], ebx
push 2
xor edi, edi
push 0x101085f8
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
lea esi, [edi + 1]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], bl
call fcn.10005cd0
push str.._adaptor_cflashtool_api.cpp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xb4]
push edx
mov dword [esp + 0x104], edi
call fcn.10007a10
add esp, 0xc
push str.__line:
push eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x104], 1
call fcn.10007a10
add esp, 0xc
push 0x10108e18
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x104], 2
call fcn.10007a10
sub esp, 0x10
mov edx, esp
mov byte [esp + 0x114], 3
mov dword [esp + 0x34], esp
push 0x101085d0
push eax
push edx
call fcn.10007a10
sub esp, 0x10
mov byte [esp + 0x130], 4
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x26
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push str.cflashtool_api::FlashTool_ChangeCOM_Ex
mov byte [ecx + 4], bl
call fcn.10005cd0
mov ecx, esi
lea edx, [esp + 0x100]
mov byte [esp + 0x130], 3
call fcn.1003be80
mov esi, 0x10
cmp dword [esp + 0x54], esi
jb 0x10019291
mov eax, dword [esp + 0x40]
push eax
call fcn.100b3111
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
cmp dword [esp + 0x8c], esi
jb 0x100192b8
mov ecx, dword [esp + 0x78]
push ecx
call fcn.100b3111
add esp, 4
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
cmp dword [esp + 0xc4], esi
jb 0x100192e8
mov edx, dword [esp + 0xb0]
push edx
call fcn.100b3111
add esp, 4
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], edi
mov byte [esp + 0xb0], 0
mov byte [esp + 0xf8], 9
cmp dword [esp + 0x38], esi
jb 0x1001931d
mov eax, dword [esp + 0x24]
push eax
call fcn.100b3111
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.100b3374
mov dword [esp + 0x18], eax
cmp dword [ebp], edi
jne 0x10019382
mov ecx, dword [ebp + 4]
push edi
push ecx
lea esi, [esp + 0x98]
call fcn.1003c920
push eax
lea edx, [esp + 0x64]
push 0x10108e44
mov byte [esp + 0x108], 0xa
or ebx, 1
push edx
mov dword [esp + 0x28], ebx
call fcn.1002b4a0
add esp, 0x14
or ebx, 2
cmp dword [eax + 0x18], 0x10
jb 0x1001937d
mov eax, dword [eax + 4]
jmp 0x10019385
add eax, 4
jmp 0x10019385
mov eax, dword [ebp + 4]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.FlashtoollibEx.dll_flashtool_reconnect_com]
mov esi, eax
test bl, 2
je 0x100193c2
and ebx, 0xfffffffd
cmp dword [esp + 0x70], 0x10
jb 0x100193b1
mov edx, dword [esp + 0x5c]
push edx
call fcn.100b3111
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
mov dword [esp + 0xf8], 9
test bl, 1
je 0x10019409
and ebx, 0xfffffffe
cmp dword [esp + 0xa8], 0x10
jb 0x100193ef
mov eax, dword [esp + 0x94]
push eax
call fcn.100b3111
add esp, 4
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], edi
mov byte [esp + 0x94], 0
cmp esi, edi
je 0x1001943c
push 0x64
call sub.KERNEL32.dll_Sleep
call fcn.100b3374
sub eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv qword [0x1010d4a8]
fcomp qword [0x1010d4d8]
fnstsw ax
test ah, 5
jnp 0x10019337
lea ecx, [esp + 0xc8]
push ecx
mov dword [esp + 0xfc], 0xffffffff
call fcn.1003c130
mov eax, esi
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.100b2691
add esp, 0xe8
ret 8