Function at 0x441400
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x50e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push 0xff
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x103]
push ebx
mov dword [ebp - 0x230], ebx
push eax
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x24c], edx
mov byte [ebp - 0x104], bl
call sub.MSVCR100.dll_memset
push 0xff
lea ecx, [ebp - 0x203]
push ebx
push ecx
mov byte [ebp - 0x204], bl
call sub.MSVCR100.dll_memset
add esp, 0x18
lea edx, [ebp - 0x22c]
push edx
push 0x20019
mov eax, 0x100
push ebx
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x248], eax
mov eax, 4
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x238], 1
mov dword [ebp - 0x230], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x441639
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x22c]
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x238]
push edx
push ebx
push str.VendorIdentifier
push eax
call esi
lea ecx, [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0x22c]
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x238]
push eax
push ebx
push str.ProcessorNameString
push ecx
call esi
lea edx, [ebp - 0x244]
push edx
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x230]
push ecx
push ebx
push str.MHz
push edx
call esi
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441544
sub eax, edx
je 0x441557
lea eax, [ebp - 0x104]
jmp 0x441573
lea ecx, [ebp - 0x220]
push ecx
call fcn.00446520
add esp, 4
cmp dword [eax + 0x14], 0x10
mov ebx, 1
jb 0x441573
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
push eax
push 0x4ec1f0
push edi
call esi
add esp, 0xc
test bl, 1
je 0x4415a3
cmp dword [ebp - 0x20c], 0x10
jb 0x4415a3
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x204]
push eax
push 0x4ec1f0
push ecx
call esi
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x23c]
add esp, 0xc
push 0x4ec360
push str.kernel32.dll
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop esi
test eax, eax
je 0x44160d
lea ecx, [ebp - 0x228]
push ecx
call eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x24c]
mov dword [ecx], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a665a
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x24c]
mov dword [ecx], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a665a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.004a665a
mov esp, ebp
pop ebp
ret