Function at 0x459d30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f5a87
mov eax, dword fs:[0]
push eax
mov eax, 0x20c0
call fcn.004df2e0
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 0x459d92
xor eax, eax
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004432f0
test al, al
je 0x459e81
lea esp, [esp]
cmp dword [ebp + 4], 0xffff
jae 0x459e81
push 0x1024
call fcn.004e04e6
add esp, 4
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov dword [esp + 0x20dc], ebx
cmp eax, ebx
je 0x459df4
mov ecx, eax
call fcn.00441d50
mov ebx, eax
or edi, 0xffffffff
mov dword [esp + 0x20dc], edi
push esi
mov ecx, ebx
mov dword [esp + 0xbc], ebx
call fcn.004424b0
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.004df2e0
mov edi, esp
mov ecx, 0x406
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.00457fb0
mov ecx, ebx
call fcn.004426e0
cmp edx, dword [esp + 0x24]
jl 0x459e62
jg 0x459e5a
cmp eax, dword [esp + 0x20]
jbe 0x459e62
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0x14]
push 0
push 0x800
push esi
call fcn.00451560
push esi
call fcn.004432f0
test al, al
jne 0x459dc0
mov ecx, dword [ebp + 4]
mov dword [ebp + 0x24], ecx
cmp ecx, 0xffff
jb 0x459ec7
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.00468710
jmp 0x45a342
cmp ecx, 2
jb 0x45a342
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x6140]
test eax, eax
jge 0x459ef7
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 0x459f04
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 0x459f2c
push 0xffff
push esi
push 0x30
call fcn.00458030
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 0x459f41
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.00451120
test eax, eax
je 0x459fa7
lea eax, [esp + 0x10d0]
push eax
call fcn.004514a0
mov esi, eax
lea ecx, [esp + 0x10d0]
mov edi, 1
mov dword [esp + 0x14], edi
cmp esi, ecx
jbe 0x459fa2
movzx edx, word [esi - 2]
push edx
call fcn.004665f0
test al, al
je 0x459f9e
add esi, 0xfffffffe
lea eax, [esp + 0x10d0]
inc edi
cmp esi, eax
ja 0x459f81
mov dword [esp + 0x14], edi
xor ecx, ecx
mov word [esi], cx
mov eax, dword [ebp + 0x2c]
cmp eax, dword [ebp + 8]
jbe 0x459fbc
sub eax, dword [ebp + 4]
mov ecx, ebp
push eax
call fcn.00457bf0
jmp 0x459fbf
mov dword [ebp + 4], eax
xor esi, esi
cmp dword [ebp + 0x28], esi
jbe 0x45a103
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.00493540
push 0x1024
call fcn.004e04e6
add esp, 0x18
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20dc], 1
test eax, eax
je 0x45a01d
mov ecx, eax
call fcn.00441d50
mov edi, eax
jmp 0x45a01f
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.00441c60
test al, al
jne 0x45a0a2
cmp byte [esp + 0x1b], al
jne 0x45a086
lea edx, [esp + 0xb8]
push edx
mov ecx, 0x5275b8
call fcn.0043d9c0
movzx eax, byte [esp + 0x1b]
neg eax
sbb eax, eax
and eax, 0xf6
add eax, 9
push eax
mov ecx, 0x5275b8
call fcn.0043d3c0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
mov ecx, edi
call fcn.00442940
mov eax, dword [ebp + 0x24]
push 0
add eax, esi
push eax
push edi
mov ecx, ebp
call fcn.00458900
lea ecx, [esp + 0xb8]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x6c
mov dword [esp + 0x84], 1
call fcn.00468710
mov esi, ebx
cmp esi, dword [ebp + 0x28]
jb 0x459fca
xor esi, esi
lea ecx, [esp + 0x90]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.004632e0
mov dword [esp + 0x20dc], 2
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
push esi
push edx
push eax
lea ecx, [esp + 0x9c]
call fcn.00463310
mov ecx, dword [ebp + 0x20]
add ecx, 0x10
push ecx
call fcn.004df0da
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
lea esp, [esp]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
cmp dword [ebp + 0x24], ecx
jbe 0x45a2e9
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.00467010
mov esi, dword [ebp]
add esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x20]
mov ecx, dword [esi]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
push ebx
call edx
mov edi, eax
mov eax, dword [esi + 0x1004]
push edi
push ebx
push eax
call fcn.00438b40
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 0x45a1e6
sub eax, edi
push eax
lea ecx, [edi + ebx]
push 0
push ecx
call fcn.004e01d0
add esp, 0xc
cmp edi, dword [esp + 0x14]
jle 0x45a1f0
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 0x20]
xor ecx, ecx
cmp ecx, dword [esp + 0x40]
jg 0x45a203
jl 0x45a207
cmp eax, dword [esp + 0x3c]
jb 0x45a207
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push 1
push eax
push ebx
push esi
push edx
mov ecx, ebp
call fcn.00457e00
add dword [esp + 0x1c], 0x1018
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [ebp + 0x24]
jb 0x45a18f
cmp dword [esp + 0x14], 0
je 0x45a2e7
xor ebx, ebx
cmp dword [ebp + 0x28], ebx
jbe 0x45a2af
mov esi, dword [esp + 0x14]
mov edi, esi
and edi, 1
mov dword [esp + 0x28], edi
jmp 0x45a25b
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
call fcn.00467010
mov dword [esp + 0x1c], esi
test edi, edi
je 0x45a26d
inc esi
mov dword [esp + 0x1c], esi
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x20]
mov eax, dword [esp + 0x1c]
imul edi, ebx
add edi, dword [ebp + 0x1c]
add esi, ebx
imul esi, esi, 0x1018
add esi, dword [ebp]
push eax
mov ecx, dword [esi]
push edi
call fcn.00442180
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x1004]
push ecx
push edi
push edx
call fcn.00438b40
inc ebx
mov dword [esi + 0x1004], eax
cmp ebx, dword [ebp + 0x28]
jb 0x45a253
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
push eax
push ecx
push edi
push esi
push 0x4fb0c0
call fcn.004684a0
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 0x45a160
xor ecx, ecx
xor ebx, ebx
cmp dword [ebp + 0x2c], ecx
jbe 0x45a32b
xor edi, edi
jmp 0x45a2f6
xor ecx, ecx
mov edx, dword [ebp]
mov esi, dword [edi + edx]
cmp ebx, dword [ebp + 0x24]
jb 0x45a318
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ecx
push ecx
push ecx
mov ecx, esi
call edx
push 1
push ebx
push esi
mov ecx, ebp
call fcn.00458900
mov ecx, esi
call fcn.00442080
inc ebx
add edi, 0x1018
cmp ebx, dword [ebp + 0x2c]
jb 0x45a2f4
mov dword [esp + 0x20dc], 0xffffffff
lea ecx, [esp + 0x90]
call fcn.00462bf0
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.004df2c4
add esp, 0x20cc
ret 8