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

Disassembly:
push 0xffffffffffffffff
push 0x1011c808
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x10156de0]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10156de0]
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 0x1012a9d4
push 0x1012b0d0
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.10007110
lea esi, [esp + 0xa4]
call fcn.1001a7b0
add esp, 0x1c
mov esi, eax
mov dword [esp + 0x144], ebx
push 3
push 0x1012a9fc
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.10007110
push esi
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0x150], 1
call fcn.1000a250
add esp, 0xc
push eax
lea ecx, [esp + 0xfc]
push ecx
mov byte [esp + 0x14c], 2
call fcn.1000a300
add esp, 0xc
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x148], 3
call fcn.1000a300
add esp, 0xc
push eax
mov eax, dword [esp + 0x3c]
push eax
mov byte [esp + 0x144], 4
call fcn.1000a300
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.10007110
mov ecx, edi
lea ebx, [esp + 0x124]
mov byte [esp + 0x154], 4
call fcn.100537f0
mov ebp, 0x10
cmp dword [esp + 0x5c], ebp
jb 0x1001b2ac
mov eax, dword [esp + 0x48]
push eax
call fcn.100d30aa
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 0x1001b2d3
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
cmp dword [esp + 0xb0], ebp
jb 0x1001b301
mov edx, dword [esp + 0x9c]
push edx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x3c], ebp
jb 0x1001b329
mov eax, dword [esp + 0x28]
push eax
call fcn.100d30aa
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 0x1001b350
mov ecx, dword [esp + 0x64]
push ecx
call fcn.100d30aa
add esp, 4
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.100d3464
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
lea esp, [esp]
cmp dword [edi], ebx
jne 0x1001b3be
movzx eax, word [edi + 4]
cdq
push edx
push eax
lea esi, [esp + 0xbc]
call fcn.100541e0
push eax
lea edx, [esp + 0x88]
push 0x1012b0fc
mov byte [esp + 0x12c], 0xc
or dword [esp + 0x24], 1
push edx
call fcn.1003c5b0
or dword [esp + 0x28], 2
add esp, 0x14
cmp dword [eax + 0x18], ebp
jb 0x1001b3b9
mov eax, dword [eax + 4]
jmp 0x1001b3c1
add eax, 4
jmp 0x1001b3c1
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 0x1001b40f
and dword [esp + 0x14], 0xfffffffd
cmp dword [esp + 0x94], ebp
jb 0x1001b3f6
mov edx, dword [esp + 0x80]
push edx
call fcn.100d30aa
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 0x1001b458
and dword [esp + 0x14], 0xfffffffe
cmp dword [esp + 0xcc], ebp
jb 0x1001b43f
mov eax, dword [esp + 0xb8]
push eax
call fcn.100d30aa
add esp, 4
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
cmp esi, ebx
je 0x1001b48b
push 0x64
call sub.KERNEL32.dll_Sleep
call fcn.100d3464
sub eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fdiv qword [0x10130170]
fcomp qword [0x101301a0]
fnstsw ax
test ah, 5
jnp 0x1001b370
lea ecx, [esp + 0xec]
push ecx
mov dword [esp + 0x120], 0xffffffff
call fcn.10053a90
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.100d21d1
add esp, 0x10c
ret 4