Function at 0x45a7c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f9ca7
mov eax, dword fs:[0]
push eax
mov eax, 0x20c0
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x20bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x514bc0]
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 0x45a822
xor eax, eax
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.00443cc0
test al, al
je 0x45a911
lea esp, [esp]
cmp dword [ebp + 4], 0xffff
jae 0x45a911
push 0x1024
call fcn.004e4838
add esp, 4
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov dword [esp + 0x20dc], ebx
cmp eax, ebx
je 0x45a884
mov ecx, eax
call fcn.004426b0
mov ebx, eax
or edi, 0xffffffff
mov dword [esp + 0x20dc], edi
push esi
mov ecx, ebx
mov dword [esp + 0xbc], ebx
call fcn.00442e30
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.004e3510
mov edi, esp
mov ecx, 0x406
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.00458a20
mov ecx, ebx
call fcn.00443060
cmp edx, dword [esp + 0x24]
jl 0x45a8f2
jg 0x45a8ea
cmp eax, dword [esp + 0x20]
jbe 0x45a8f2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0x14]
push 0
push 0x800
push esi
call fcn.00451fc0
push esi
call fcn.00443cc0
test al, al
jne 0x45a850
mov ecx, dword [ebp + 4]
mov dword [ebp + 0x24], ecx
cmp ecx, 0xffff
jb 0x45a957
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.004693c0
jmp 0x45adff
cmp ecx, 2
jb 0x45adff
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x6140]
test eax, eax
jge 0x45a987
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 0x45a994
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 0x45a9bc
push 0xffff
push esi
push 0x30
call fcn.00437510
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 0x45a9d1
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.00451c10
test eax, eax
je 0x45aa37
lea eax, [esp + 0x10d0]
push eax
call fcn.00451f00
mov esi, eax
lea ecx, [esp + 0x10d0]
mov edi, 1
mov dword [esp + 0x14], edi
cmp esi, ecx
jbe 0x45aa32
movzx edx, word [esi - 2]
push edx
call fcn.00467210
test al, al
je 0x45aa2e
add esi, 0xfffffffe
lea eax, [esp + 0x10d0]
inc edi
cmp esi, eax
ja 0x45aa11
mov dword [esp + 0x14], edi
xor ecx, ecx
mov word [esi], cx
mov eax, dword [ebp + 0x2c]
cmp eax, dword [ebp + 8]
jbe 0x45aa4c
sub eax, dword [ebp + 4]
mov ecx, ebp
push eax
call fcn.00458660
jmp 0x45aa4f
mov dword [ebp + 4], eax
xor esi, esi
cmp dword [ebp + 0x28], esi
jbe 0x45abbf
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.00458640
push 0x1024
call fcn.004e4838
add esp, 0x18
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20dc], 1
test eax, eax
je 0x45aaad
mov ecx, eax
call fcn.004426b0
mov edi, eax
jmp 0x45aaaf
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.004425c0
test al, al
jne 0x45ab32
cmp byte [esp + 0x1b], al
jne 0x45ab16
lea edx, [esp + 0xb8]
push edx
mov ecx, 0x52c138
call fcn.0043e200
movzx eax, byte [esp + 0x1b]
neg eax
sbb eax, eax
and eax, 0xf6
add eax, 9
push eax
mov ecx, 0x52c138
call fcn.0043dc00
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
mov ecx, edi
call fcn.004432c0
mov eax, dword [ebp + 0x24]
push 0
add eax, esi
push eax
push edi
mov ecx, ebp
call fcn.00459360
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.004693c0
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x44]
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], 0x8a
mov dword [esp + 0x44], edx
mov dword [esp + 0x84], esi
call fcn.004693c0
mov esi, ebx
cmp esi, dword [ebp + 0x28]
jb 0x45aa5a
xor esi, esi
lea ecx, [esp + 0x90]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.00463d40
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.00463d70
mov edx, dword [ebp + 0x20]
add edx, 0x10
push edx
call fcn.004e330d
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 0x45ada6
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.00467c40
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.00439380
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 0x45ac9b
sub eax, edi
push eax
lea edx, [edi + ebx]
push 0
push edx
call fcn.004e4400
add esp, 0xc
cmp edi, dword [esp + 0x14]
jle 0x45aca5
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 0x20]
xor ecx, ecx
cmp ecx, dword [esp + 0x40]
jg 0x45acb8
jl 0x45acbc
cmp eax, dword [esp + 0x3c]
jb 0x45acbc
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.00458870
add dword [esp + 0x1c], 0x1018
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [ebp + 0x24]
jb 0x45ac44
cmp dword [esp + 0x14], 0
je 0x45ada4
xor ebx, ebx
cmp dword [ebp + 0x28], ebx
jbe 0x45ad6c
mov esi, dword [esp + 0x14]
mov edi, esi
and edi, 1
mov dword [esp + 0x28], edi
jmp 0x45ad18
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
call fcn.00467c40
mov dword [esp + 0x1c], esi
test edi, edi
je 0x45ad2a
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.00442b00
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x1004]
push edx
push edi
push eax
call fcn.00439380
inc ebx
mov dword [esi + 0x1004], eax
cmp ebx, dword [ebp + 0x28]
jb 0x45ad10
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 0x4ff1a0
call fcn.00469120
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 0x45ac15
xor ecx, ecx
xor ebx, ebx
cmp dword [ebp + 0x2c], ecx
jbe 0x45ade8
xor edi, edi
jmp 0x45adb3
xor ecx, ecx
mov eax, dword [ebp]
mov esi, dword [edi + eax]
cmp ebx, dword [ebp + 0x24]
jb 0x45add5
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.00459360
mov ecx, esi
call fcn.00442a00
inc ebx
add edi, 0x1018
cmp ebx, dword [ebp + 0x2c]
jb 0x45adb1
mov dword [esp + 0x20dc], 0xffffffff
lea ecx, [esp + 0x90]
call fcn.00463650
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.004e34f4
add esp, 0x20cc
ret 8