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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3e94
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebp + 0x14], 6
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x3e94], esi
jg 0x4424fa
push ebx
push str.RegScanSoftwareSubKey
push str._s_Started_Scanning_for_software_sub_key__s
mov byte [ebp - 0x138c], al
mov byte [ebp - 0xfa4], al
mov byte [ebp - 0xbbc], al
mov byte [ebp - 0x7d4], al
call fcn.00449974
add esp, 0xc
cmp dword [0x715fa4], 0
je 0x4420ef
push str.RegScanSoftwareSubKey
push str._s___Detected_stop_signal_...aborting_the_operation...
call fcn.00449974
pop ecx
pop ecx
xor eax, eax
jmp 0x4424fb
lea eax, [ebp - 0x3e90]
xor ecx, ecx
push eax
push dword [ebp + 0x10]
push ecx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x442124
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.RegScanSoftwareSubKey
push str._s_:_Failed_to_open_registry_key__s__Error0x_.8x
call fcn.00449974
add esp, 0x10
jmp 0x4420e8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push 0
push 0
lea eax, [ebp - 0x3e8c]
mov byte [ebp - 0x3ec], 0
push eax
push 0
lea eax, [ebp - 0x3e88]
mov dword [ebp - 0x3e88], 0x3e8
push eax
lea eax, [ebp - 0x3ec]
push eax
push edi
push dword [ebp - 0x3e90]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x4423f6
cmp dword [ebp - 0x3e8c], 1
jne 0x4423f0
lea eax, [ebp - 0x3ec]
push eax
call fcn.00631510
inc eax
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.00631711
add esp, 0xc
cmp byte [ebp - 0x3ec], 0
je 0x4423f0
lea eax, [ebp - 0x3ec]
push 0x66c3ec
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
jne 0x4421ed
lea eax, [ebp - 0x3ec]
push str.email
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
jne 0x4421ed
lea eax, [ebp - 0x3ec]
push 0x66c3c4
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x4423f0
cmp byte [ebp - 0xbbc], 0
jne 0x442281
lea eax, [ebp - 0x3ec]
push str.email
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x442281
lea eax, [ebp - 0x3e88]
mov dword [ebp - 0x3e88], 0x3e8
push eax
lea eax, [ebp - 0xbbc]
xor ecx, ecx
push eax
lea eax, [ebp - 0x3e8c]
mov dword [ebp - 0x3e8c], ecx
push eax
push ecx
lea eax, [ebp - 0x3ec]
mov byte [ebp - 0xbbc], cl
push eax
push dword [ebp - 0x3e90]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44226f
call esi
push eax
lea eax, [ebp - 0x3ec]
push eax
push str.RegScanSoftwareSubKey
push str._s_:_RegQueryValueEx_failed_to_get_value_of__s_Error0x_.8x
jmp 0x4423e8
lea eax, [ebp - 0xbbc]
push eax
call fcn.00449da7
pop ecx
jmp 0x4423f0
cmp byte [ebp - 0xfa4], 0
jne 0x4422f2
lea eax, [ebp - 0x3ec]
push 0x66c3c4
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x4422f2
lea eax, [ebp - 0x3e88]
mov dword [ebp - 0x3e88], 0x3e8
push eax
lea eax, [ebp - 0xfa4]
xor ecx, ecx
push eax
lea eax, [ebp - 0x3e8c]
mov dword [ebp - 0x3e8c], ecx
push eax
push ecx
lea eax, [ebp - 0x3ec]
mov byte [ebp - 0xfa4], cl
push eax
push dword [ebp - 0x3e90]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x442256
lea eax, [ebp - 0xfa4]
jmp 0x442275
cmp byte [ebp - 0x7d4], 0
jne 0x4423f0
lea eax, [ebp - 0x3ec]
push 0x66c3ec
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x4423f0
lea eax, [ebp - 0x3e88]
mov dword [ebp - 0x3e88], 0x3e8
push eax
lea eax, [ebp - 0x7d4]
xor ecx, ecx
push eax
lea eax, [ebp - 0x3e8c]
mov dword [ebp - 0x3e8c], ecx
push eax
push ecx
lea eax, [ebp - 0x3ec]
mov byte [ebp - 0x7d4], cl
push eax
push dword [ebp - 0x3e90]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x442256
lea eax, [ebp - 0x7d4]
push eax
call fcn.00449da7
cmp byte [ebp - 0x7d4], 0
pop ecx
je 0x4423f0
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x3ec]
push eax
push str.RegScanSoftwareSubKey
push str._s_:__Found_possible_password_value_for__s___s
call fcn.00449974
lea eax, [ebp - 0x7d4]
push eax
call fcn.00631510
add esp, 0x14
cmp eax, 3
jb 0x4423bc
cmp byte [ebp - 0x7d3], 0x3a
jne 0x4423bc
cmp byte [ebp - 0x7d2], 0x5c
je 0x4423cd
lea eax, [ebp - 0x7d4]
push eax
call fcn.004497ff
pop ecx
test eax, eax
jne 0x4423d6
mov byte [ebp - 0x7d4], 0
jmp 0x4423f0
push ebx
lea eax, [ebp - 0x7d4]
push eax
push str.RegScanSoftwareSubKey
push str._s_:__Found_valid_password__s_under_tree__s
call fcn.00449974
add esp, 0x10
inc edi
jmp 0x44212c
cmp byte [ebp - 0x7d4], 0
mov edi, dword [ebp + 0x14]
je 0x44244e
cmp byte [ebp - 0xbbc], 0
je 0x442413
lea eax, [ebp - 0xbbc]
jmp 0x442422
cmp byte [ebp - 0xfa4], 0
je 0x442437
lea eax, [ebp - 0xfa4]
push eax
lea eax, [ebp - 0x138c]
push 0x3e8
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x138c]
push eax
push ebx
call fcn.00442d6d
add esp, 0xc
inc edi
cmp edi, 6
jg 0x4424ec
xor eax, eax
mov esi, eax
cmp dword [0x715fa4], eax
jne 0x4424db
push eax
push eax
push eax
push eax
mov byte [ebp - 0x1774], al
lea eax, [ebp - 0x3e88]
push eax
lea eax, [ebp - 0x1774]
mov dword [ebp - 0x3e88], 0x3e8
push eax
push esi
push dword [ebp - 0x3e90]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4424ec
lea eax, [ebp - 0x1774]
push eax
push ebx
push 0x66c218
lea eax, [ebp - 0x3e84]
push 0x2710
push eax
call fcn.00445d6d
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x3e84]
push eax
push dword [ebp - 0x3e94]
call fcn.00442071
add esp, 0x24
inc esi
cmp dword [0x715fa4], 0
push 0
pop eax
je 0x442464
push str.RegScanSoftwareSubKey
push str._s___Detected_stop_signal_...aborting_the_operation...
call fcn.00449974
pop ecx
pop ecx
push dword [ebp - 0x3e90]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret