Function at 0x44130f
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x452a93
call fcn.0044d618
sub esp, 0x88
mov eax, dword [0x478c30]
mov dword [ebp - 0x10], eax
push ebx
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [ebp + 0x24], 8
mov dword [ebp - 4], ebx
jae 0x441339
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0x4c]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4414c0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x54]
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
push ebx
push dword [0x475524]
push dword [ebp - 0x4c]
call esi
test eax, eax
jne 0x4414b6
cmp dword [ebp - 0x50], 1
jne 0x4414b6
mov eax, dword [ebp - 0x54]
shr eax, 1
lea eax, [eax + eax + 2]
push edi
push eax
call sub.MFC71U.DLL_SerializeElements
pop ecx
mov edi, eax
lea eax, [ebp - 0x54]
push eax
push edi
lea eax, [ebp - 0x50]
push eax
push ebx
push dword [0x475524]
push dword [ebp - 0x4c]
call esi
push edi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
push edi
mov byte [ebp - 4], 1
call sub.MFC71U.DLL_operator_new
pop ecx
mov dword [ebp - 0x58], ebx
mov edi, dword [ebp - 0x58]
push edi
push 0x45fee0
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::find_unsigned_short_int_const___unsigned_int_const]
lea ecx, [ebp - 0x2c]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
mov eax, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
cmp esi, dword [eax]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
jne 0x44141c
push dword [eax]
lea eax, [ebp - 0x78]
push edi
push eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
jmp 0x441453
mov eax, esi
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea eax, [esi + 1]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x18], ebx
je 0x44148e
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x441464
lea eax, [ebp - 0x28]
push 0xffffffffffffffff
push ebx
push eax
call fcn.00441264
mov ebx, eax
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.004405a5
push dword [eax]
mov edi, dword [ebp + 8]
call fcn.0044127b
push ebx
call sub.MFC71U.DLL_operator_new
add esp, 0x1c
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov eax, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
cmp esi, dword [eax]
jne 0x4413c5
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
pop edi
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0044d44d
leave
ret