Function at 0x487d5f
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.004010db
test al, al
je 0x487f98
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.0044b138
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 0x487de1
xor al, al
jmp 0x487f96
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 0x487f6e
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x228]
push eax
push str.9375CFF0413111d3B88A00104B2A6676
mov dword [ebp - 0x18], 0x104
call fcn.00535c2f
test eax, eax
pop ecx
pop ecx
jne 0x487f5c
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 0x487f5c
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 0x487f5c
cmp dword [ebp - 8], 4
jb 0x487f5c
push dword [ebp - 8]
call fcn.0051fd80
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 0x487f53
push 3
pop eax
cmp dword [ebp - 8], eax
jbe 0x487f53
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.0044b138
add esp, 0x10
push str.Email
mov eax, edi
push eax
lea esi, [ebp - 0xa48]
call fcn.00487a46
cmp al, bl
mov byte [ebp - 1], al
je 0x487f2d
mov edi, 0x104
mov edx, esi
mov esi, dword [ebp + 0xc]
push edi
call fcn.0044b0f6
push str.SMTP_Server
lea eax, [ebp - 0x638]
push eax
lea esi, [ebp - 0xc50]
call fcn.00487a46
cmp al, bl
mov byte [ebp - 1], al
jne 0x487f3f
add dword [ebp - 0xc], 4
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jb 0x487ea8
jmp 0x487f4e
mov esi, dword [ebp + 8]
push edi
lea edx, [ebp - 0xc50]
call fcn.0044b0f6
cmp byte [ebp - 1], bl
jne 0x487f81
push dword [ebp - 0x10]
call fcn.00520947
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 0x487dfc
jmp 0x487f8a
push dword [ebp - 0x10]
call fcn.00520947
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