Function at 0x45cda0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x65a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
push 0
call fcn.004844b0
add esp, 0xc
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x666e34]
mov ebx, eax
cmp ebx, ecx
jae 0x45ce02
mov ecx, dword [0x666e34]
add ecx, 0xfffffc18
cmp ebx, ecx
jae 0x45ce09
mov ecx, 0x666e34
xchg dword [ecx], eax
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 0x118]
add eax, 0x64
cmp ebx, eax
jbe 0x45cef1
movd xmm1, dword [ebp - 0x1c]
mov ecx, edi
movd xmm0, dword [ebp - 0x20]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x14], xmm1
push dword [ebp - 0x14]
movss dword [ebp - 0x18], xmm0
push dword [ebp - 0x18]
call fcn.005be320
test al, al
je 0x45cef1
mov ecx, edi
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x45ce61
mov edi, eax
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x45ce58
push dword [ebp - 0x14]
mov edx, edi
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004848c0
add esp, 0xc
mov ecx, edi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.005bdd80
mov ecx, eax
mov eax, dword [ebp - 0x10]
cmp ecx, eax
je 0x45ce97
push ecx
mov ecx, eax
call fcn.005bd8b0
test al, al
je 0x45cef1
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x45cef1
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x45cef1
cmp byte [edi + 0xec], 0
jne 0x45cef1
mov eax, dword [edi + 0x100]
test eax, eax
je 0x45cec4
test byte [eax + 0x7c], 2
jne 0x45cef1
push 0
push 0x6650d8
push 0x65cc98
push 0
push ecx
mov dword [ebp - 4], 0
call fcn.004ac1c8
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
push eax
call fcn.0045c700
mov edi, dword [ebp - 0x1c]
mov ecx, esi
push edi
push dword [ebp - 0x20]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call fcn.0045d2a0
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0xf8]
test edx, edx
jne 0x45cf1b
cmp byte [ecx + 0xe9], dl
je 0x45cf89
mov eax, dword [ebp - 0x20]
cmp eax, dword [ecx + 0x24]
jae 0x45cf89
cmp edi, dword [ecx + 0x28]
jb 0x45cf31
mov eax, dword [esi + 0x10]
test byte [eax + 0x34], 0x70
je 0x45cf89
test edx, edx
jne 0x45cf73
cmp byte [ecx + 0xe9], dl
je 0x45cf41
test edx, edx
jne 0x45cf4a
cmp byte [ecx + 0xe9], 0
je 0x45cf89
mov eax, dword [ecx + 0xf4]
sub eax, dword [ecx + 0xe4]
cmp edx, eax
jge 0x45cf89
mov eax, dword [ecx + 0x28]
add eax, 0xffffffe8
cmp edi, eax
jle 0x45cf89
push 1
push ebx
mov ecx, esi
call fcn.0045d6c0
mov byte [ebp - 0x10], al
jmp 0x45cf9a
jle 0x45cf3d
cmp edi, 0x18
jge 0x45cf3d
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0045d6c0
mov byte [ebp - 0x10], al
jmp 0x45cf9a
movsd xmm0, qword [0x627da0]
movsd qword [esi + 0x20], xmm0
mov byte [ebp - 0x10], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x84]
test eax, eax
je 0x45cfb0
mov ecx, eax
call fcn.0045b330
jmp 0x45cfb5
call fcn.0045b360
mov ecx, dword [esi + 0xc]
mov byte [ebp - 0x14], al
cmp byte [ecx + 0xeb], 0
je 0x45cfee
cmp byte [ecx + 0xe8], 0
je 0x45cfee
test al, al
jne 0x45cfee
push 1
push 0
call fcn.0045a970
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx eax, byte [esi + 0x30]
mov ecx, esi
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
push ebx
call fcn.0045d020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8