Function at 0x4c1410
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x582f24
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x62d414]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
add ecx, 0x1c0
push ecx
lea eax, [esp + 0x34]
push str.CLSID_
xor ebx, ebx
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [esp + 0x164], ebx
push str.Options
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0x18
mov byte [esp + 0x158], 2
lea ecx, [esp + 0x30]
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__::destructor_void_]
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x4c14a1
lea eax, [esp + 0x18]
lea edx, [esp + 8]
push edx
push 0x20019
push ebx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4c1531
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push 0x5a3410
push eax
mov dword [esp + 0x28], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x4c1531
cmp dword [esp + 0xc], 1
jne 0x4c1531
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x34]
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__::constructor_wchar_t_const__]
mov byte [esp + 0x158], 3
lea edx, [esp + 0x30]
push 0x599824
push edx
call dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 8
test al, al
je 0x4c151f
mov bl, 1
mov byte [esp + 0x158], 2
lea ecx, [esp + 0x30]
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__::destructor_void_]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x158], 0xffffffff
lea ecx, [esp + 0x14]
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__::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.0051ed00
add esp, 0x154
ret