Function at 0x410131
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x401c
call fcn.00401240
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.004012cf
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 0x410198
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040351b
push 0x1000
lea eax, [ebp - 0x2018]
mov dword [ebp - 4], 0x1000
push 0
push eax
call fcn.004012cf
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 0x4101df
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040351b
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.004012cf
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 0x410223
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040351b
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.004012cf
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 0x410267
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040351b
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.004012cf
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 0x4102ab
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040351b
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.004012cf
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 0x410318
push 0x1000
push eax
lea eax, [ebp - 0x4018]
push eax
call fcn.004012cf
push dword [ebp - 4]
lea edx, [ebp - 0x4018]
lea ecx, [ebp - 0x2018]
call fcn.0041009b
add esp, 0x10
lea eax, [ebp - 0x4018]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040351b
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.004012cf
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 0x410385
push 0x1000
push eax
lea eax, [ebp - 0x4018]
push eax
call fcn.004012cf
push dword [ebp - 4]
lea edx, [ebp - 0x4018]
lea ecx, [ebp - 0x2018]
call fcn.0041009b
add esp, 0x10
lea eax, [ebp - 0x4018]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040351b
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.004012cf
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 0x4103f2
push 0x1000
push eax
lea eax, [ebp - 0x4018]
push eax
call fcn.004012cf
push dword [ebp - 4]
lea edx, [ebp - 0x4018]
lea ecx, [ebp - 0x2018]
call fcn.0041009b
add esp, 0x10
lea eax, [ebp - 0x4018]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040351b
mov eax, 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2018]
push 0
push eax
call fcn.004012cf
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 0x41045f
push 0x1000
push eax
lea eax, [ebp - 0x4018]
push eax
call fcn.004012cf
push dword [ebp - 4]
lea edx, [ebp - 0x4018]
lea ecx, [ebp - 0x2018]
call fcn.0041009b
add esp, 0x10
lea eax, [ebp - 0x4018]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040351b
cmp dword [ebp - 0x14], 0
mov dword [ebp - 8], 3
je 0x41048e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x41048e
sub esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.0040c5c4
mov ecx, ebx
call fcn.00410e2d
lea ecx, [ebp - 0x14]
call fcn.00402933
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8