Function at 0x46bb60
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x559860
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x58]
push 5
push str.HKEY_
push eax
call fcn.0051a35a
add esp, 0xc
test eax, eax
je 0x46bcc6
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
call fcn.0049eff0
mov edi, vtable.cWCStr.0
mov dword [esp + 0x38], edi
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x88], 0
call fcn.0049eff0
mov dword [esp + 0x28], edi
push 0xffffffffffffffff
mov ebx, 1
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], bl
call fcn.0049eff0
mov dword [esp + 0x18], edi
mov ecx, dword [0x5b9f28]
push 0x30
push ebx
push ebx
push 0x13
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 2
call fcn.004b5af0
mov edx, dword [0x5b9f28]
push eax
push str.HKEY_CURRENT_USERSoftwareMicrosoftFile_ManagerSettings
push ebx
push ebx
push 0x7e
push edx
lea ecx, [esp + 0x44]
call fcn.004b5af0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00401080
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
add esp, 0xc
push eax
mov eax, dword [edx + esi + 0x14]
push eax
call fcn.004b3720
mov edi, vtable.cWCS.0
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], bl
mov dword [esp + 0x18], edi
call fcn.0049ee80
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 0
mov dword [esp + 0x28], edi
call fcn.0049ee80
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x38], edi
call fcn.0049ee80
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi + 0x14]
push 0x490
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov ecx, dword [esi + 0x58]
push 0x11
push str.HKEY_CURRENT_USER
push ecx
call fcn.0051a35a
add esp, 0xc
test eax, eax
je 0x46bdc2
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
call fcn.0049eff0
mov edi, vtable.cWCStr.0
mov dword [esp + 0x28], edi
push 0xffffffffffffffff
mov ebx, 3
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x88], ebx
call fcn.0049eff0
mov dword [esp + 0x38], edi
mov edx, dword [0x5b9f28]
push 0x30
push 1
push 1
push 0x13
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 4
call fcn.004b5af0
push eax
mov eax, dword [0x5b9f28]
push 1
push 1
push 0x7d
push eax
lea ecx, [esp + 0x50]
call fcn.004b5af0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push eax
mov eax, dword [edx + esi + 0x14]
push eax
call fcn.004b3720
mov edi, vtable.cWCS.0
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], bl
mov dword [esp + 0x38], edi
call fcn.0049ee80
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x28], edi
call fcn.0049ee80
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi + 0x14]
push 0x490
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov edi, dword [esi + 0x58]
push 1
xor ebx, ebx
call fcn.0046b9f0
add esp, 4
test al, al
jne 0x46bf02
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x20]
call fcn.0049eff0
mov edi, vtable.cWCStr.0
mov dword [esp + 0x18], edi
push 0xffffffffffffffff
mov ebx, 5
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x88], ebx
call fcn.0049eff0
mov dword [esp + 0x28], edi
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], 6
call fcn.0049eff0
mov dword [esp + 0x38], edi
mov ecx, dword [0x5b9f28]
push 0x34
push 1
push 1
push 0x13
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 7
call fcn.004b5af0
mov edx, dword [esi + 0x58]
push eax
mov eax, dword [0x5b9f28]
push edx
push 1
push 1
push 0x7f
push eax
lea ecx, [esp + 0x44]
call fcn.004b5af0
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00401080
mov edx, dword [esi + 4]
add esp, 0xc
push eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0x14]
push ecx
call fcn.004b3720
mov edi, vtable.cWCS.0
add esp, 0x10
lea ecx, [esp + 0x38]
mov ebp, eax
mov byte [esp + 0x80], 6
mov dword [esp + 0x38], edi
call fcn.0049ee80
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], bl
mov dword [esp + 0x28], edi
call fcn.0049ee80
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x18], edi
call fcn.0049ee80
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0x14]
push 0x490
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
cmp ebp, 6
sete al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov ebx, dword [esi + 0x60]
mov edi, dword [esi + 0x58]
push 1
call fcn.0046b9f0
add esp, 4
test al, al
jne 0x46c0c5
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
call fcn.0049eff0
mov dword [esp + 0x38], vtable.cWCStr.0
mov edx, dword [0x5b9f28]
push 1
push 1
push 0x76
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x90], 8
call fcn.004b5af0
mov ecx, dword [esi + 0x60]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x46bf79
test dx, dx
je 0x46bf75
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x46bf79
add ecx, 4
add eax, 4
test dx, dx
jne 0x46bf53
xor eax, eax
jmp 0x46bf7e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov edi, vtable.cWCS.0
lea ecx, [esp + 0x38]
sete bl
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x38], edi
call fcn.0049ee80
test bl, bl
jne 0x46c0c5
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x70]
call fcn.004013c0
mov ebp, eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x60]
mov dword [esp + 0x88], 9
call fcn.004013c0
mov ebx, eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], 0xa
call fcn.004013c0
mov dword [esp + 0x14], eax
mov eax, dword [0x5b9f28]
push 0x34
push 1
push 1
push 0x13
push eax
mov ecx, ebp
mov byte [esp + 0x94], 0xb
call fcn.004b5af0
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x58]
push eax
mov eax, dword [0x5b9f28]
push ecx
push edx
push 1
push 1
push 0x80
push eax
mov ecx, ebx
call fcn.004b5af0
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.00401080
mov edx, dword [esi + 4]
add esp, 0x10
push eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0x14]
push ecx
call fcn.004b3720
add esp, 0x10
lea ecx, [esp + 0x48]
mov ebx, eax
mov byte [esp + 0x80], 0xa
mov dword [esp + 0x48], edi
call fcn.0049ee80
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 9
mov dword [esp + 0x58], edi
call fcn.0049ee80
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x68], edi
call fcn.0049ee80
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0x14]
push 0x491
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
cmp ebx, 6
sete al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret