Function at 0x49ab50
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4dd6
mov eax, dword fs:[0]
push eax
sub esp, 0x224
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
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [ebp - 0x228], esi
cmp edx, ecx
je 0x49abad
mov eax, ecx
cmp ecx, ecx
je 0x49abaa
mov edi, dword [eax]
mov dword [edx], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
add eax, 8
add edx, 8
cmp eax, ecx
jne 0x49ab96
mov dword [esi + 0x34], edx
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
cmp ecx, edx
je 0x49abd7
mov eax, edx
cmp edx, edx
je 0x49abd4
lea ecx, [ecx]
mov edi, dword [eax]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
add eax, 8
add ecx, 8
cmp eax, edx
jne 0x49abc0
mov dword [esi + 0x44], ecx
mov edi, dword [esi + 0xc]
xor ebx, ebx
cmp edi, ebx
je 0x49b128
fldz
xor eax, eax
fst dword [ebp - 0x220]
mov byte [ebp - 0x209], bl
fst dword [ebp - 0x22c]
mov byte [ebp - 0x20a], bl
fst dword [ebp - 0x218]
mov dword [ebp - 0x214], ebx
fst dword [ebp - 0x21c]
mov dword [ebp - 0x1d8], 7
fstp dword [ebp - 0x210]
mov dword [ebp - 0x1dc], ebx
mov word [ebp - 0x1ec], ax
push 0xfe
lea edx, [ebp - 0x1ce]
xor ecx, ecx
push ebx
mov dword [ebp - 4], ebx
push edx
mov word [ebp - 0x1d0], cx
call fcn.004ac168
add esp, 0xc
mov byte [ebp - 0x20b], bl
cmp byte [edi + 0xac], bl
je 0x49ac71
mov byte [ebp - 0x20b], 1
mov dword [ebp - 0x224], 0x4db0e8
jmp 0x49ac7b
mov dword [ebp - 0x224], 0x4db0e0
mov eax, dword [esi + 8]
xor edx, edx
cmp eax, ebx
je 0x49ac92
mov ecx, dword [eax + 0x4ac]
cmp byte [ecx + 0x5c], bl
je 0x49ac92
lea edx, [ecx + 0x64]
fld dword [esi + 0x5c]
lea ecx, [esi + 0x64]
xor ebx, ebx
mov word [ecx], bx
mov eax, dword [eax + 0x4d0]
mov dword [ebp - 0x230], ecx
cmp byte [eax + 0x9c], bl
je 0x49ada4
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x1ec]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
lea edx, [esi + 0x60]
fld dword [esi + 0x58]
lea ecx, [ebp - 0x22c]
fstp dword [esp + 8]
lea ebx, [ebp - 0x21c]
fld dword [esi + 0x54]
fstp dword [esp + 4]
fld dword [esi + 0x50]
fstp dword [esp]
push eax
call fcn.0045af30
cmp dword [ebp - 0x214], 0
je 0x49ad11
mov byte [ebp - 0x209], 1
lea edx, [ebp - 0x208]
push 0x4db0f0
push edx
lea ebx, [ebp - 0x1ec]
call fcn.00410f10
add esp, 8
mov edi, eax
mov esi, ebx
mov byte [ebp - 4], 1
call fcn.00402a90
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1f4], 8
jb 0x49ad55
mov eax, dword [ebp - 0x208]
push eax
call dword [0x4b734c]
add esp, 4
mov edi, dword [ebp - 0x214]
mov esi, dword [ebp - 0x228]
test edi, edi
jle 0x49afbe
cmp byte [ebp - 0x209], 0
je 0x49afbe
cmp byte [ebp - 0x20a], 0
je 0x49ae4d
fld dword [ebp - 0x210]
sub esp, 8
fstp qword [esp]
push 0x4db0fc
lea edx, [ebp - 0x50]
call fcn.0045b3a0
add esp, 0xc
jmp 0x49ae53
lea ebx, [esi + 0x30]
push ebx
push edx
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x20a]
push edx
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [esi + 0x60]
push edx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x218]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [esi + 0x58]
fstp dword [esp + 8]
fld dword [esi + 0x54]
fstp dword [esp + 4]
fld dword [esi + 0x50]
fstp dword [esp]
push edi
call fcn.00446b80
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x5c], 0
mov edi, dword [ebp - 0x214]
jne 0x49ad61
test edi, edi
je 0x49afbe
lea ecx, [esi + 0x280]
push ecx
lea edx, [esi + 0x27c]
push edx
lea eax, [esi + 0x40]
push eax
lea edx, [esi + 0x278]
lea ecx, [esi + 0x274]
push ebx
call fcn.0043bab0
add esp, 0x10
mov byte [ebp - 0x209], 1
jmp 0x49ad61
xor eax, eax
mov word [ebp - 0x50], ax
fld dword [ebp - 0x218]
push ecx
fstp dword [esp]
call fcn.004718b0
fstp dword [ebp - 0x210]
add esp, 4
fld dword [ebp - 0x210]
fld dword [ebp - 0x218]
fucompp
fnstsw ax
test ah, 0x44
jp 0x49aedc
fld dword [ebp - 0x21c]
push ecx
fstp dword [esp]
call fcn.004718b0
fstp dword [ebp - 0x210]
add esp, 4
fld dword [ebp - 0x210]
fld dword [ebp - 0x21c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x49aedc
fld dword [ebp - 0x218]
sub esp, 8
fstp qword [esp]
push str._.0f
lea edx, [ebp - 0xd0]
call fcn.0045b3a0
fld dword [ebp - 0x21c]
add esp, 4
fstp qword [esp]
push str._.0f
jmp 0x49af09
fld dword [ebp - 0x218]
sub esp, 8
fstp qword [esp]
push 0x4d9bc8
lea edx, [ebp - 0xd0]
call fcn.0045b3a0
fld dword [ebp - 0x21c]
add esp, 4
fstp qword [esp]
push 0x4d9bc8
lea edx, [ebp - 0x90]
call fcn.0045b3a0
add esp, 0xc
cmp dword [ebp - 0x1dc], 0
jbe 0x49af32
push 1
mov eax, 0x4dadcc
lea ecx, [ebp - 0x1ec]
call fcn.00409960
cmp dword [ebp - 0x1d8], 8
mov ebx, dword [ebp - 0x1ec]
jae 0x49af47
lea ebx, [ebp - 0x1ec]
mov edx, dword [ebp - 0x224]
movzx eax, word [edx + 2]
lea ecx, [ebp - 0xd0]
push ecx
push eax
mov eax, 0x1777
call fcn.00456960
mov edx, dword [ebp - 0x224]
push eax
movzx eax, word [edx]
lea ecx, [ebp - 0x90]
push ecx
push eax
mov eax, 0x1778
call fcn.00456960
mov edx, dword [ebp - 0x224]
fld dword [ebp - 0x22c]
push eax
movzx eax, word [edx + 4]
lea ecx, [ebp - 0x50]
push ecx
sub esp, 8
fstp qword [esp]
push eax
mov eax, 0x1776
call fcn.00456960
push eax
push ebx
mov ebx, dword [ebp - 0x230]
push 0x4db110
mov edx, ebx
call fcn.004018a0
add esp, 0x34
jmp 0x49afc4
mov ebx, dword [ebp - 0x230]
fld dword [ebp - 0x220]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x49b05c
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0x5c], 0
jne 0x49b025
mov eax, 0x1771
call fcn.00456960
push eax
push edi
mov eax, 0x1774
call fcn.00456960
fld dword [ebp - 0x220]
push eax
sub esp, 8
mov eax, 0x1773
fstp qword [esp]
call fcn.00456960
push eax
push 0x4db148
lea edx, [ebp - 0x1d0]
call fcn.004018a0
add esp, 0x1c
jmp 0x49b08a
mov eax, 0x1774
call fcn.00456960
fld dword [ebp - 0x220]
push eax
sub esp, 8
mov eax, 0x1773
fstp qword [esp]
call fcn.00456960
push eax
push 0x4db170
lea edx, [ebp - 0x1d0]
call fcn.004018a0
add esp, 0x14
jmp 0x49b08a
test edi, edi
je 0x49b08a
mov eax, 0x1771
call fcn.00456960
push eax
push edi
mov eax, 0x1773
call fcn.00456960
push eax
push 0x4db188
lea edx, [ebp - 0x1d0]
call fcn.004018a0
add esp, 0x10
mov esi, dword [0x4b7348]
lea edx, [ebp - 0x1d0]
push edx
push 0x100
push ebx
call esi
add esp, 0xc
cmp byte [ebp - 0x20b], 0
je 0x49b108
push 0x4db19c
push 0x100
push ebx
call esi
mov edi, dword [0x4f88ac]
add esp, 0xc
lea ecx, [edi + 4]
lea ebx, [ebp - 0x210]
lea eax, [ebp - 0x228]
mov dword [ebp - 0x210], 0x177c
call fcn.00456ac0
mov edi, dword [edi + 8]
mov eax, dword [ebp - 0x228]
cmp eax, edi
jne 0x49b0f3
mov eax, 0x4f94f0
jmp 0x49b0f6
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x230]
push 0x100
push eax
call esi
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1d8], 8
jb 0x49b128
mov ecx, dword [ebp - 0x1ec]
push ecx
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