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

Disassembly:
push 0xffffffffffffffff
push 0x6f9278
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x70b060]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70b060]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x30], ebp
cmp edi, ebx
je 0x80882d
cmp ebp, ebx
je 0x80882d
push edi
mov dword [ebp], ebx
call dword [0x6fb268]
add eax, eax
cmp eax, 0x64
jge 0x8085ce
mov eax, 0x3e8
xor ecx, ecx
shld ecx, eax, 1
mov dword [esp + 0x28], eax
add eax, eax
mov dword [esp + 0x24], ebx
cmp ecx, ebx
ja 0x8085e7
cmp eax, 0xffffffff
jbe 0x8085eb
xor eax, eax
jmp 0x8085f2
push eax
call dword [0x6fb41c]
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x8085ff
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x80], ebx
cmp eax, ebx
jne 0x80861b
push ebx
call dword [0x6fb414]
mov eax, 0x8007000e
jmp 0x808832
mov dword [esi], edi
mov dl, byte [0x70c051]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
xor bl, bl
cmp word [edi], 0
mov byte [esp + 0x1f], dl
mov byte [esp + 0x17], bl
je 0x8087c2
mov ebp, dword [0x6fb330]
cmp byte [esp + 0x1f], 1
jne 0x808721
cmp dword [esp + 0x20], 0
jne 0x80869d
mov eax, dword [esi]
push 0x6fc038
push eax
call fcn.00ae76fc
add esp, 8
test eax, eax
je 0x80869d
mov ecx, dword [esi]
cmp eax, ecx
jne 0x80869d
push ecx
call ebp
push eax
mov dword [esi], eax
call ebp
push eax
mov dword [esi], eax
call ebp
push eax
mov dword [esi], eax
call ebp
push 0x6fc1c0
lea ecx, [esp + 0x28]
mov dword [esi], eax
call fcn.00808310
test eax, eax
je 0x8087e2
mov bl, 1
mov eax, dword [esi]
mov ecx, 0x27
cmp cx, word [eax]
jne 0x8086e4
cmp byte [esp + 0x17], 0
jne 0x8086b7
mov byte [esp + 0x17], 1
jmp 0x808721
mov ecx, esi
call fcn.00807b90
test eax, eax
je 0x8086c9
mov byte [esp + 0x17], 0
jmp 0x8086eb
mov edx, dword [esi]
push edx
call ebp
push 1
push eax
lea ecx, [esp + 0x2c]
mov dword [esi], eax
call fcn.00807bd0
test eax, eax
je 0x8087e2
cmp byte [esp + 0x17], 0
jne 0x808721
mov eax, dword [esi]
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x8086f9
inc dword [esp + 0x20]
cmp eax, 0x7d
jne 0x808721
dec dword [esp + 0x20]
jne 0x808721
cmp bl, 1
jne 0x808721
push 0x6fc1a8
lea ecx, [esp + 0x28]
call fcn.00808310
test eax, eax
je 0x8087e2
xor bl, bl
mov eax, dword [esi]
cmp word [eax], 0x25
jne 0x80879d
push eax
call ebp
mov dword [esi], eax
cmp word [eax], 0x25
je 0x80879d
push 0x25
push eax
call fcn.00807da0
mov edi, eax
add esp, 8
test edi, edi
je 0x8087fb
mov ecx, dword [esi]
sub eax, ecx
sar eax, 1
cmp eax, 0x1f
jg 0x808814
push eax
push ecx
lea ecx, [esp + 0x3c]
push 0x20
push ecx
call fcn.00807660
mov ecx, dword [esi + 4]
add esp, 0x10
lea edx, [esp + 0x34]
push edx
call fcn.00808500
test eax, eax
je 0x8087fb
push eax
lea ecx, [esp + 0x28]
call fcn.00808310
test eax, eax
je 0x8087e2
cmp dword [esi], edi
je 0x8087ad
mov eax, dword [esi]
push eax
call ebp
mov dword [esi], eax
cmp eax, edi
jne 0x808790
jmp 0x8087ad
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.00807bd0
test eax, eax
je 0x8087e2
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi], eax
cmp word [eax], 0
jne 0x808645
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [ebp], eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
push eax
call dword [0x6fb414]
mov eax, dword [esp + 0x18]
jmp 0x808832
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x1c], 0x8007000e
call dword [0x6fb414]
mov eax, dword [esp + 0x18]
jmp 0x808832
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x1c], 0x80020009
call dword [0x6fb414]
mov eax, dword [esp + 0x18]
jmp 0x808832
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x1c], 0x80004005
call dword [0x6fb414]
mov eax, dword [esp + 0x18]
jmp 0x808832
mov eax, 0x80004003
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00ae701a
add esp, 0x70
ret 8