Function at 0x45fd50
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f786a
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x654c54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x6c]
call fcn.004a03c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax], vtable.Sexy::DDInterface.0
mov ecx, dword [ebp - 0x6c]
add ecx, 0x3c
call fcn.00525cf0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c]
add ecx, 0x84
call fcn.00539650
mov ecx, dword [ebp - 0x6c]
add ecx, 0x94
call fcn.00539650
mov ecx, dword [ebp - 0x6c]
add ecx, 0xa8
call fcn.00539650
mov ecx, dword [ebp - 0x6c]
add ecx, 0xb0
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x6c]
add eax, 0xcf0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x1d]
push ecx
lea edx, [ebp - 0x1e]
push edx
mov ecx, dword [ebp - 0x44]
call fcn.004c04d0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6c]
add eax, 0xd48
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x4d]
mov dword [ebp - 0x4c], ecx
push 0
push 0
mov ecx, dword [ebp - 0x68]
call fcn.004079f0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp + 8]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x68], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0xce8], 0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xcec], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xd0], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0xd4], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0xd8], 0
mov edx, dword [ebp - 0x6c]
mov byte [edx + 0xcdc], 0
mov eax, dword [ebp - 0x6c]
mov byte [eax + 0xd10], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0xcc], 0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xd20], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0xd24], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0xd28], 0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xd2c], 0
mov eax, dword [ebp - 0x6c]
mov byte [eax + 0x54], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0xd18], 0x40
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xd1c], 0x40
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0xd30], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0xd38], 0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xd3c], 0
mov eax, dword [ebp - 0x6c]
mov byte [eax + 0xd34], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0xd38], 0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xd3c], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0xd44], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0xd40], 0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xd14], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0xc4], 0x3c
mov ecx, dword [ebp - 0x6c]
mov eax, 0x3e8
xor edx, edx
div dword [ecx + 0xc4]
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xc8], eax
mov dword [ebp - 0x10], 0
jmp 0x45ffd8
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x45ffee
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x6c]
mov dword [edx + ecx*4 + 0x6c], 0
jmp 0x45ffcf
push 0x7c
call fcn.005cb847
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0
je 0x460012
mov ecx, dword [ebp - 0x18]
call fcn.004664a0
mov dword [ebp - 0x70], eax
jmp 0x460019
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x6c]
mov byte [eax + 0x38], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x34], 0
push str.DirectDrawCreate
mov edx, dword [0x6a1498]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x66c3d8], eax
push 0x610f6c
mov eax, dword [0x6a1498]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x66c3dc], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4