Function at 0x480fc6
Capabilities:
Get number of processors
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5328cd
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
xor ebx, ebx
mov dword [esp + 0x30], ebx
xor eax, eax
mov dword [esp + 0x108], ebx
push 0xc6
mov word [esp + 0x38], ax
lea eax, [esp + 0x3a]
push ebx
push eax
call fcn.00506ab0
add esp, 0xc
mov dword [esp + 0x24], 0x64
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
push 0x56aabc
call fcn.00450b9d
xor eax, eax
lea esi, [esp + 0x110]
inc eax
mov byte [esp + 0x108], al
cmp dword [esp + 0x124], 8
cmovae esi, dword [esp + 0x110]
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.00471a13
mov esi, 0x56ab44
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.00471a13
cmp dword [esp + 0x124], 8
lea esi, [esp + 0x110]
cmovae esi, dword [esp + 0x110]
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.00471a13
mov esi, 0x56ab20
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.00471a13
push 0x56ab54
lea ecx, [esp + 0x24]
call fcn.00450b9d
mov byte [esp + 0x108], 2
lea esi, [esp + 0x110]
cmp dword [esp + 0x124], 8
cmovae esi, dword [esp + 0x110]
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00471a13
mov esi, 0x56ab48
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00471a13
call fcn.00480e12
xor edx, edx
mov ecx, 0x200
test al, al
mov esi, edx
lea eax, [esp + 0x28]
cmovne esi, ecx
push eax
lea eax, [esp + 0x18]
push eax
push edx
push 0x20019
push edx
push edx
push edx
push dword [esp + 0x34]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4811a7
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 1
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
push 0x56ab80
push dword [esp + 0x28]
call edi
push 1
test eax, eax
movzx ebx, bl
pop eax
push dword [esp + 0x14]
cmove ebx, eax
call ebp
test bl, bl
jne 0x481252
lea eax, [esp + 0x28]
or esi, 0x20019
push eax
lea eax, [esp + 0x18]
push eax
xor eax, eax
push eax
push esi
push eax
push eax
push eax
push dword [esp + 0x34]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x481207
inc eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x56ab68
push dword [esp + 0x28]
call edi
push 1
test eax, eax
movzx ebx, bl
pop eax
push dword [esp + 0x14]
cmove ebx, eax
call ebp
test bl, bl
jne 0x481252
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
push eax
xor eax, eax
push eax
push esi
push eax
push eax
push eax
push dword [esp + 0x3c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x481252
inc eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x56abac
push dword [esp + 0x28]
call edi
push dword [esp + 0x14]
call ebp
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
call fcn.00450d66
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.00450c64
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00450c64
xor eax, eax
lea ecx, [esp + 0x110]
push 0
inc eax
push eax
call fcn.004510a8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00501f3e
add esp, 0xf8
ret