Function at 0x449a0a
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4e0be2
call fcn.004d1ec0
sub esp, 0x50
mov ecx, dword [ebp + 0x14]
mov eax, dword [0x52f220]
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], ecx
je 0x449bed
test ebx, ebx
je 0x449bed
test eax, eax
je 0x449bed
mov esi, dword [sym.imp.MSVCR71.dll__stricmp]
push str.HKEY_CURRENT_USER
push edi
call esi
test eax, eax
pop ecx
pop ecx
jne 0x449a75
mov esi, reloc.XLLuaRuntime.dll_Ordinal_1
jmp 0x449ab6
push str.HKEY_CLASSES_ROOT
push edi
call esi
test eax, eax
pop ecx
pop ecx
jne 0x449a8a
mov esi, Ordinal_1
jmp 0x449ab6
push str.HKEY_LOCAL_MACHINE
push edi
call esi
test eax, eax
pop ecx
pop ecx
jne 0x449a9f
mov esi, reloc.libexpat.dll_Ordinal_2
jmp 0x449ab6
push str.HKEY_USERS
push edi
call esi
test eax, eax
pop ecx
pop ecx
jne 0x449bed
mov esi, reloc.WS2_32.dll_closesocket
lea ecx, [ebp - 0x48]
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_void_]
xor edi, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
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_void_]
lea eax, [ebp - 0x48]
push eax
push ebx
mov byte [ebp - 4], 1
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push ebx
call fcn.00451a68
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x4c]
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push dword [ebp - 0x4c]
call fcn.00451a68
add esp, 0xc
mov dword [ebp - 0x50], edi
push 0x20019
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
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 esi
lea ecx, [ebp - 0x50]
call fcn.00444e8c
test eax, eax
jne 0x449bc4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], edi
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]
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x4c]
push ecx
push edi
push esi
push edi
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x449bc4
mov eax, dword [esi]
cmp eax, 4
jne 0x449b68
push dword [ebp - 0x54]
lea ecx, [ebp - 0x2c]
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
lea ecx, [ebp - 0x50]
call fcn.00444ec1
jmp 0x449bc7
cmp eax, 1
je 0x449b72
cmp eax, 2
jne 0x449bc4
mov eax, dword [ebp - 0x4c]
add eax, 2
push eax
call fcn.004d1ab7
mov esi, eax
mov eax, dword [ebp - 0x4c]
add eax, 2
push eax
push edi
push esi
call sub.MSVCR71.dll_memset
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
push esi
lea ecx, [ebp - 0x2c]
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
lea ecx, [ebp - 0x50]
call fcn.00444ef9
push dword [ebp - 0x5c]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
call fcn.004519f2
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 0x10
jmp 0x449bc7
xor edi, edi
inc edi
lea ecx, [ebp - 0x50]
call fcn.00444e61
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
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_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
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 0x449bf0
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 0x18