Function at 0x404480
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x58834b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5f8320]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f8320]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x448]
lea ecx, [esp + 0x98]
mov dword [esp + 0x30], ebp
call fcn.00401a00
xor ebx, ebx
lea ecx, [esp + 0x98]
mov dword [esp + 0x440], ebx
call fcn.00401490
test eax, eax
je 0x404509
lea ecx, [esp + 0x98]
mov dword [esp + 0x440], 0xffffffff
call fcn.00401200
xor eax, eax
jmp 0x4047f1
call fcn.00404380
test eax, eax
jne 0x404533
lea ecx, [esp + 0x98]
mov dword [esp + 0x440], 0xffffffff
call fcn.00401200
mov eax, 0x7f
jmp 0x4047f1
push 0x2c
lea eax, [esp + 0x3c]
push ebx
push eax
mov dword [esp + 0x40], ebx
call fcn.00551820
xor eax, eax
push 0x208
lea ecx, [esp + 0x1d8]
push ebx
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x1dc], ebx
call fcn.00551820
mov eax, 0x11d0
mov word [esp + 0xa6], ax
mov al, 0xc2
mov edx, 0xcd44
push 0x192
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x64
mov dword [esp + 0xa4], 0xaac56b
mov word [esp + 0xa8], dx
mov byte [esp + 0xac], 0x8c
mov byte [esp + 0xad], al
mov byte [esp + 0xae], bl
mov byte [esp + 0xaf], 0xc0
mov byte [esp + 0xb0], 0x4f
mov byte [esp + 0xb1], al
mov byte [esp + 0xb2], 0x95
mov byte [esp + 0xb3], 0xee
call fcn.00553026
add esp, 0x1c
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov edi, eax
push ecx
mov dword [esp + 0x38], edi
call dword [0x5f97b8]
test eax, eax
jne 0x404666
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [esp + 0x98]
mov dword [esp + 0x440], 0xffffffff
call fcn.00401200
mov eax, esi
jmp 0x4047f1
push ebx
push ebx
push 3
push ebx
push 1
push bind
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404696
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
push ebx
push edx
mov esi, eax
call dword [0x5f97b4]
jmp 0x404648
push ebx
lea eax, [esp + 0x3d4]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [0x5f97b0]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, ebx
jbe 0x4046ea
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
movzx edx, byte [esp + esi + 0x3d0]
push edx
push 0x58df9c
push edi
call ebp
mov eax, dword [esp + 0x24]
inc esi
add esp, 0xc
add edi, 4
cmp esi, eax
jb 0x4046c2
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push eax
lea eax, [esp + 0x3dc]
push eax
push ecx
call dword [0x5f97ac]
mov esi, eax
cmp esi, ebx
jne 0x404740
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], 1
lea edx, [esp + 0x1c]
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], 0x100
jmp 0x404788
push ebx
lea eax, [esp + 0x1c8]
push eax
push esi
call dword [0x5f97a4]
mov eax, 2
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x64], 0x24
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x48], eax
lea edx, [esp + 0x64]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 1
mov dword [esp + 0x5c], ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x8c]
push ecx
push ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x40], 0x30
call dword [0x5f97a0]
mov ebp, eax
cmp esi, ebx
je 0x4047c3
mov edx, dword [esp + 0x14]
push ebx
push esi
push edx
call dword [0x5f97a8]
mov eax, dword [esp + 0x14]
push ebx
push eax
call dword [0x5f97b4]
push edi
call fcn.00552ecf
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x440], 0xffffffff
call fcn.00401200
mov eax, ebp
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0055189a
add esp, 0x430
ret