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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x412004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x17
mov dword [ebp - 0x41c], ecx
lea edi, [ebp - 0x408]
pop ecx
or dword [ebp - 0x40c], 0xffffffff
lea eax, [ebp - 0x3aa]
or dword [ebp - 0x414], 0xffffffff
mov esi, 0x401700
rep movsd dword es:[edi], dword [esi]
push 0x1a0
xor ebx, ebx
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.msvcrt.dll_memset
push 0x204
lea eax, [ebp - 0x208]
mov dword [ebp - 0x410], 0xff
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
mov ecx, 0x1fc
call fcn.0040ebd3
mov esi, eax
mov dword [ebp - 0x418], esi
test esi, esi
jne 0x40ca48
push 8
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
push 2
call fcn.00411dc9
pop ecx
mov edx, 0x20001
mov ecx, eax
call fcn.0040d7c6
mov ebx, 0xffff
cmp dword [ebp - 0x40c], 0xffffffff
je 0x40c9ee
push dword [ebp - 0x40c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [ebp - 0x414], 0xffffffff
je 0x40ca03
push dword [ebp - 0x414]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
je 0x40ca12
lea ecx, [ebp - 0x418]
call fcn.0040eb2f
cmp ebx, 0xffff
jne 0x40ca37
mov ecx, 0x80a
call fcn.0040d995
push 2
mov esi, eax
call fcn.00411dc9
pop ecx
mov edx, esi
mov ecx, eax
call fcn.0040e454
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004117f0
leave
ret
mov ecx, esi
call fcn.0040ed63
mov ecx, esi
test eax, eax
je 0x40ca5d
mov byte [ecx], bl
inc ecx
sub eax, 1
jne 0x40ca55
mov edi, dword [ebp - 0x41c]
mov ecx, edi
call fcn.0040e3f2
lea ecx, [ebp - 0x208]
push 0x102
test eax, eax
je 0x40ca97
mov edx, 0x401208
call fcn.0040e35d
push 0x102
mov edx, edi
lea ecx, [ebp - 0x208]
call fcn.0040e3bd
jmp 0x40ca9e
mov edx, edi
call fcn.0040e35d
lea eax, [ebp - 0x414]
push eax
push 0x80000002
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegConnectRegistryW]
test eax, eax
jne 0x40c9d4
lea eax, [ebp - 0x40c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x414]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c9d4
lea eax, [ebp - 0x410]
mov edi, 0x401760
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x40c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x40cb5c
lea ecx, [ebp - 0x418]
call fcn.0040eb2f
mov ecx, dword [ebp - 0x410]
call fcn.0040ebd3
mov esi, eax
mov dword [ebp - 0x418], esi
test esi, esi
je 0x40c9b8
mov ecx, esi
call fcn.0040ed63
mov ecx, esi
test eax, eax
je 0x40cb45
mov byte [ecx], bl
inc ecx
sub eax, 1
jne 0x40cb3d
lea eax, [ebp - 0x410]
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x40c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x40c9d4
mov eax, dword [ebp - 0x410]
xor ecx, ecx
xor edi, edi
mov edx, 0x401778
push ebx
inc edi
mov word [esi + eax*2 - 2], cx
mov ecx, esi
push edi
call fcn.0040dea7
cmp eax, 0xffffffff
je 0x40cb92
lea eax, [esi + eax*2]
test eax, eax
jne 0x40c9d9
push ebx
push edi
mov edx, 0x401780
mov ecx, esi
call fcn.0040dea7
cmp eax, 0xffffffff
je 0x40cbb4
lea eax, [esi + eax*2]
test eax, eax
je 0x40cbb4
push 6
pop ebx
jmp 0x40c9d9
push ebx
push edi
mov edx, 0x40178c
mov ecx, esi
call fcn.0040dea7
cmp eax, 0xffffffff
je 0x40cbce
lea eax, [esi + eax*2]
test eax, eax
jne 0x40cc0a
push ebx
push edi
mov edx, 0x401798
mov ecx, esi
call fcn.0040dea7
cmp eax, 0xffffffff
je 0x40cbe8
lea eax, [esi + eax*2]
test eax, eax
jne 0x40cc0a
push ebx
push edi
mov edx, 0x4017a4
mov ecx, esi
call fcn.0040dea7
cmp eax, 0xffffffff
je 0x40c9d4
lea eax, [esi + eax*2]
test eax, eax
je 0x40c9d4
push 9
jmp 0x40cbae