Function at 0x59b490
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0xac
push 0xffffffffffffffff
push 0x629032
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x653af8]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 0xb8]
xor ebx, ebx
mov edi, dword [ebp + 0xb4]
mov dword [ebp - 0x1c], ebx
push 1
push dword [esi + 0x30]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
call fcn.006024e7
add esp, 8
mov dword [esi + 0x30], ebx
cmp byte [ebp + 0xbc], bl
je 0x59bac9
xorps xmm0, xmm0
mov dword [ebp + 0xa4], ebx
movq qword [ebp + 0x9c], xmm0
mov dword [ebp + 0x9c], ebx
mov dword [ebp + 0xa0], ebx
mov ecx, dword [esi + 0x2c]
lea eax, [ebp + 0x9c]
push eax
mov dword [ebp - 4], ebx
call fcn.0059b1d0
mov ecx, dword [ebp + 0xa0]
mov eax, 0x92492493
mov esi, dword [ebp + 0x9c]
sub ecx, esi
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
mov dword [ebp - 0x1c], ecx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x59b62c
mov edx, edi
xor eax, eax
mov dword [ebp - 0x14], eax
lea edi, [edx + 4]
nop
push dword [edx + 0x14]
lea ecx, [esi + eax]
lea eax, [ebp - 0x44]
push eax
call fcn.0059b260
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x59b589
mov edx, dword [edi]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x59b595
mov ecx, dword [eax + 4]
push dword [edi + 0x10]
push edx
push dword [eax + 0x14]
push ecx
call fcn.004c4be0
mov edx, dword [ebp - 0x2c]
add esp, 0x10
mov dword [ebp - 0x44], 0x492708
mov esi, eax
cmp edx, 0x10
jb 0x59b5ea
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov byte [ebp - 4], 1
cmp edx, 0x1000
jb 0x59b5dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59bb0e
push edx
push ecx
call fcn.006024e7
add esp, 8
mov byte [ebp - 4], 0
test esi, esi
mov esi, dword [ebp + 0x9c]
je 0x59b629
mov ecx, dword [ebp + 0xa0]
mov eax, 0x92492493
dec dword [ebp - 0x18]
sub ecx, esi
inc dword [ebp - 0x1c]
add dword [ebp - 0x14], 0x1c
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1c], eax
jge 0x59b629
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
jmp 0x59b570
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xa0]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx - 1]
mov dword [ebp - 0x14], eax
test eax, eax
js 0x59b714
mov edx, dword [ebp - 0x10]
lea eax, [ecx*8]
sub eax, ecx
lea edi, [edx + 4]
lea ebx, [eax*4 - 0x1c]
nop dword [eax + eax]
push dword [edx + 0x14]
lea eax, [ebp - 0x44]
lea ecx, [esi + ebx]
push eax
call fcn.0059b260
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x59b689
mov edx, dword [edi]
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x59b695
mov ecx, dword [eax + 4]
push dword [edi + 0x10]
push edx
push dword [eax + 0x14]
push ecx
call fcn.004c4be0
mov edx, dword [ebp - 0x2c]
add esp, 0x10
mov dword [ebp - 0x44], 0x492708
mov esi, eax
cmp edx, 0x10
jb 0x59b6ea
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x59b6dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59bb0e
push edx
push ecx
call fcn.006024e7
add esp, 8
mov byte [ebp - 4], 0
test esi, esi
je 0x59b708
dec dword [ebp - 0x18]
sub ebx, 0x1c
sub dword [ebp - 0x14], 1
js 0x59b708
mov esi, dword [ebp + 0x9c]
mov edx, dword [ebp - 0x10]
jmp 0x59b670
mov esi, dword [ebp + 0x9c]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
test eax, eax
jg 0x59b722
xor ebx, ebx
jmp 0x59ba73
shl eax, 5
push eax
mov dword [ebp - 0x24], eax
call fcn.006024f5
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x98], 0
mov dword [ecx + 0x30], eax
xor eax, eax
mov dword [ebp - 0x14], eax
nop dword [eax]
push 0x98
lea eax, [ebp]
push 0
push eax
call fcn.006046d0
add esp, 0xc
mov dword [ebp], 0x49297c
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x78], 0
mov dword [ebp + 0x7c], 0
mov dword [ebp + 0x80], 0
mov dword [ebp + 0x50], 0x4928e0
push 0
push 0
lea eax, [ebp + 4]
mov byte [ebp - 4], 4
or ebx, 1
lea ecx, [ebp]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004b8610
mov eax, dword [ebp]
push 8
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax], 0x492978
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 4], eax
mov dword [ebp + 4], 0x4928f8
call fcn.006024b7
mov esi, eax
add esp, 4
test esi, esi
je 0x59b7fd
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 6
call fcn.005eda64
add esp, 4
mov dword [esi + 4], eax
jmp 0x59b7ff
xor esi, esi
lea eax, [ebp + 8]
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp + 0x20], eax
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x28]
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x2c]
mov dword [ebp + 0x34], eax
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 4], 0x492938
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 4
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
mov byte [ebp - 4], 7
jb 0x59b875
mov eax, dword [edi + 4]
push dword [edi + 0x14]
push eax
lea eax, [ebp]
push eax
call fcn.00522b70
push 0
mov esi, eax
lea eax, [ebp - 0x70]
push 2
push eax
call fcn.005ee932
mov ecx, dword [esi]
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
mov eax, dword [esi]
add esp, 0x24
mov ecx, esi
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov dword [ebp - 0x14], eax
call fcn.004bccb0
mov ecx, dword [ebp + 0x40]
or ebx, 4
mov byte [ebp - 4], 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x1c], ebx
test cl, 2
jne 0x59b8fc
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
test edx, edx
je 0x59b8fc
mov eax, dword [ebp + 0x14]
cmp edx, dword [ebp + 0x3c]
cmovb edx, dword [ebp + 0x3c]
mov ecx, dword [eax]
sub edx, ecx
jmp 0x59b916
test cl, 4
jne 0x59b920
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x59b920
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub edx, ecx
mov eax, dword [ebp + 0x30]
add edx, dword [eax]
push edx
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004c22a0
and ebx, 0xfffffffb
mov dword [ebp - 4], 7
or ebx, 2
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x40]
call fcn.004b8960
mov dword [ebp - 0x44], 0x492708
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 0x98]
push eax
push 0x20
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x2c]
call fcn.0059ae60
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 0x492708
cmp edx, 0x10
jb 0x59b9a3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xb
cmp edx, 0x1000
jb 0x59b999
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59bb0e
push edx
push ecx
call fcn.006024e7
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x59b9ed
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
mov byte [ebp - 4], 0xc
cmp edx, 0x1000
jb 0x59b9e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59bb0e
push edx
push ecx
call fcn.006024e7
add esp, 8
mov eax, dword [ebp]
add esi, 0x20
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 4]
mov dword [ebp + eax], 0x492978
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 4], eax
lea ecx, [ebp + 4]
call fcn.004bab00
mov eax, dword [ebp]
mov eax, dword [eax + 4]
mov dword [ebp + eax], 0x4928e8
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 4], eax
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp + 0x50], 0x4926a4
call fcn.005ee067
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, dword [ebp - 0x18]
jl 0x59b750
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x98]
add ecx, 0xffffffe0
mov esi, dword [ebp + 0x9c]
add eax, ecx
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x30]
mov dword [ebp - 4], 0xe
test esi, esi
je 0x59bac5
mov edi, dword [ebp + 0xa0]
cmp esi, edi
je 0x59ba9d
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, edi
jne 0x59ba88
mov esi, dword [ebp + 0x9c]
mov ecx, dword [ebp + 0xa4]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
lea ecx, [ebp + 0x9c]
call fcn.004c2730
mov eax, ebx
jmp 0x59bae9
push 0x20
call fcn.006024f5
mov ecx, dword [ebp - 0x28]
add esp, 4
mov dword [esi + 0x30], eax
push ecx
mov ecx, dword [esi + 0x2c]
push 0x20
push eax
push edi
call fcn.0059ae60
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa8]
xor ecx, ebp
call fcn.00602a00
lea esp, [ebp + 0xac]
pop ebp
ret 0xc
call fcn.0053accc
int3