Function at 0x1001b1a0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1011e468
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x10158df0]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10158df0]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x124]
sub esp, 0x1c
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x5c], esp
mov dword [esp + 0x3c], eax
mov eax, esp
push 0x1012c9e4
push 0x1012d0e0
push str.__line:
sub esp, 0x1c
mov dword [esp + 0x5c], esp
mov dword [esp + 0x60], ecx
mov ecx, esp
push 0x1c
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.._adaptor_cflashtool_api.cpp
lea edi, [ebx + 1]
mov byte [ecx + 4], bl
mov dword [esp + 0x64], eax
call fcn.10007180
lea esi, [esp + 0xa4]
call fcn.1001a820
add esp, 0x1c
mov esi, eax
mov dword [esp + 0x144], ebx
push 3
push 0x1012ca0c
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 + 0xc8]
push eax
mov byte [esp + 0x150], 1
call fcn.1000a2e0
add esp, 0xc
push eax
lea ecx, [esp + 0xfc]
push ecx
mov byte [esp + 0x14c], 2
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x148], 3
call fcn.1000a390
add esp, 0xc
push eax
mov eax, dword [esp + 0x3c]
push eax
mov byte [esp + 0x144], 4
call fcn.1000a390
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
mov byte [esp + 0x154], 5
push 0x26
mov esi, ebp
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.cflashtool_api::FlashTool_ChangeCOM_Ex
mov byte [ecx + 4], bl
call fcn.10007180
mov ecx, edi
lea ebx, [esp + 0x124]
mov byte [esp + 0x154], 4
call fcn.10055540
mov ebp, 0x10
cmp dword [esp + 0x5c], ebp
jb 0x1001b31c
mov eax, dword [esp + 0x48]
push eax
call fcn.100d4a7a
add esp, 4
xor ebx, ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0xe8], ebp
jb 0x1001b343
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
cmp dword [esp + 0xb0], ebp
jb 0x1001b371
mov edx, dword [esp + 0x9c]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x3c], ebp
jb 0x1001b399
mov eax, dword [esp + 0x28]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x11c], 0xb
cmp dword [esp + 0x78], ebp
jb 0x1001b3c0
mov ecx, dword [esp + 0x64]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.100d4e34
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
lea esp, [esp]
cmp dword [edi], ebx
jne 0x1001b42e
movzx eax, word [edi + 4]
cdq
push edx
push eax
lea esi, [esp + 0xbc]
call fcn.10055f30
push eax
lea edx, [esp + 0x88]
push 0x1012d10c
mov byte [esp + 0x12c], 0xc
or dword [esp + 0x24], 1
push edx
call fcn.1003dc10
or dword [esp + 0x28], 2
add esp, 0x14
cmp dword [eax + 0x18], ebp
jb 0x1001b429
mov eax, dword [eax + 4]
jmp 0x1001b431
add eax, 4
jmp 0x1001b431
mov eax, dword [edi + 4]
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.FlashtoollibEx.dll_flashtool_reconnect_com]
test byte [esp + 0x14], 2
mov esi, eax
je 0x1001b47f
and dword [esp + 0x14], 0xfffffffd
cmp dword [esp + 0x94], ebp
jb 0x1001b466
mov edx, dword [esp + 0x80]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov dword [esp + 0x11c], 0xb
test byte [esp + 0x14], 1
je 0x1001b4c8
and dword [esp + 0x14], 0xfffffffe
cmp dword [esp + 0xcc], ebp
jb 0x1001b4af
mov eax, dword [esp + 0xb8]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
cmp esi, ebx
je 0x1001b4fb
push 0x64
call sub.KERNEL32.dll_Sleep
call fcn.100d4e34
sub eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fdiv qword [0x101323f0]
fcomp qword [0x10132420]
fnstsw ax
test ah, 5
jnp 0x1001b3e0
lea ecx, [esp + 0xec]
push ecx
mov dword [esp + 0x120], 0xffffffff
call fcn.100557e0
mov eax, esi
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xfc]
xor ecx, esp
call fcn.100d3ba1
add esp, 0x10c
ret 4