Function at 0x41af10
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4212e7
call fcn.0041ee80
sub esp, 0xa8
mov eax, dword [0x42fd70]
push ebx
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x9c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREAhead
push SysReAllocStringLen
mov dword [ebp - 0x9c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41af67
cmp dword [ebp - 0x9c], ebx
jne 0x41af6e
xor al, al
jmp 0x41b092
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0xb4]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xa4], 0x50
call esi
mov edi, 0x103
jmp 0x41b088
inc dword [ebp - 0xa0]
cmp eax, ebx
jne 0x41b05b
push str.SOFTWAREAhead
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x424c6c
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], ebx
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__]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x7c]
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__]
push dword [0x42fd18]
lea ecx, [ebp - 0x7c]
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 ecx, dword [ebp - 0xa8]
call fcn.00419f16
push eax
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push ebx
sub esp, 0x1c
lea eax, [ebp - 0x98]
mov ecx, esp
mov dword [ebp - 0xac], esp
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp dword [ebp - 0x64], 0x10
mov eax, dword [ebp - 0x78]
jae 0x41b036
lea eax, [ebp - 0x78]
push eax
call fcn.0041ad1d
add esp, 0x24
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0xb4]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0xa0]
mov dword [ebp - 0xa4], 0x50
push dword [ebp - 0x9c]
call esi
cmp eax, edi
jne 0x41afac
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ee69
leave
ret