Function at 0x10006de0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10041758
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x10006e18
xor eax, eax
jmp 0x10007295
cmp dword [ebx + 0x60], esi
je 0x10006e33
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x60], esi
test eax, eax
je 0x10006e33
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
lea edi, [ebx + 0x64]
push edi
push 0x1004c304
push esi
xor ebp, ebp
call dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x10007248
mov eax, dword [ecx]
lea esi, [ebx + 0xa0]
push esi
push 1
push ecx
call dword [eax + 0x58]
test dword [esi], 0x20000
je 0x10006ebc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
mov edx, eax
xor ecx, ecx
mov dword [esp + 0x18], ecx
test edx, edx
je 0x10006e95
mov eax, dword [edx]
lea ecx, [esp + 0x18]
push ecx
push 0x1004c7c8
push edx
call dword [eax]
mov ecx, dword [esp + 0x18]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], 0
mov eax, dword [edi]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10006ebc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [esp + 0x34], 0
jne 0x10006ffa
mov edx, dword [edi]
xor ecx, ecx
mov dword [esp + 0x34], ecx
test edx, edx
je 0x10006ef1
mov eax, dword [edx]
lea ecx, [esp + 0x34]
push ecx
push 0x1004c360
push edx
call dword [eax]
mov ecx, dword [esp + 0x34]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], 1
test ecx, ecx
je 0x10006f18
mov edx, dword [esp + 0x38]
mov eax, dword [ecx]
test edx, edx
je 0x10006f10
push edx
push ecx
call dword [eax + 0x14]
mov ebp, eax
jmp 0x10006f7e
push ecx
call dword [eax + 0x20]
mov ebp, eax
jmp 0x10006f7e
cmp dword [esp + 0x38], 0
je 0x10006fe8
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x10006f52
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x1004c314
push dword [edi]
call dword [eax]
mov edx, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
cmovs edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
mov byte [esp + 0x28], 2
test edx, edx
je 0x10006f6f
push dword [esp + 0x38]
mov eax, dword [edx]
push edx
call dword [eax + 0x14]
mov ecx, dword [esp + 0x34]
mov ebp, eax
mov edx, dword [esp + 0x18]
mov byte [esp + 0x28], 1
test edx, edx
je 0x10006f82
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x34]
test ebp, ebp
jns 0x10006fe8
test dword [esi], 0x20000
je 0x10006f9c
mov eax, dword [edi]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ecx, dword [esp + 0x34]
mov dword [esi], 0
mov edx, dword [edi]
test edx, edx
je 0x10006fb8
mov dword [edi], 0
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x10006fd0
mov dword [ebx + 0x60], 0
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
test ecx, ecx
je 0x10007293
mov eax, dword [ecx]
push ecx
jmp 0x10007290
mov dword [esp + 0x28], 0xffffffff
test ecx, ecx
je 0x10006ffa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test dword [esi], 0x20000
jne 0x10007058
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
xor ecx, ecx
mov dword [esp + 0x34], ecx
test eax, eax
je 0x10007031
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push 0x1004c7c8
push eax
call dword [ecx]
mov ecx, dword [esp + 0x34]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], 3
mov eax, dword [edi]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10007058
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi]
lea esi, [ebx + 0x70]
push esi
mov dword [ebx + 0x90], 0
push 0x1004c324
mov eax, dword [ecx]
push ecx
call dword [eax]
mov ebp, eax
test ebp, ebp
jns 0x100070b6
mov eax, dword [edi]
push esi
push 0x1004c334
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ebp, eax
test ebp, ebp
js 0x10007097
mov dword [ebx + 0x90], 3
jmp 0x100070c0
mov eax, dword [edi]
push esi
push 0x1004c344
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ebp, eax
test ebp, ebp
js 0x100070c0
mov dword [ebx + 0x90], 1
jmp 0x100070c0
mov dword [ebx + 0x90], 7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test eax, eax
je 0x100070ef
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x1004c868
push eax
call dword [ecx]
mov ecx, dword [esp + 0x14]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], 4
lea eax, [ebx + 0x9c]
mov edx, dword [edi]
push eax
push ecx
push edx
mov esi, dword [edx]
call dword [esi + 0x4c]
mov ecx, dword [ebx + 0x70]
test ecx, ecx
je 0x1000711c
push dword [esp + 0x14]
mov eax, dword [ecx]
push 0
push 1
push ecx
call dword [eax + 0x1c]
mov eax, dword [edi]
push 0
push str.AXWIN
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test dword [ebx + 0xa0], 0x400
jne 0x1000722e
lea esi, [ebx + 0xb4]
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 0xbc]
lea ecx, [ebx + 0xac]
sub eax, dword [esi]
lea ebp, [ebx + 0xa4]
mov dword [ecx], eax
mov edx, ebp
mov eax, dword [ebx + 0xc0]
sub eax, dword [ebx + 0xb8]
mov dword [ebx + 0xb0], eax
call fcn.10006c80
mov eax, dword [edi]
push ebp
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
js 0x100072ab
mov eax, dword [edi]
push ebp
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x48]
mov esi, eax
test esi, esi
js 0x100072ab
lea edx, [ebx + 0xac]
mov ecx, ebp
call fcn.10006d10
mov eax, dword [ebx + 0xb4]
lea esi, [ebx + 0xb4]
add eax, dword [ebx + 0xac]
mov ecx, ebx
mov dword [ebx + 0xbc], eax
mov eax, dword [ebx + 0xb0]
add eax, dword [ebx + 0xb8]
mov dword [ebx + 0xc0], eax
mov eax, dword [ebx]
call dword [eax + 0x10]
push eax
lea ecx, [esp + 0x3c]
call fcn.10006da0
push esi
mov byte [esp + 0x2c], 5
push dword [ebx + 4]
mov eax, dword [edi]
push 0
push dword [esp + 0x44]
mov ecx, dword [eax]
push 0
push 0xfffffffffffffffb
push eax
call dword [ecx + 0x2c]
push 0x507
push 0
push 0
push dword [ebx + 4]
mov ebp, eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov byte [esp + 0x28], 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1000722e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10007244
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 6
mov eax, dword [esi]
push ecx
push 0x1004c958
push esi
call dword [eax]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10007281
mov eax, dword [ebx]
mov ecx, ebx
mov edi, dword [esi]
call dword [eax + 0x10]
push eax
push esi
call dword [edi + 0xc]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], 0xffffffff
test esi, esi
je 0x10007293
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100072c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x10007295