Function at 0x40ac2c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x212]
push edi
push eax
mov word [ebp - 0x214], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x41a]
push edi
push eax
mov word [ebp - 0x41c], di
call sub.MSVCR80.dll_memset
lea eax, [ebp - 0x444]
add esp, 0xc
mov esi, str.SoftwareKSafeCoop
push eax
mov ecx, esi
mov dword [ebp - 0x424], 0x208
mov dword [ebp - 0x420], 1
call fcn.0044a504
cmp dword [eax + 0x18], 8
pop ecx
jb 0x40acb5
mov eax, dword [eax + 4]
jmp 0x40acb8
add eax, 4
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push str.PreOEM
push eax
mov ebx, SysStringLen
push ebx
call edi
lea ecx, [ebp - 0x444]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x444]
push eax
mov ecx, esi
mov dword [ebp - 0x424], 0x208
mov dword [ebp - 0x420], 1
call fcn.0044a504
cmp dword [eax + 0x18], 8
pop ecx
jb 0x40ad1b
mov eax, dword [eax + 4]
jmp 0x40ad1e
add eax, 4
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x41c]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push 0x467b30
push eax
push ebx
call edi
lea ecx, [ebp - 0x444]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp word [ebp - 0x214], 0
jne 0x40ae14
push str.h_lvse
push 0x467b48
mov eax, 0x207
lea edi, [ebp - 0x214]
call fcn.00407daf
lea eax, [ebp - 0x444]
push eax
mov ecx, esi
call fcn.0044a504
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x40ad8c
mov edi, dword [eax + 4]
jmp 0x40ad8f
lea edi, [eax + 4]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x214]
push eax
push 1
push str.PreOEM
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push ebx
call edi
lea ecx, [ebp - 0x444]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x444]
push eax
mov ecx, esi
call fcn.0044a504
cmp dword [eax + 0x18], 8
pop ecx
jb 0x40ade0
mov esi, dword [eax + 4]
jmp 0x40ade3
lea esi, [eax + 4]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x214]
push eax
push 1
push str.OEMName
push esi
push ebx
call edi
lea ecx, [ebp - 0x444]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x428]
call fcn.00405232
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x40ae52
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x40ae55
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004568ce
leave
ret 4