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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc50
push ebx
push str.Outlook
xor ebx, ebx
mov word [eax], bx
mov eax, dword [ebp + 0xc]
push str.DefaultProfile
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfiles
mov word [eax], bx
push SysReAllocString
lea eax, [ebp - 0x840]
call fcn.00401132
test al, al
je 0x4c6dbf
push esi
push edi
lea eax, [ebp - 0x840]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfiles_s
mov esi, 0x104
lea edi, [ebp - 0x430]
call fcn.004a9039
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
push 8
push ebx
mov eax, edi
push eax
push SysReAllocString
mov byte [ebp - 1], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c6c08
xor al, al
jmp 0x4c6dbd
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x228]
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
push ebx
jmp 0x4c6d95
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x228]
push eax
push str.9375CFF0413111d3B88A00104B2A6676
mov dword [ebp - 0x18], 0x104
call fcn.005a6122
test eax, eax
pop ecx
pop ecx
jne 0x4c6d83
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c6d83
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
mov edi, str.ED475418_B0D6_11D2_8C3B_00104B2A6676
push edi
push dword [ebp - 0x20]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x4c6d83
cmp dword [ebp - 8], 4
jb 0x4c6d83
push dword [ebp - 8]
call fcn.0058f8c4
pop ecx
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
call esi
push dword [ebp - 0x20]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x4c6d7a
push 3
pop eax
cmp dword [ebp - 8], eax
jbe 0x4c6d7a
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ecx - 3]
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x430]
mov word [ecx], bx
mov ecx, dword [ebp + 8]
push eax
push str._s_s_08x
mov esi, 0x104
lea edi, [ebp - 0x638]
mov word [ecx], bx
call fcn.004a9039
add esp, 0x10
push str.Email
mov eax, edi
push eax
lea esi, [ebp - 0xa48]
call fcn.004c686d
cmp al, bl
mov byte [ebp - 1], al
je 0x4c6d54
mov edi, 0x104
mov edx, esi
mov esi, dword [ebp + 0xc]
push edi
call fcn.004a8ff7
push str.SMTP_Server
lea eax, [ebp - 0x638]
push eax
lea esi, [ebp - 0xc50]
call fcn.004c686d
cmp al, bl
mov byte [ebp - 1], al
jne 0x4c6d66
add dword [ebp - 0xc], 4
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jb 0x4c6ccf
jmp 0x4c6d75
mov esi, dword [ebp + 8]
push edi
lea edx, [ebp - 0xc50]
call fcn.004a8ff7
cmp byte [ebp - 1], bl
jne 0x4c6da8
push dword [ebp - 0x10]
call fcn.0058f8c9
pop ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4c6c23
jmp 0x4c6db1
push dword [ebp - 0x10]
call fcn.0058f8c9
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 8