Function at 0x499000
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3468
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4eb018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
fld dword [esi + 0x38]
push ecx
fsub dword [esi + 0x30]
fst qword [ebp - 0x48]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
fstp dword [esp]
call fcn.00499a80
fstp dword [ebp - 0x30]
fld dword [esi + 0x3c]
fsub dword [esi + 0x34]
fst qword [ebp - 0x40]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
fstp dword [esp]
call fcn.00499a80
fstp dword [ebp - 0x34]
add esp, 4
fld dword [ebp - 0x34]
fadd dword [ebp - 0x30]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
call fcn.004ac3ca
fstp dword [ebp - 0x30]
mov eax, dword [esi + 8]
fld dword [ebp - 0x30]
xor ebx, ebx
fstp dword [esi + 0x40]
cmp eax, ebx
je 0x4990a2
mov eax, dword [eax + 0x4ac]
cmp byte [eax + 0x5c], bl
je 0x4990a2
lea edi, [eax + 0x64]
mov dword [esi + 0x1ac], 5
jmp 0x4990dc
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x49917b
mov edi, dword [eax + 0x68]
cmp edi, ebx
je 0x49917b
cmp byte [eax + 0x6c], bl
je 0x4990d2
mov al, byte [eax + 0x6d]
xor ecx, ecx
cmp al, bl
setne cl
add ecx, 2
mov dword [esi + 0x1ac], ecx
jmp 0x4990dc
mov dword [esi + 0x1ac], 1
cmp edi, ebx
je 0x49917b
fld qword [ebp - 0x48]
push ecx
fmul dword [edi + 4]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fstp dword [esp]
call fcn.00499a80
fstp dword [ebp - 0x34]
fld qword [ebp - 0x40]
fmul dword [edi]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fstp dword [esp]
call fcn.00499a80
fadd dword [ebp - 0x34]
add esp, 4
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
call fcn.004ac3ca
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
mov edi, dword [0x4f88ac]
fstp dword [ebp - 0x34]
lea ecx, [edi + 4]
fld dword [ebp - 0x34]
lea ebx, [ebp - 0x30]
lea eax, [ebp - 0x3c]
fstp dword [esi + 0x44]
mov dword [ebp - 0x30], 0x1772
call fcn.00456ac0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [edi + 8]
jne 0x499159
mov eax, 0x4f94f0
jmp 0x49915c
mov eax, dword [eax + 0x10]
fld dword [ebp - 0x34]
push eax
sub esp, 8
fstp qword [esp]
push 0x4db0b0
lea edx, [esi + 0x48]
call fcn.004018a0
add esp, 0x10
jmp 0x49927e
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x499210
fld dword [esi + 0x30]
mov eax, dword [eax + 0x80]
fstp dword [ebp - 0x44]
fld dword [esi + 0x34]
fstp dword [ebp - 0x34]
fld dword [esi + 0x38]
fstp dword [ebp - 0x30]
fld dword [esi + 0x3c]
fstp dword [ebp - 0x3c]
cmp eax, ebx
je 0x499210
fld dword [ebp - 0x3c]
sub esp, 0x10
fstp dword [esp + 0xc]
lea edx, [esi + 0x44]
fld dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
fstp dword [esp + 8]
fld dword [ebp - 0x34]
fstp dword [esp + 4]
fld dword [ebp - 0x44]
fstp dword [esp]
push eax
call fcn.00452f70
cmp al, bl
je 0x499210
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1ac], 4
jae 0x4991fb
lea eax, [ebp - 0x2c]
push eax
push 0x80
add esi, 0x48
push esi
call dword [0x4b7320]
add esp, 0xc
jmp 0x499264
mov edi, dword [0x4f88ac]
mov dword [esi + 0x1ac], ebx
lea ecx, [edi + 4]
lea ebx, [ebp - 0x44]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x44], 0x1771
call fcn.00456ac0
mov edi, dword [edi + 8]
mov eax, dword [ebp - 0x3c]
cmp eax, edi
jne 0x499242
mov eax, 0x4f94f0
jmp 0x499245
mov eax, dword [eax + 0x10]
fld dword [esi + 0x40]
push eax
sub esp, 8
fstp qword [esp]
push 0x4db0b0
lea edx, [esi + 0x48]
call fcn.004018a0
fldz
fstp dword [esi + 0x44]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x49927e
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x4b734c]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ab7a3
mov esp, ebp
pop ebp
ret