Function at 0x475474
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4b7d90
call fcn.00483228
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x20], esi
call fcn.00451526
mov eax, dword [0x4e43a4]
and dword [ebp - 4], 0
mov dword [esi + 0x58], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x5c], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x60], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x64], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
mov dword [esi], vtable.WSetupProfileString.0
mov dword [esi + 0x50], 3
call fcn.0049d64d
push 0x2c
lea eax, [esi + 0x1c]
pop ebx
mov byte [ebp - 4], 5
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00462c32
add esp, 0xc
mov edi, 0x4e7e70
lea ecx, [esi + 0x20]
push edi
call fcn.0049da15
lea eax, [esi + 0x28]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00462c32
lea eax, [esi + 0x2c]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00462c32
add esp, 0x18
cmp dword [ebp + 0xc], 0
je 0x475544
lea eax, [esi + 0x2c]
mov ecx, 0x4e8288
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044e2fe
push eax
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 6
call fcn.0049d9c5
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0049d8d8
lea eax, [esi + 0x58]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00462c32
lea eax, [esi + 0x5c]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00462c32
lea eax, [esi + 0x60]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00462c32
lea eax, [esi + 0x30]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00462c32
lea eax, [esi + 0x64]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00462c32
add esp, 0x3c
lea ecx, [ebp - 0x1c]
push edi
call fcn.0049d946
lea eax, [ebp - 0x1c]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 7
call fcn.00462c32
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [eax - 8], 0
je 0x475623
push 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4dd818
call fcn.0049d946
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
mov byte [ebp - 4], 8
call fcn.0049d64d
mov byte [ebp - 4], 7
call fcn.0044c9c8
add esp, 0xc
test eax, eax
jne 0x475623
push eax
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4dd814
call fcn.0049d946
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
mov byte [ebp - 4], 9
call fcn.0049d64d
mov byte [ebp - 4], 7
call fcn.0044c9c8
add esp, 0xc
test eax, eax
je 0x47562a
and dword [esi + 0x40], 0
jmp 0x47562a
mov dword [esi + 0x40], 1
push edi
lea ecx, [ebp - 0x18]
call fcn.0049d946
lea eax, [ebp - 0x18]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xa
call fcn.00462c32
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp dword [eax - 8], 0
je 0x4756c0
push 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4dd818
call fcn.0049d946
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
mov byte [ebp - 4], 0xb
call fcn.0049d64d
mov byte [ebp - 4], 0xa
call fcn.0044c9c8
add esp, 0xc
test eax, eax
jne 0x4756c0
push eax
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4dd814
call fcn.0049d946
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
mov byte [ebp - 4], 0xc
call fcn.0049d64d
mov byte [ebp - 4], 0xa
call fcn.0044c9c8
add esp, 0xc
test eax, eax
je 0x4756c7
and dword [esi + 0x68], 0
jmp 0x4756c7
mov dword [esi + 0x68], 1
lea eax, [esi + 0x34]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00462c32
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.0049d946
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xd
call fcn.00462c32
mov eax, dword [ebp - 0x14]
xor edi, edi
add esp, 0xc
cmp dword [eax - 8], edi
je 0x47576d
push edi
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4dd818
call fcn.0049d946
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
mov byte [ebp - 4], 0xe
call fcn.0049d64d
mov byte [ebp - 4], 0xd
call fcn.0044c9c8
add esp, 0xc
cmp eax, edi
jne 0x47576d
push edi
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4dd814
call fcn.0049d946
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
mov byte [ebp - 4], 0xf
call fcn.0049d64d
mov byte [ebp - 4], 0xd
call fcn.0044c9c8
add esp, 0xc
cmp eax, edi
je 0x475774
mov dword [esi + 0x48], edi
jmp 0x475774
mov dword [esi + 0x48], 1
lea eax, [esi + 0x34]
push eax
call fcn.004636dd
lea eax, [esi + 0x30]
push eax
call fcn.00463744
pop ecx
mov byte [ebp - 4], 0xa
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0049d8d8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.0049d8d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0049d8d8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8