Function at 0x459fa0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f5fb7
mov eax, dword fs:[0]
push eax
mov eax, 0x20c0
call fcn.004df840
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x20bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50fb70]
xor eax, esp
push eax
lea eax, [esp + 0x20d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20e4]
mov esi, dword [esp + 0x20e8]
lea edx, [esp + 0x10d0]
mov dword [esp + 0x30], eax
mov ebp, ecx
mov dword [esp + 0x14], esi
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45a002
xor eax, eax
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.00443510
test al, al
je 0x45a0f1
lea esp, [esp]
cmp dword [ebp + 4], 0xffff
jae 0x45a0f1
push 0x1024
call fcn.004e0a46
add esp, 4
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov dword [esp + 0x20dc], ebx
cmp eax, ebx
je 0x45a064
mov ecx, eax
call fcn.00441f10
mov ebx, eax
or edi, 0xffffffff
mov dword [esp + 0x20dc], edi
push esi
mov ecx, ebx
mov dword [esp + 0xbc], ebx
call fcn.00442670
xor eax, eax
mov dword [esp + 0x10c0], eax
mov dword [esp + 0x10c4], eax
mov eax, 0x1018
mov dword [esp + 0x10bc], edi
lea esi, [esp + 0xb8]
call fcn.004df840
mov edi, esp
mov ecx, 0x406
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.004581c0
mov ecx, ebx
call fcn.004428a0
cmp edx, dword [esp + 0x24]
jl 0x45a0d2
jg 0x45a0ca
cmp eax, dword [esp + 0x20]
jbe 0x45a0d2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0x14]
push 0
push 0x800
push esi
call fcn.00451780
push esi
call fcn.00443510
test al, al
jne 0x45a030
mov ecx, dword [ebp + 4]
mov dword [ebp + 0x24], ecx
cmp ecx, 0xffff
jb 0x45a137
mov eax, 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x8c], 0x30
mov dword [esp + 0x44], esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x64], 0xffff
mov dword [esp + 0x88], eax
call fcn.004689f0
jmp 0x45a5df
cmp ecx, 2
jb 0x45a5df
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x6140]
test eax, eax
jge 0x45a167
imul eax, ecx
neg eax
xor edx, edx
mov edi, 0x64
div edi
mov edi, eax
xor eax, eax
test edx, edx
setne al
add eax, edi
mov dword [ebp + 0x28], eax
cmp eax, ecx
jb 0x45a174
lea edx, [ecx - 1]
mov dword [ebp + 0x28], edx
mov eax, dword [ebp + 0x28]
add ecx, eax
mov dword [ebp + 0x2c], ecx
cmp ecx, 0xffff
jbe 0x45a19c
push 0xffff
push esi
push 0x30
call fcn.00458240
mov ecx, 0xffff
sub ecx, dword [ebp + 0x24]
mov dword [ebp + 0x28], ecx
xor edx, edx
mov eax, 0x4000000
div dword [ebp + 0x28]
mov dword [ebp + 0x20], eax
test al, 1
je 0x45a1b1
dec eax
mov dword [ebp + 0x20], eax
and dword [ebp + 0x20], 0xfffffff0
lea edx, [esp + 0x10d0]
push edx
mov dword [esp + 0x18], 0
call fcn.00451340
test eax, eax
je 0x45a217
lea eax, [esp + 0x10d0]
push eax
call fcn.004516c0
mov esi, eax
lea ecx, [esp + 0x10d0]
mov edi, 1
mov dword [esp + 0x14], edi
cmp esi, ecx
jbe 0x45a212
movzx edx, word [esi - 2]
push edx
call fcn.004667e0
test al, al
je 0x45a20e
add esi, 0xfffffffe
lea eax, [esp + 0x10d0]
inc edi
cmp esi, eax
ja 0x45a1f1
mov dword [esp + 0x14], edi
xor ecx, ecx
mov word [esi], cx
mov eax, dword [ebp + 0x2c]
cmp eax, dword [ebp + 8]
jbe 0x45a22c
sub eax, dword [ebp + 4]
mov ecx, ebp
push eax
call fcn.00457e00
jmp 0x45a22f
mov dword [ebp + 4], eax
xor esi, esi
cmp dword [ebp + 0x28], esi
jbe 0x45a39f
mov edx, dword [esp + 0x14]
lea ebx, [esi + 1]
push ebx
push edx
lea eax, [esp + 0x10d8]
push eax
lea ecx, [esp + 0xc4]
push str._ls_0d.rev
push ecx
mov edx, 0x800
call fcn.00460180
push 0x1024
call fcn.004e0a46
add esp, 0x18
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20dc], 1
test eax, eax
je 0x45a28d
mov ecx, eax
call fcn.00441f10
mov edi, eax
jmp 0x45a28f
xor edi, edi
or ecx, 0xffffffff
mov dword [esp + 0x20dc], ecx
mov eax, dword [ebp + 0x24]
add eax, esi
push 0
imul eax, eax, 0x1018
add eax, dword [ebp]
push 0
push SysReAllocString
push SysReAllocString
lea edx, [esp + 0x2b]
push edx
mov dword [eax + 0x1004], ecx
mov ecx, dword [esp + 0x44]
push 0x800
mov dword [eax], edi
lea eax, [esp + 0xd0]
push eax
push edi
push ecx
call fcn.00441e20
test al, al
jne 0x45a312
cmp byte [esp + 0x1b], al
jne 0x45a2f6
lea edx, [esp + 0xb8]
push edx
mov ecx, 0x5275b8
call fcn.0043dbf0
movzx eax, byte [esp + 0x1b]
neg eax
sbb eax, eax
and eax, 0xf6
add eax, 9
push eax
mov ecx, 0x5275b8
call fcn.0043d5f0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
mov ecx, edi
call fcn.00442b00
mov eax, dword [ebp + 0x24]
push 0
add eax, esi
push eax
push edi
mov ecx, ebp
call fcn.00458b40
lea ecx, [esp + 0xb8]
mov dword [esp + 0x44], ecx
xor edi, edi
mov esi, 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], 0x6c
mov dword [esp + 0x84], esi
call fcn.004689f0
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x44]
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], 0x88
mov dword [esp + 0x44], edx
mov dword [esp + 0x84], esi
call fcn.004689f0
mov esi, ebx
cmp esi, dword [ebp + 0x28]
jb 0x45a23a
xor esi, esi
lea ecx, [esp + 0x90]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.004634d0
mov dword [esp + 0x20dc], 2
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
push esi
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.00463500
mov edx, dword [ebp + 0x20]
add edx, 0x10
push edx
call fcn.004df63a
mov ebx, eax
not ebx
inc ebx
and ebx, 0xf
add esp, 4
add ebx, eax
mov dword [ebp + 0x10], eax
mov dword [esp + 0x2c], ebx
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
cmp dword [ebp + 0x24], ecx
jbe 0x45a586
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
sbb eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
call fcn.00467200
mov esi, dword [ebp]
add esi, dword [esp + 0x1c]
mov edx, dword [ebp + 0x20]
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push edx
push ebx
call eax
mov ecx, dword [esi + 0x1004]
mov edi, eax
push edi
push ebx
push ecx
call fcn.00438d20
mov dword [esi + 0x1004], eax
mov eax, edi
cdq
add dword [esi + 0x1008], eax
adc dword [esi + 0x100c], edx
mov eax, dword [ebp + 0x20]
cmp edi, eax
je 0x45a47b
sub eax, edi
push eax
lea edx, [edi + ebx]
push 0
push edx
call fcn.004e0730
add esp, 0xc
cmp edi, dword [esp + 0x14]
jle 0x45a485
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 0x20]
xor ecx, ecx
cmp ecx, dword [esp + 0x40]
jg 0x45a498
jl 0x45a49c
cmp eax, dword [esp + 0x3c]
jb 0x45a49c
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
push 1
push eax
mov eax, dword [esp + 0x38]
push ebx
push esi
push eax
mov ecx, ebp
call fcn.00458010
add dword [esp + 0x1c], 0x1018
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [ebp + 0x24]
jb 0x45a424
cmp dword [esp + 0x14], 0
je 0x45a584
xor ebx, ebx
cmp dword [ebp + 0x28], ebx
jbe 0x45a54c
mov esi, dword [esp + 0x14]
mov edi, esi
and edi, 1
mov dword [esp + 0x28], edi
jmp 0x45a4f8
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
call fcn.00467200
mov dword [esp + 0x1c], esi
test edi, edi
je 0x45a50a
inc esi
mov dword [esp + 0x1c], esi
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x20]
mov ecx, dword [esp + 0x1c]
imul edi, ebx
add edi, dword [ebp + 0x1c]
add esi, ebx
imul esi, esi, 0x1018
add esi, dword [ebp]
push ecx
mov ecx, dword [esi]
push edi
call fcn.00442340
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x1004]
push edx
push edi
push eax
call fcn.00438d20
inc ebx
mov dword [esi + 0x1004], eax
cmp ebx, dword [ebp + 0x28]
jb 0x45a4f0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
push ecx
push edx
push edi
push esi
push 0x4fb0c0
call fcn.00468780
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
cdq
add esi, eax
adc edi, edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
jmp 0x45a3f5
xor ecx, ecx
xor ebx, ebx
cmp dword [ebp + 0x2c], ecx
jbe 0x45a5c8
xor edi, edi
jmp 0x45a593
xor ecx, ecx
mov eax, dword [ebp]
mov esi, dword [edi + eax]
cmp ebx, dword [ebp + 0x24]
jb 0x45a5b5
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push ecx
push ecx
push ecx
mov ecx, esi
call eax
push 1
push ebx
push esi
mov ecx, ebp
call fcn.00458b40
mov ecx, esi
call fcn.00442240
inc ebx
add edi, 0x1018
cmp ebx, dword [ebp + 0x2c]
jb 0x45a591
mov dword [esp + 0x20dc], 0xffffffff
lea ecx, [esp + 0x90]
call fcn.00462de0
mov ecx, dword [esp + 0x20d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20bc]
xor ecx, esp
call fcn.004df824
add esp, 0x20cc
ret 8