Function at 0x1000c390
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100311e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push 0x1005197c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebx + 0x118]
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000c454
push edi
push 0xa4
mov dword [esp + 0x14], 0xa4
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x14]
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push esi
push 0
push 0
push 0x100427f4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x1000c444
push esi
lea edx, [esp + 0xc]
push 0x1004277c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x1000c458
push 0x1005197c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
jmp 0x1000c458
mov esi, dword [esp + 0x10]
lea eax, [esp + 8]
lea ecx, [ebx + 0x84]
push eax
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1000c481
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x1000c4b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10031208
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x118]
lea ecx, [esp + 8]
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000c54c
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.InstallDate
push ecx
mov dword [esp + 0x24], 0xa4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000c53e
mov edx, dword [esp + 0x10]
lea eax, [esp + 4]
push edx
push 0x10042800
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x1000c54c
push 0x1005197c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x88]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x1000c9c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 4], 6
sbb eax, eax
inc eax
add esp, 0x94
ret