Function at 0x44ecba
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4e117d
call fcn.004d1ec0
sub esp, 0x444
mov eax, dword [0x52f220]
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 0x44ee47
cmp word [edx], si
je 0x44ee47
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, Ordinal_1
push ebx
mov dword [ebp - 0x434], 0x100
mov dword [ebp - 0x43c], 1
call esi
test eax, eax
jne 0x44ee47
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x43c]
push eax
push 0
push 0x4ed274
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44ef4c
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 0x44ee2e
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 0x4ed274
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 0x44ee37
cmp word [ebp - 0x210], di
jne 0x44ee65
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.004d1f17
leave
ret 0xc
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x210]
push eax
call dword [0x4ec734]
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 0x4f7cfc
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 0x44ef08
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x450]
push eax
push 0
push 0x4ed274
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 0x44ef29
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 0x44ee4a
mov ecx, dword [ebp - 0x44c]
lea eax, [ebp - 0x410]
push eax
call dword [0x4ec734]
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 0x44ee4a