Function at 0x44ca46
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4df937
call fcn.004d1d50
sub esp, 0x444
mov eax, dword [0x52e400]
mov ecx, dword [ebp + 0xc]
push ebx
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x440], ecx
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x44c], ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edx, eax
xor esi, esi
cmp edx, esi
je 0x44cbd3
cmp word [edx], si
je 0x44cbd3
push 0x7f
pop ecx
mov word [ebp - 0x210], si
xor eax, eax
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x438]
push eax
mov edi, 0x20019
push edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edx
mov ebx, closesocket
push ebx
mov dword [ebp - 0x434], 0x100
mov dword [ebp - 0x43c], 1
call esi
test eax, eax
jne 0x44cbd3
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x43c]
push eax
push 0
push 0x4ec264
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44ccd8
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
and dword [ebp - 4], 0
push str._shellopen
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.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_wchar_t_const__]
lea eax, [ebp - 0x430]
push eax
push edi
xor edi, edi
push edi
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x434], 0x100
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push ebx
call esi
test eax, eax
jne 0x44cbba
push 0x200
lea eax, [ebp - 0x210]
push edi
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x43c]
push eax
push edi
push 0x4ec264
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x430]
mov dword [ebp - 0x444], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x444], edi
jne 0x44cbc3
cmp word [ebp - 0x210], di
jne 0x44cbf1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1da7
leave
ret 0xc
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x210]
push eax
call dword [0x4eb738]
mov word [ebp - 0x410], di
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x40e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
inc edi
push 0x4f6f70
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x448], 0x100
mov dword [ebp - 0x450], edi
call dword [sym.imp.MSVCP71.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_wchar_t_const__]
lea eax, [ebp - 0x430]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push ebx
call esi
test eax, eax
jne 0x44cc94
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x450]
push eax
push 0
push 0x4ec264
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x410], 0
jne 0x44ccb5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
jmp 0x44cbd6
mov ecx, dword [ebp - 0x44c]
lea eax, [ebp - 0x410]
push eax
call dword [0x4eb738]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x44cbd6