Function at 0x46a960
Capabilities:
Accept command line arguments
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50613c
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xb0], ebx
lea eax, [ebp - 0xa4]
xor esi, esi
push eax
xor edi, edi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xa4], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0xac], ecx
test ecx, ecx
je 0x46aa9e
mov eax, dword [ebp - 0xa4]
lea ebx, [esi + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
cmp eax, ebx
jle 0x46aa91
push 4
push str.cpu
push dword [ecx + ebx*4]
call fcn.004df080
mov ecx, dword [ebp - 0xac]
add esp, 0xc
mov ecx, dword [ecx + ebx*4]
test eax, eax
jne 0x46aa17
push 0xa
lea eax, [ebp - 0x18]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004e043c
mov dword [ebp - 0xb4], eax
jmp 0x46aa45
push 4
push 0x52bc08
push ecx
call fcn.004df080
add esp, 0xc
test eax, eax
jne 0x46aa48
push 0xa
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + ebx*4]
add eax, 8
push eax
call fcn.004e043c
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0xac]
push 4
push str.ram
push dword [eax + ebx*4]
call fcn.004df080
add esp, 0xc
test eax, eax
jne 0x46aa81
push 0xa
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + ebx*4]
add eax, 8
push eax
call fcn.004e043c
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp - 0xac]
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x46a9e1
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [ebp - 0xb0]
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x14], 4
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46aaf7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push str.MHz
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
call fcn.00484200
shrd eax, edx, 0x14
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004843d0
mov ecx, dword [ebp - 0x38]
test esi, esi
jle 0x46acca
mov eax, dword [ebp - 0x40]
test eax, eax
jle 0x46acca
cmp eax, esi
jge 0x46acca
push str.IDS_NotEnoughSpaceTitle
lea edx, [ebx + 4]
lea ecx, [ebp - 0x70]
call fcn.0041ade0
push str.IDS_NotEnoughSpace
lea edx, [ebx + 4]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0041ade0
push 0xfffe
mov byte [ebp - 4], 1
call fcn.004a4905
push 0xfffe
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0xa4], ebx
call fcn.004d78d0
add esp, 0x18
mov dword [ebp - 0x14], ebx
xor eax, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
mov word [ebx], ax
call fcn.00484240
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
setae byte [ebp - 0xa5]
cmovae eax, edx
dec ecx
cmp word [eax + ecx*2], 0x5c
je 0x46abcb
cmp byte [ebp - 0xa5], 0
lea eax, [ebp - 0x34]
cmovne eax, edx
cmp word [eax + ecx*2], 0x2f
jne 0x46abed
cmp dword [ebp - 0x24], ecx
jb 0x46aef7
cmp byte [ebp - 0xa5], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], ecx
cmovne eax, edx
xor edx, edx
mov word [eax + ecx*2], dx
mov edx, dword [ebp - 0x34]
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
push esi
cmovae ecx, edx
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
push 0x7fff
push ebx
call fcn.0046b330
add esp, 0x14
lea ecx, [ebp - 0x88]
call fcn.00467100
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x46ac2a
mov eax, dword [eax]
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
mov ecx, ebx
cmovae edx, dword [ebp - 0x70]
sub esp, 8
push eax
mov eax, dword [ebp - 0xb0]
add eax, 4
push eax
sub esp, 0xc
push 7
call fcn.0046b1b0
add esp, 0x20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
mov ebx, eax
call fcn.004161c0
lea ecx, [ebp - 0x34]
call fcn.004161c0
push dword [ebp - 0xa4]
call fcn.004a450c
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.004161c0
lea ecx, [ebp - 0x70]
cmp ebx, 2
je 0x46acbb
mov dword [ebp - 4], 0xffffffff
call fcn.004161c0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004843d0
mov ebx, dword [ebp - 0xb0]
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
movq qword [ebp - 0x40], xmm0
jmp 0x46ab20
call fcn.004161c0
mov eax, 1
jmp 0x46aedb
mov esi, dword [ebp - 0xb4]
test esi, esi
jle 0x46adcc
test ecx, ecx
jle 0x46adcc
cmp ecx, esi
jge 0x46adcc
push str.IDS_CpuFreqTooLowTitle
lea edx, [ebx + 4]
lea ecx, [ebp - 0x58]
call fcn.0041ade0
push str.IDS_CpuFreqTooLow
lea edx, [ebx + 4]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0041ade0
push 0xfffe
mov byte [ebp - 4], 6
call fcn.004a4905
push 0xfffe
mov ebx, eax
push 0
push ebx
call fcn.004d78d0
mov dword [ebp - 0x14], ebx
xor eax, eax
mov byte [ebp - 4], 7
mov word [ebx], ax
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push esi
cmovae eax, dword [ebp - 0x70]
push eax
push 0x7fff
push ebx
call fcn.0046b330
add esp, 0x28
lea ecx, [ebp - 0x88]
call fcn.00467100
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x46ad6a
mov eax, dword [eax]
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
mov ecx, ebx
cmovae edx, dword [ebp - 0x58]
sub esp, 8
push eax
mov eax, dword [ebp - 0xb0]
add eax, 4
push eax
sub esp, 0xc
push 2
call fcn.0046b1b0
add esp, 0x20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
mov esi, eax
call fcn.004161c0
push ebx
call fcn.004a450c
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.004161c0
lea ecx, [ebp - 0x58]
cmp esi, 7
je 0x46acbb
mov dword [ebp - 4], 0xffffffff
call fcn.004161c0
test edi, edi
jle 0x46aed9
mov eax, dword [ebp - 0x3c]
test eax, eax
jle 0x46aed9
cmp eax, edi
jge 0x46aed9
mov esi, dword [ebp - 0xb0]
lea ecx, [ebp - 0x88]
add esi, 4
push str.IDS_RamNotEnoughTitle
mov edx, esi
call fcn.0041ade0
push str.IDS_RamNotEnough
mov edx, esi
mov dword [ebp - 4], 9
lea ecx, [ebp - 0xa0]
call fcn.0041ade0
push 0xfffe
mov byte [ebp - 4], 0xa
call fcn.004a4905
push 0xfffe
mov ebx, eax
push 0
push ebx
call fcn.004d78d0
mov dword [ebp - 0x14], ebx
xor eax, eax
mov byte [ebp - 4], 0xb
mov word [ebx], ax
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
push edi
cmovae eax, dword [ebp - 0xa0]
push eax
push 0x7fff
push ebx
call fcn.0046b330
add esp, 0x28
lea ecx, [ebp - 0xd8]
call fcn.00467100
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x46ae7f
mov eax, dword [eax]
cmp dword [ebp - 0x74], 8
lea edx, [ebp - 0x88]
mov ecx, ebx
cmovae edx, dword [ebp - 0x88]
sub esp, 8
push eax
push esi
sub esp, 0xc
push 2
call fcn.0046b1b0
add esp, 0x20
lea ecx, [ebp - 0xd8]
mov esi, eax
call fcn.004161c0
push ebx
call fcn.004a450c
add esp, 4
lea ecx, [ebp - 0xa0]
call fcn.004161c0
lea ecx, [ebp - 0x88]
call fcn.004161c0
cmp esi, 7
je 0x46acc0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
call fcn.004105c0
int3