Function at 0x4c49c0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xea4
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0xfe
xor ebx, ebx
lea edx, [ebp - 0x282]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0xea4], eax
mov word [ebp - 0x284], cx
call fcn.004e8ba0
push 0xfe
lea ecx, [ebp - 0x182]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x184], ax
call fcn.004e8ba0
add esp, 0x18
lea edx, [ebp - 0xe90]
push edx
push 0x2001f
push ebx
push str.HardwareDescriptionSystemCentralProcessor0
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xea0], ebx
mov dword [ebp - 0xe94], ebx
mov dword [ebp - 0xe90], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c4ae8
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xe98]
push eax
mov eax, dword [ebp - 0xe90]
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0xe9c]
push edx
push ebx
push str.ProcessorNameString
push eax
mov dword [ebp - 0xe9c], 1
mov dword [ebp - 0xe98], 0x80
call esi
mov eax, dword [ebp - 0xe90]
lea ecx, [ebp - 0xe98]
push ecx
lea edx, [ebp - 0xea0]
push edx
push ebx
push ebx
push str.MHz
push eax
mov dword [ebp - 0xe98], 4
call esi
mov ecx, dword [ebp - 0xe90]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4c4ad0
movzx ecx, word [ebp + eax - 0x184]
mov word [ebp + eax - 0x284], cx
add eax, 2
cmp cx, bx
jne 0x4c4ad0
lea eax, [ebp - 0x184]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4c4af1
sub eax, edx
sar eax, 1
je 0x4c4e55
lea edx, [ebp - 0x184]
push 0x20
push edx
call fcn.004e56ec
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4c4ce4
push 0x7e
lea edx, [ebp - 0x82]
xor eax, eax
xor ecx, ecx
push ebx
push edx
mov word [esi - 2], ax
mov word [ebp - 0x84], cx
call fcn.004e8ba0
lea eax, [esi + 2]
lea edx, [ebp - 0x84]
add esp, 0xc
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x4c4b50
lea eax, [ebp - 0x84]
push 0x54b70c
push eax
call fcn.004e571a
add esp, 8
lea ecx, [ebp - 0x84]
test eax, eax
je 0x4c4c7e
push 0x47
push ecx
call fcn.004e53f9
add esp, 8
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x84]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4c4ba0
sub eax, edx
sar eax, 1
cmp eax, 1
je 0x4c4c67
cmp eax, 2
je 0x4c4c67
cmp eax, 3
jne 0x4c4bf8
cmp word [ebp - 0x82], 0x2e
jne 0x4c4be1
mov ax, word [ebp - 0x80]
xor ecx, ecx
mov word [ebp - 0x82], ax
mov word [ebp - 0x80], cx
lea edx, [ebp - 0x84]
push edx
call fcn.004e517a
add esp, 4
imul eax, eax, 0x64
jmp 0x4c4cde
cmp eax, 4
jne 0x4c4ce4
mov eax, 0x2e
cmp word [ebp - 0x82], ax
jne 0x4c4c3f
mov cx, word [ebp - 0x7e]
mov ax, word [ebp - 0x80]
mov edx, 0x30
mov word [ebp - 0x7e], dx
lea edx, [ebp - 0x84]
push edx
mov word [ebp - 0x82], ax
mov word [ebp - 0x80], cx
call fcn.004e517a
add esp, 4
jmp 0x4c4cde
cmp word [ebp - 0x80], ax
jne 0x4c4c56
mov ax, word [ebp - 0x7e]
mov ecx, 0x30
mov word [ebp - 0x80], ax
mov word [ebp - 0x7e], cx
lea edx, [ebp - 0x84]
push edx
call fcn.004e517a
add esp, 4
jmp 0x4c4cde
lea eax, [ebp - 0x84]
push eax
call fcn.004e517a
add esp, 4
imul eax, eax, 0x3e8
jmp 0x4c4cde
push 0x54b714
push ecx
call fcn.004e571a
add esp, 8
test eax, eax
je 0x4c4cb4
lea edx, [ebp - 0x84]
push 0x48
push edx
call fcn.004e53f9
lea edx, [ebp - 0x84]
xor ecx, ecx
push edx
mov word [eax], cx
call fcn.004e517a
add esp, 0xc
jmp 0x4c4cde
xor eax, eax
jmp 0x4c4cc0
movzx ecx, word [ebp + eax - 0x284]
mov word [ebp + eax - 0x184], cx
add eax, 2
cmp cx, bx
jne 0x4c4cc0
mov eax, dword [ebp - 0xea0]
mov dword [ebp - 0xe94], eax
push 0x206
lea edx, [ebp - 0x48a]
xor ecx, ecx
push ebx
push edx
xor esi, esi
mov word [ebp - 0x48c], cx
call fcn.004e8ba0
add esp, 0xc
push esi
lea eax, [ebp - 0x48c]
push str.HardwareDescriptionSystemCentralProcessor_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0xe90]
push ecx
push 0x2001f
push ebx
lea edx, [ebp - 0x48c]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c4d53
mov eax, dword [ebp - 0xe90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, 0x81
jl 0x4c4d04
lea ebx, [ebp - 0x184]
call fcn.004c4e70
call fcn.004c4f20
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [ebp - 0x68a]
push edx
mov word [ebp - 0x68c], cx
call fcn.004e8ba0
add esp, 0xc
test esi, esi
jle 0x4c4e55
lea esp, [esp]
mov eax, dword [ebp - 0xe94]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0x68c]
push str._s_t__d_MHZ
push edx
call ebx
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0xe8a]
push ecx
mov word [ebp - 0xe8c], ax
call fcn.004e8ba0
lea edx, [ebp - 0x68c]
push edx
push 0xcd
lea eax, [ebp - 0xe8c]
push str._03d_t_s
push eax
call ebx
lea eax, [ebp - 0xe8c]
add esp, 0x2c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c4df3
mov ebx, dword [ebp - 0xea4]
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
mov eax, dword [edi]
push ecx
lea edx, [ebp - 0xe8c]
push edx
lea ecx, [ebx + eax*2]
push ecx
call fcn.004ebc70
lea eax, [ebp - 0xe8c]
add esp, 0xc
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c4e30
sub eax, edx
sar eax, 1
add dword [edi], eax
mov eax, dword [edi]
mov edx, 1
mov word [ebx + eax*2], dx
inc dword [edi]
dec esi
jne 0x4c4d90
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret