Function at 0x57bc58
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 esi
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
mov esi, SysReAllocString
push esi
lea eax, [ebp - 0xc50]
call fcn.00401162
test al, al
je 0x57bee4
push edi
lea eax, [ebp - 0xc50]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfiles_s
mov eax, 0x104
lea edi, [ebp - 0x840]
call fcn.005383cd
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
push 8
push ebx
mov eax, edi
push eax
push esi
mov byte [ebp - 1], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x57bcd7
xor al, al
jmp 0x57bee3
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], 0x104
push ebx
jmp 0x57bebb
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x228]
push eax
push str.9375CFF0413111d3B88A00104B2A6676
mov dword [ebp - 0x18], 0x104
call fcn.00613e25
test eax, eax
pop ecx
pop ecx
jne 0x57bea9
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 0x57bea9
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 0x57bea9
cmp dword [ebp - 8], 4
jb 0x57bea9
push dword [ebp - 8]
call fcn.005f833c
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 0x57bea0
push 3
pop eax
cmp dword [ebp - 8], eax
jbe 0x57bea0
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 - 0x840]
mov word [ecx], bx
mov ecx, dword [ebp + 8]
push eax
push str._s_s_08x
mov eax, 0x104
lea edi, [ebp - 0xa48]
mov word [ecx], bx
call fcn.005383cd
add esp, 0x10
push str.Email
mov eax, edi
push eax
lea esi, [ebp - 0x430]
call fcn.0057b93f
cmp al, bl
mov byte [ebp - 1], al
je 0x57be50
movzx eax, word [ebp - 0x430]
xor ecx, ecx
cmp word [ebp - 0x430], bx
lea edx, [ebp - 0x42e]
je 0x57be2b
cmp ecx, 0x103
jae 0x57be2b
mov esi, dword [ebp + 0xc]
mov word [esi + ecx*2], ax
movzx eax, word [edx]
inc ecx
inc edx
inc edx
cmp ax, bx
jne 0x57be11
mov eax, dword [ebp + 0xc]
mov word [eax + ecx*2], bx
push str.SMTP_Server
lea eax, [ebp - 0xa48]
push eax
lea esi, [ebp - 0x638]
call fcn.0057b93f
cmp al, bl
mov byte [ebp - 1], al
jne 0x57be62
add dword [ebp - 0xc], 4
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jb 0x57bda2
jmp 0x57be9b
movzx eax, word [ebp - 0x638]
xor ecx, ecx
cmp word [ebp - 0x638], bx
lea edx, [ebp - 0x636]
je 0x57be94
cmp ecx, 0x103
jae 0x57be94
mov esi, dword [ebp + 8]
mov word [esi + ecx*2], ax
movzx eax, word [edx]
inc ecx
inc edx
inc edx
cmp ax, bx
jne 0x57be7a
mov eax, dword [ebp + 8]
mov word [eax + ecx*2], bx
cmp byte [ebp - 1], bl
jne 0x57bece
push dword [ebp - 0x10]
call fcn.005f858a
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 0x57bcf6
jmp 0x57bed7
push dword [ebp - 0x10]
call fcn.005f858a
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