Function at 0x42cdb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46c735
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
jne 0x42cdf5
cmp dword [edi + 8], ebx
jne 0x42cdf5
mov esi, dword [esp + 0x5c]
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
jmp 0x42cf55
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp eax, ebx
jne 0x42ce18
cmp dword [edi + 8], ebx
je 0x42cf1b
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
cmp eax, ebx
jne 0x42ce29
mov eax, dword [edi + 8]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x47e43c
push eax
call ebp
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp eax, ebx
sete dl
mov dword [esp + 0x1c], ecx
mov eax, edx
cmp eax, ebx
je 0x42cf1b
cmp ecx, ebx
je 0x42ce6f
test cl, 1
je 0x42ce6a
lea esi, [ecx + 3]
jmp 0x42ce74
lea esi, [ecx + 2]
jmp 0x42ce74
mov esi, 2
push esi
call sub.mfc90u.dll_new__
push esi
push ebx
push eax
mov dword [esp + 0x34], eax
call sub.MSVCR90.dll_memset
mov eax, dword [edi + 4]
add esp, 0x10
cmp eax, ebx
jne 0x42ce9c
cmp dword [edi + 8], ebx
je 0x42cf0e
cmp eax, ebx
jne 0x42ce9c
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x28]
push ecx
push ebx
push 0x47e43c
push eax
call ebp
mov edx, dword [esp + 0x14]
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [esp + 0x28], edx
mov eax, ecx
cmp eax, ebx
je 0x42cf0e
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00406310
mov esi, dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
mov dword [esp + 0x58], ebx
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x58], 0xffffffff
call fcn.00406490
mov eax, dword [esp + 0x24]
push eax
call sub.mfc90u.dll_delete__
add esp, 4
jmp 0x42cf55
mov ecx, dword [esp + 0x24]
push ecx
call sub.mfc90u.dll_delete__
add esp, 4
push 0x47d6d8
lea edx, [esp + 0x30]
push edx
call fcn.00406310
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
mov dword [esp + 0x58], 1
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x58], 0xffffffff
call fcn.00406490
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4