Function at 0x49ebc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1fdd
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x52bdd0]
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 dword [ebp - 0x44], esi
mov ebx, dword [ebp + 8]
lea eax, [esi + 0xe0]
push eax
mov ecx, ebx
mov dword [ebp - 0x38], ebx
mov edx, dword [ebx]
call dword [edx + 0x30]
mov edx, dword [ebx]
mov ecx, ebx
push dword [esi + 0xf0]
mov dword [ebp - 0x68], eax
call dword [edx + 0x38]
mov edx, dword [ebx]
mov ecx, ebx
push dword [esi + 0xf4]
mov dword [ebp - 0x70], eax
call dword [edx + 0x34]
push 2
mov ecx, ebx
mov dword [ebp - 0x64], eax
call sub.mfc120.dll_Ordinal_13094
push 0x4d5976
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov cx, word [0x511598]
mov eax, dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
mov dword [ebp - 4], 0
test cx, cx
je 0x49ecfe
mov edi, 0x51159a
movzx ecx, cx
mov dword [ebp - 0x3c], edi
push 0x20
lea edx, [ebp - 0x34]
push edx
push ecx
push dword [0x52ec00]
call eax
add esp, 0x10
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x48]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_310]
movzx ebx, word [edi + 2]
lea ecx, [ebp - 0x48]
movzx edi, word [edi]
imul ebx, dword [esi + 0xec]
imul edi, dword [esi + 0xe8]
mov byte [ebp - 4], 1
add ebx, dword [esi + 0xd4]
add edi, dword [esi + 0xd0]
mov esi, dword [ebp - 0x38]
mov esi, dword [esi]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0x38]
push eax
push ebx
push edi
call dword [esi + 0x64]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x44]
add edi, 0x10
mov dword [ebp - 0x3c], edi
movzx eax, word [edi - 2]
mov ecx, eax
test ax, ax
mov eax, dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
jne 0x49ec68
mov ecx, dword [esi + 0xc8]
cmp ecx, 1
jne 0x49edcb
mov cx, word [0x5115d8]
test cx, cx
je 0x49ee90
mov edi, 0x5115da
movzx ecx, cx
mov dword [ebp - 0x3c], edi
push 0x20
lea edx, [ebp - 0x34]
push edx
push ecx
push dword [0x52ec00]
call eax
add esp, 0x10
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x40]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
movzx ebx, word [edi + 2]
mov ecx, 6
movzx edi, word [edi]
imul ebx, dword [esi + 0xec]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0x38]
add ebx, dword [esi + 0xd4]
add edi, ecx
imul edi, dword [esi + 0xe8]
lea ecx, [ebp - 0x40]
add edi, dword [esi + 0xd0]
mov esi, dword [eax]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push ebx
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
push edi
call dword [esi + 0x64]
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x44]
add edi, 0x10
mov dword [ebp - 0x3c], edi
movzx eax, word [edi - 2]
mov ecx, eax
test ax, ax
mov eax, dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
jne 0x49ed28
jmp 0x49ee93
test ecx, ecx
jne 0x49ee90
mov cx, word [0x511628]
test cx, cx
je 0x49ee90
mov edi, 0x51162a
movzx ecx, cx
mov dword [ebp - 0x3c], edi
mov edi, edi
push 0x20
lea edx, [ebp - 0x34]
push edx
push ecx
push dword [0x52ec00]
call eax
add esp, 0x10
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x40]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
movzx ebx, word [edi + 2]
mov ecx, 6
movzx edi, word [edi]
imul ebx, dword [esi + 0xec]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [ebp - 0x38]
add ebx, dword [esi + 0xd4]
add edi, ecx
imul edi, dword [esi + 0xe8]
lea ecx, [ebp - 0x40]
add edi, dword [esi + 0xd0]
mov esi, dword [eax]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push ebx
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
push edi
call dword [esi + 0x64]
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x44]
add edi, 0x10
mov dword [ebp - 0x3c], edi
movzx eax, word [edi - 2]
mov ecx, eax
test ax, ax
mov eax, dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
jne 0x49edf0
jmp 0x49ee93
mov ebx, dword [ebp - 0x38]
xor edi, edi
mov eax, dword [esi + 0xf8]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea eax, [ecx + 1]
add eax, edi
push eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x54]
push 0x4e892c
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
movd xmm1, dword [esi + 0xe8]
lea eax, [ebp - 0x54]
movd xmm0, dword [esi + 0xd0]
lea ecx, [ebp - 0x48]
cvtdq2pd xmm1, xmm1
inc edi
add esp, 0xc
push eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [0x4e00a8]
addsd xmm1, xmm0
movd xmm0, dword [esi + 0xec]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x50], xmm1
movd xmm1, edi
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x4e00a0]
addsd xmm1, qword [0x4e0098]
mulsd xmm1, xmm0
movd xmm0, dword [esi + 0xd4]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd qword [ebp - 0x60], xmm1
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov esi, dword [ebx]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
cvttsd2si eax, qword [ebp - 0x60]
mov ecx, ebx
push eax
cvttsd2si eax, qword [ebp - 0x50]
push eax
call dword [esi + 0x64]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov esi, dword [ebp - 0x44]
cmp dword [esi + 0xc8], 1
jne 0x49f074
imul ecx, dword [ebp - 0x58], 0x68
mov eax, dword [0x52ec00]
cmp byte [ecx + eax + 0x6e9fd4], 0xff
je 0x49f074
movd xmm1, dword [esi + 0xe8]
lea ecx, [ebp - 0x38]
movd xmm0, dword [esi + 0xd0]
cvtdq2pd xmm1, xmm1
push 0x4dbd90
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [0x4e89b0]
addsd xmm1, xmm0
movsd qword [ebp - 0x50], xmm1
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov esi, dword [ebx]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
cvttsd2si eax, qword [ebp - 0x60]
mov ecx, ebx
push eax
cvttsd2si eax, qword [ebp - 0x50]
push eax
call dword [esi + 0x64]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
push 0x4da964
movd xmm1, dword [eax + 0xe8]
movd xmm0, dword [eax + 0xd0]
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [0x4e89c0]
addsd xmm1, xmm0
movsd qword [ebp - 0x50], xmm1
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov esi, dword [ebx]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
cvttsd2si eax, qword [ebp - 0x60]
mov ecx, ebx
push eax
cvttsd2si eax, qword [ebp - 0x50]
push eax
call dword [esi + 0x64]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov esi, dword [ebp - 0x44]
cmp edi, 0xf
jl 0x49ee95
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x68]
call dword [eax + 0x30]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x70]
call dword [eax + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x64]
call dword [eax + 0x34]
push dword [ebp - 0x6c]
mov ecx, ebx
call sub.mfc120.dll_Ordinal_13094
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
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.004c6016
mov esp, ebp
pop ebp
ret 4