Function at 0x405930
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e24c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
mov dword [ebp - 0x2c], esi
mov word [esi + 0x14], cx
mov dword [ebp - 4], ebx
xor edx, edx
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov word [esi + 0x30], dx
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], ebx
mov word [esi + 0x4c], cx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], ebx
mov word [esi + 0x68], dx
xor eax, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
push ecx
mov word [ebp - 0x20], ax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x20]
movzx edx, word [ebp - 0x1a]
mov ecx, eax
and ecx, 0x80000003
mov dword [ebp - 0x28], edx
jns 0x4059ce
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x4059f3
cdq
mov ecx, 0x64
idiv ecx
test edx, edx
jne 0x4059ec
movzx eax, word [ebp - 0x20]
cdq
mov ecx, 0x190
idiv ecx
test edx, edx
jne 0x4059f3
mov eax, 1
jmp 0x4059f5
xor eax, eax
mov edx, dword [ebp - 0x20]
dec edx
mov ecx, 0x270e
cmp dx, cx
ja 0x405a52
mov edx, dword [ebp - 0x1e]
dec edx
cmp dx, 0xb
ja 0x405a52
cmp word [ebp - 0x1a], 1
jb 0x405a52
movzx ecx, word [ebp - 0x1e]
lea edx, [eax + eax*2]
lea ecx, [ecx + edx*4]
movzx edx, word [ebp - 0x1a]
cmp edx, dword [ecx*4 + 0x465c5c]
jg 0x405a52
movzx ecx, word [ebp - 0x1e]
lea edx, [ecx - 1]
cmp edx, ebx
jle 0x405a52
mov cx, word [ebp - 0x28]
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0x465c60
add cx, word [eax]
add eax, 4
dec edx
jne 0x405a45
mov word [ebp - 0x28], cx
movzx ecx, word [ebp - 0x20]
dec ecx
cmp word [ebp - 0x18], 0x18
jae 0x405ab3
cmp word [ebp - 0x16], 0x3c
jae 0x405ab3
mov dx, word [ebp - 0x14]
cmp dx, 0x3c
jae 0x405ab3
mov eax, 0x3e8
cmp word [ebp - 0x12], ax
jae 0x405ab3
movzx eax, word [ebp - 0x18]
mov ebx, eax
shl ebx, 4
sub ebx, eax
movzx eax, word [ebp - 0x16]
lea eax, [eax + ebx*4]
mov ebx, eax
shl ebx, 4
movzx edx, dx
sub ebx, eax
lea eax, [edx + ebx*4]
movzx edx, word [ebp - 0x12]
imul eax, eax, 0x3e8
add eax, edx
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fdiv qword [0x469310]
jmp 0x405ab5
fldz
mov eax, 0x51eb851f
imul ecx
mov eax, ecx
imul eax, eax, 0x16d
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
add ebx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
mov eax, ecx
movzx ecx, word [ebp - 0x28]
cdq
and edx, 3
add eax, edx
sar eax, 2
add ebx, eax
mov eax, dword [ebp + 8]
lea edx, [ebx + ecx - 0xa955a]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 1
fild dword [ebp - 0x24]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x84], 0xff000005
faddp st(1)
fstp qword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
push str.Main
lea ecx, [esi + 0x4c]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], 0
call fcn.00403570
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444627
mov esp, ebp
pop ebp
ret 8