Function at 0x6010ba20
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x60148a5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
xor ebx, ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x54]
push ebx
push 0x2001f
push ebx
push ebx
push ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x6010ba9e
mov eax, dword [esp + 8]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x6010bac2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
mov eax, dword [esp + 4]
push ebp
push esi
inc eax
push edi
push eax
mov dword [esp + 0x14], eax
call fcn.6014753f
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ecx
jbe 0x6010bb64
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x6010bb94
push esi
call dword [sym.imp.MSVCR71.dll__strupr]
add esp, 4
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov esi, dword [ebp + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x28]
push ecx
push edx
push esi
mov ecx, ebp
call fcn.6010cae0
push 1
mov ecx, ebp
mov edi, eax
call fcn.6010c710
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x20]
mov dword [eax], edi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jb 0x6010baf1
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret