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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x44a020]
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 - 0x42c], 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 - 0x448]
add esp, 0xc
lea edi, [esi + 2]
push eax
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x420], 1
call fcn.0041cd6b
cmp dword [eax + 0x18], 8
pop ecx
jb 0x4134b0
mov eax, dword [eax + 4]
jmp 0x4134b3
add eax, 4
mov ebx, 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 esi, 0x80000002
push esi
call ebx
lea ecx, [ebp - 0x448]
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 - 0x448]
push eax
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x420], 1
call fcn.0041cd6b
cmp dword [eax + 0x18], 8
pop ecx
jb 0x413510
mov eax, dword [eax + 4]
jmp 0x413513
add eax, 4
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x41c]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push 0x43dce0
push eax
push esi
call ebx
lea ecx, [ebp - 0x448]
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
mov ebx, dword [sym.imp.MSVCR80.dll_wcslen]
jne 0x41360e
push str.h_lvse
push 0x43dcf8
mov eax, 0x207
lea edi, [ebp - 0x214]
call fcn.0041333d
lea eax, [ebp - 0x448]
push eax
call fcn.0041cd6b
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x413585
mov edi, dword [eax + 4]
jmp 0x413588
lea edi, [eax + 4]
lea eax, [ebp - 0x214]
push eax
call ebx
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 esi
call edi
lea ecx, [ebp - 0x448]
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 - 0x448]
push eax
call fcn.0041cd6b
cmp dword [eax + 0x18], 8
pop ecx
jb 0x4135d3
mov eax, dword [eax + 4]
jmp 0x4135d6
add eax, 4
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x214]
push eax
call ebx
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x214]
push eax
push 1
push str.OEMName
push dword [ebp - 0x428]
push esi
call edi
lea ecx, [ebp - 0x448]
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 - 0x42c]
call fcn.00402c06
lea eax, [ebp - 0x41c]
push eax
call ebx
test eax, eax
pop ecx
je 0x413648
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 0x41364b
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043461c
leave
ret 4