Function at 0x42e960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d1b4
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x471090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00404e20
test eax, eax
je 0x42e9a0
call fcn.00413c30
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push 0
lea ecx, [ebp + 0xc]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x42ea09
call fcn.004077d0
test eax, eax
je 0x42e9e5
call fcn.004161c0
call fcn.00413c30
mov dword [ebp - 0x834], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042ec30
mov eax, dword [ebp - 0x834]
jmp 0x42ec09
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x20], 0x400
call fcn.00407760
test eax, eax
je 0x42ea2d
call fcn.0040aef0
call fcn.00425e40
mov dword [ebp - 0x18], 0x400
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x830], 0
jmp 0x42ea56
mov edx, dword [ebp - 0x830]
add edx, 1
mov dword [ebp - 0x830], edx
cmp dword [ebp - 0x830], 0xc8
jae 0x42ebde
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x82c]
push ecx
mov edx, dword [ebp - 0x830]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x42eb33
cmp dword [ebp - 0x14], 1
jne 0x42eb31
lea ecx, [ebp - 0x82c]
push ecx
call sub.MSVCR90.dll_strlen
add esp, 4
test eax, eax
je 0x42eb31
lea edx, [ebp + 8]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x838], esp
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0x844], eax
mov ecx, dword [ebp - 0x844]
mov dword [ebp - 0x848], ecx
mov byte [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x83c], esp
lea edx, [ebp - 0x82c]
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0x84c], eax
mov byte [ebp - 4], 0
call fcn.0042dce0
add esp, 0x3c
mov dword [ebp - 0x850], eax
mov eax, dword [ebp - 0x428]
add eax, dword [ebp - 0x850]
mov dword [ebp - 0x428], eax
jmp 0x42eb38
jmp 0x42ebde
push 0x400
push 0
lea ecx, [ebp - 0x82c]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x400
push 0
lea edx, [ebp - 0x424]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x50
call fcn.00404d40
add esp, 4
cmp eax, 0x7a
jne 0x42eb81
call fcn.00405ee0
test eax, eax
je 0x42eb81
call fcn.00424d30
mov dword [ebp - 0x20], 0x400
push 0x16
push 0x18
call fcn.004037c0
add esp, 8
cmp eax, 0x210
jne 0x42eba9
call fcn.004076e0
test eax, eax
je 0x42eba9
call fcn.004013c0
mov dword [ebp - 0x18], 0x400
mov dword [ebp - 0x14], 0
push 0x63
push 0xad
call fcn.00403d00
add esp, 8
cmp eax, 0x31
jne 0x42ebd9
call fcn.004032e0
test eax, eax
je 0x42ebd9
call fcn.004161c0
jmp 0x42ea47
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x428]
mov dword [ebp - 0x840], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042ec30
mov eax, dword [ebp - 0x840]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ae26
mov esp, ebp
pop ebp
ret