Function at 0x4041b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44ffe8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x461cb4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], eax
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x1c], eax
jmp 0x4041f0
mov edi, dword [esp + 0x4c]
cmp edi, 0xffffffff
jne 0x4041fd
push 0x64
jmp 0x404226
mov esi, edi
imul esi, esi, 0xf3
call fcn.00432b22
mov ecx, dword [esi + 0x4664ba]
cdq
sub ecx, 0x63
idiv ecx
mov eax, dword [esi + 0x466481]
add eax, 1
add edx, 0x64
imul eax, edx
push eax
call ebp
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, 5
mov dword [esp + 0x1c], eax
jg 0x40457e
fld qword [0x458458]
sub esp, 8
fstp qword [esp]
push 0
push ecx
mov ebx, esp
mov dword [esp + 0x34], esp
push str.000000
call fcn.00401260
push ecx
mov byte [esp + 0x54], 2
mov ebx, esp
mov dword [esp + 0x3c], esp
push str.StarMenu.bmp
call fcn.00401260
mov esi, edi
push 0x300
imul esi, esi, 0xf3
push 0x400
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x68], 0
mov ecx, dword [esi + 0x466491]
call fcn.00401940
mov ebx, dword [esp + 0x18]
mov edi, eax
lea edx, [esp + 0x18]
cmp edx, edi
je 0x4042f6
test ebx, ebx
je 0x4042e2
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4042e2
mov eax, dword [ebx]
test eax, eax
je 0x4042c9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4042d9
push eax
call fcn.00423ef9
add esp, 4
push ebx
call fcn.00423ef9
add esp, 4
mov ebx, dword [edi]
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x4042f6
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x20]
test edi, edi
je 0x40433e
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x404336
test edi, edi
je 0x404336
mov eax, dword [edi]
test eax, eax
je 0x40431d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x40432d
push eax
call fcn.00423ef9
add esp, 4
push edi
call fcn.00423ef9
add esp, 4
mov dword [esp + 0x20], 0
cmp dword [esp + 0x4c], 0xffffffff
jne 0x404349
push 0x64
jmp 0x40436a
call fcn.00432b22
mov ecx, dword [esi + 0x4664ba]
cdq
sub ecx, 0x63
idiv ecx
mov eax, dword [esi + 0x466481]
add eax, 1
add edx, 0x64
imul eax, edx
push eax
call ebp
test ebx, ebx
push ecx
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax], ebx
je 0x404383
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edx, [esp + 0x34]
push edx
call fcn.00412cc0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esp, 8
test ecx, ecx
mov dword [esp + 0x2c], eax
jg 0x404525
cmp byte [esp + 0x48], 0
jne 0x404530
mov edi, dword [esi + 0x466491]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x7c]
lea edx, [esp + 0x24]
push edx
push 9
push 0xf0
xor ebx, ebx
push edi
mov dword [esp + 0x34], ebx
call eax
cmp eax, ebx
jge 0x4043dc
push 0x4582d4
push edi
push eax
call fcn.0044a580
cmp dword [esp + 0x4c], 0xffffffff
jne 0x4043ea
push 0x1f4
jmp 0x404411
call fcn.00432b22
mov ecx, dword [esi + 0x4664ba]
cdq
sub ecx, 0x1f3
idiv ecx
mov eax, dword [esi + 0x466481]
add eax, 1
add edx, 0x1f4
imul eax, edx
push eax
call ebp
mov edi, dword [esi + 0x466491]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x5c]
lea edx, [esp + 0x24]
push edx
push edi
mov dword [esp + 0x2c], ebx
call eax
cmp eax, ebx
jge 0x40443a
push 0x4582d4
push edi
push eax
call fcn.0044a580
cmp dword [esp + 0x4c], 0xffffffff
jne 0x404445
push 0x64
jmp 0x404466
call fcn.00432b22
mov ecx, dword [esi + 0x4664ba]
cdq
sub ecx, 0x63
idiv ecx
mov eax, dword [esi + 0x466481]
add eax, 1
add edx, 0x64
imul eax, edx
push eax
call ebp
mov edi, dword [esi + 0x466491]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x5c]
lea edx, [esp + 0x24]
push edx
push edi
mov dword [esp + 0x2c], ebx
call eax
cmp eax, ebx
jge 0x40448f
push 0x4582d4
push edi
push eax
call fcn.0044a580
cmp dword [esp + 0x4c], 0xffffffff
jne 0x40449a
push 0x64
jmp 0x4044bb
call fcn.00432b22
mov ecx, dword [esi + 0x4664ba]
cdq
sub ecx, 0x63
idiv ecx
mov eax, dword [esi + 0x466481]
add eax, 1
add edx, 0x64
imul eax, edx
push eax
call ebp
mov edi, dword [esi + 0x466491]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x5c]
lea edx, [esp + 0x24]
push edx
push edi
mov dword [esp + 0x2c], ebx
call eax
cmp eax, ebx
jge 0x4044e4
push 0x4582d4
push edi
push eax
call fcn.0044a580
cmp dword [esp + 0x4c], 0xffffffff
jne 0x4044f7
push 0x1f4
call ebp
jmp 0x4041f0
call fcn.00432b22
mov ecx, dword [esi + 0x4664ba]
cdq
sub ecx, 0x1f3
idiv ecx
mov eax, dword [esi + 0x466481]
add eax, 1
add edx, 0x1f4
imul eax, edx
push eax
call ebp
jmp 0x4041f0
cmp byte [esp + 0x48], 0
jne 0x4043ac
test ebx, ebx
je 0x404568
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x404568
mov eax, dword [ebx]
test eax, eax
je 0x40454f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x40455f
push eax
call fcn.00423ef9
add esp, 4
push ebx
call fcn.00423ef9
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x45662c
call fcn.0041ed40
imul edi, edi, 0xf3
mov byte [esp + 0x44], 1
mov eax, dword [edi + 0x466499]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00420060
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x48], 0
call fcn.0041af00
add esp, 8
lea edi, [esp + 0x18]
call fcn.00401370
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret