Function at 0x40c8fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x401c
call fcn.00401230
push ebx
push esi
push edi
mov eax, 0x1000
xor esi, esi
push eax
mov dword [ebp - 4], eax
mov ebx, ecx
lea eax, [ebp - 0x2018]
mov dword [ebp - 0x14], esi
push esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call fcn.00401293
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
add esp, 0xc
push eax
lea eax, [ebp - 0x2018]
push eax
push esi
push esi
mov esi, dword [ebp + 8]
push str.Account_Name
push esi
call edi
test eax, eax
jne 0x40c963
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040428f
push 0x1000
lea eax, [ebp - 0x2018]
mov dword [ebp - 4], 0x1000
push 0
push eax
call fcn.00401293
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0
push 0
push str.Email
push esi
call edi
test eax, eax
jne 0x40c9aa
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040428f
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.00401293
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0
push 0
push str.POP3_Server
push esi
call edi
test eax, eax
jne 0x40c9ee
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040428f
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.00401293
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0
push 0
push str.POP3_User
push esi
call edi
test eax, eax
jne 0x40ca32
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040428f
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.00401293
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0
push 0
push str.SMTP_Server
push esi
call edi
test eax, eax
jne 0x40ca76
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040428f
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.00401293
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0
push 0
push str.POP3_Password
push esi
call edi
test eax, eax
jne 0x40cae3
push 0x1000
push eax
lea eax, [ebp - 0x4018]
push eax
call fcn.00401293
push dword [ebp - 4]
lea edx, [ebp - 0x4018]
lea ecx, [ebp - 0x2018]
call fcn.0040cc6b
add esp, 0x10
lea eax, [ebp - 0x4018]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040428f
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.00401293
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0
push 0
push str.SMTP_Password
push esi
call edi
test eax, eax
jne 0x40cb50
push 0x1000
push eax
lea eax, [ebp - 0x4018]
push eax
call fcn.00401293
push dword [ebp - 4]
lea edx, [ebp - 0x4018]
lea ecx, [ebp - 0x2018]
call fcn.0040cc6b
add esp, 0x10
lea eax, [ebp - 0x4018]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040428f
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.00401293
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0
push 0
push str.HTTP_Password
push esi
call edi
test eax, eax
jne 0x40cbbd
push 0x1000
push eax
lea eax, [ebp - 0x4018]
push eax
call fcn.00401293
push dword [ebp - 4]
lea edx, [ebp - 0x4018]
lea ecx, [ebp - 0x2018]
call fcn.0040cc6b
add esp, 0x10
lea eax, [ebp - 0x4018]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040428f
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.00401293
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0
push 0
push str.IMAP_Password
push esi
call edi
test eax, eax
jne 0x40cc2a
push 0x1000
push eax
lea eax, [ebp - 0x4018]
push eax
call fcn.00401293
push dword [ebp - 4]
lea edx, [ebp - 0x4018]
lea ecx, [ebp - 0x2018]
call fcn.0040cc6b
add esp, 0x10
lea eax, [ebp - 0x4018]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040428f
cmp dword [ebp - 0x14], 0
mov dword [ebp - 8], 3
je 0x40cc59
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x40cc59
sub esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.00402790
mov ecx, ebx
call fcn.0040283b
lea ecx, [ebp - 0x14]
call fcn.004015d4
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8