Function at 0x405912
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13898
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, str.CheckForOutlook16_Account
push edi
push esi
push str._s_entered_with__s
call fcn.00449974
add esp, 0xc
lea eax, [ebp - 0x13890]
push eax
push 0x20019
push 0
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405977
push eax
push edi
push esi
push str._s_:_Failed_to_open__s_key__Error0x_.8x
call fcn.00449974
add esp, 0x10
xor eax, eax
jmp 0x40628a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1388c]
push ebx
push eax
lea eax, [ebp - 0x9c44]
mov ebx, 0x2710
push eax
lea eax, [ebp - 0x13894]
mov dword [ebp - 0x1388c], ebx
push eax
push 0
push str.Email
push dword [ebp - 0x13890]
call esi
test eax, eax
je 0x405a09
lea eax, [ebp - 0x1388c]
mov dword [ebp - 0x1388c], ebx
push eax
lea eax, [ebp - 0x9c44]
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.Account_Name
push dword [ebp - 0x13890]
call esi
test eax, eax
je 0x405a09
lea eax, [ebp - 0x1388c]
mov dword [ebp - 0x1388c], ebx
push eax
lea eax, [ebp - 0x9c44]
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.Display_Name
push dword [ebp - 0x13890]
call esi
lea eax, [ebp - 0x9c44]
push eax
push str.Found_account_email__s
call fcn.00449974
pop ecx
pop ecx
lea eax, [ebp - 0x1388c]
mov dword [ebp - 0x1388c], ebx
push eax
lea eax, [ebp - 0x2714]
xor ecx, ecx
push eax
lea eax, [ebp - 0x13894]
mov byte [ebp - 0x2714], cl
push eax
push ecx
push str.IMAP_User
push dword [ebp - 0x13890]
mov byte [ebp - 0x4e24], cl
call esi
lea eax, [ebp - 0x13888]
mov dword [ebp - 0x13888], 0x1388
push eax
lea eax, [ebp - 0xea64]
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.IMAP_Password
push dword [ebp - 0x13890]
call esi
test eax, eax
jne 0x405abb
push dword [ebp - 0x13888]
lea eax, [ebp - 0x2714]
push eax
push str.Found_username_s__password_size_d
call fcn.00449974
push 1
push ebx
lea eax, [ebp - 0x4e24]
push eax
push dword [ebp - 0x13888]
lea eax, [ebp - 0xea64]
push eax
call fcn.0040ca69
add esp, 0x20
cmp byte [ebp - 0x2714], 0
mov al, byte [ebp - 0x4e24]
jne 0x405ad2
test al, al
je 0x405c52
test al, al
jne 0x405aeb
push str._Password_is_empty_or_not_found_
lea eax, [ebp - 0x4e24]
push ebx
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0x1388c]
mov dword [ebp - 0x1388c], 0x3e8
push eax
lea eax, [ebp - 0x7534]
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.IMAP_Server
push dword [ebp - 0x13890]
call esi
and dword [ebp - 0x13898], 0
lea eax, [ebp - 0x13888]
push eax
lea eax, [ebp - 0x13898]
mov dword [ebp - 0x13888], 4
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.IMAP_Port
push dword [ebp - 0x13890]
call esi
mov eax, dword [ebp - 0x13898]
test eax, eax
je 0x405b97
push 0xa
push ebx
lea ecx, [ebp - 0x11174]
push ecx
push eax
call fcn.0063e2e7
push 0x67e61c
lea eax, [ebp - 0x7534]
push ebx
push eax
call fcn.00631246
lea eax, [ebp - 0x11174]
push eax
lea eax, [ebp - 0x7534]
push ebx
push eax
call fcn.00631246
mov eax, dword [ebp - 0x13898]
add esp, 0x28
push eax
lea eax, [ebp - 0x7534]
push eax
push str.Found_IMAP_servername_s___port_d
call fcn.00449974
push str.IMAP_Password
push edi
push str._s:_s
lea eax, [ebp - 0x13884]
push ebx
push eax
call fcn.00445d6d
add esp, 0x20
cmp byte [ebp - 0x2714], 0
je 0x405c0b
lea eax, [ebp - 0x2714]
push eax
lea eax, [ebp - 0x9c44]
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
je 0x405c0b
lea eax, [ebp - 0x9c44]
push eax
lea eax, [ebp - 0x2714]
push eax
push str.User_s__Email_s
lea eax, [ebp - 0xc354]
push ebx
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x405c22
lea eax, [ebp - 0x9c44]
push eax
lea eax, [ebp - 0xc354]
push ebx
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push 0x66ae5d
lea eax, [ebp - 0x4e24]
push eax
lea eax, [ebp - 0xc354]
push eax
lea eax, [ebp - 0x7534]
push eax
push str.IMAP
push 0xfc
push 2
call fcn.00412c85
add esp, 0x20
lea eax, [ebp - 0x1388c]
mov dword [ebp - 0x1388c], ebx
push eax
lea eax, [ebp - 0x2714]
xor ecx, ecx
push eax
lea eax, [ebp - 0x13894]
mov byte [ebp - 0x2714], cl
push eax
push ecx
push str.POP3_User
push dword [ebp - 0x13890]
mov byte [ebp - 0x4e24], cl
call esi
lea eax, [ebp - 0x13888]
mov dword [ebp - 0x13888], 0x1388
push eax
lea eax, [ebp - 0xea64]
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.POP3_Password
push dword [ebp - 0x13890]
call esi
test eax, eax
jne 0x405cf8
push dword [ebp - 0x13888]
lea eax, [ebp - 0x2714]
push eax
push str.Found_username_s__password_size_d
call fcn.00449974
push 1
push ebx
lea eax, [ebp - 0x4e24]
mov byte [ebp - 0x4e24], 0
push eax
push dword [ebp - 0x13888]
lea eax, [ebp - 0xea64]
push eax
call fcn.0040ca69
add esp, 0x20
cmp byte [ebp - 0x2714], 0
mov al, byte [ebp - 0x4e24]
jne 0x405d0f
test al, al
je 0x405e8f
test al, al
jne 0x405d28
push str._Password_is_empty_or_not_found_
lea eax, [ebp - 0x4e24]
push ebx
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0x1388c]
mov dword [ebp - 0x1388c], 0x3e8
push eax
lea eax, [ebp - 0x7534]
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.POP3_Server
push dword [ebp - 0x13890]
call esi
and dword [ebp - 0x13898], 0
lea eax, [ebp - 0x13888]
push eax
lea eax, [ebp - 0x13898]
mov dword [ebp - 0x13888], 4
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.POP3_Port
push dword [ebp - 0x13890]
call esi
mov eax, dword [ebp - 0x13898]
test eax, eax
je 0x405dd4
push 0xa
push ebx
lea ecx, [ebp - 0x11174]
push ecx
push eax
call fcn.0063e2e7
push 0x67e61c
lea eax, [ebp - 0x7534]
push ebx
push eax
call fcn.00631246
lea eax, [ebp - 0x11174]
push eax
lea eax, [ebp - 0x7534]
push ebx
push eax
call fcn.00631246
mov eax, dword [ebp - 0x13898]
add esp, 0x28
push eax
lea eax, [ebp - 0x7534]
push eax
push str.Found_servername_s__port_d
call fcn.00449974
push str.POP3_Password
push edi
push str._s:_s
lea eax, [ebp - 0x13884]
push ebx
push eax
call fcn.00445d6d
add esp, 0x20
cmp byte [ebp - 0x2714], 0
je 0x405e48
lea eax, [ebp - 0x2714]
push eax
lea eax, [ebp - 0x9c44]
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
je 0x405e48
lea eax, [ebp - 0x9c44]
push eax
lea eax, [ebp - 0x2714]
push eax
push str.User_s__Email_s
lea eax, [ebp - 0xc354]
push ebx
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x405e5f
lea eax, [ebp - 0x9c44]
push eax
lea eax, [ebp - 0xc354]
push ebx
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push 0x66ae5d
lea eax, [ebp - 0x4e24]
push eax
lea eax, [ebp - 0xc354]
push eax
lea eax, [ebp - 0x7534]
push eax
push str.POP3
push 0xfc
push 2
call fcn.00412c85
add esp, 0x20
lea eax, [ebp - 0x1388c]
mov dword [ebp - 0x1388c], ebx
push eax
lea eax, [ebp - 0x2714]
xor ecx, ecx
push eax
lea eax, [ebp - 0x13894]
mov byte [ebp - 0x2714], cl
push eax
push ecx
push str.SMTP_User
push dword [ebp - 0x13890]
mov byte [ebp - 0x4e24], cl
call esi
lea eax, [ebp - 0x13888]
mov dword [ebp - 0x13888], ebx
push eax
lea eax, [ebp - 0xea64]
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.SMTP_Password
push dword [ebp - 0x13890]
call esi
test eax, eax
jne 0x405f31
push dword [ebp - 0x13888]
lea eax, [ebp - 0x2714]
push eax
push str.Found_username_s__password_size_d
call fcn.00449974
push 1
push ebx
lea eax, [ebp - 0x4e24]
mov byte [ebp - 0x4e24], 0
push eax
push dword [ebp - 0x13888]
lea eax, [ebp - 0xea64]
push eax
call fcn.0040ca69
add esp, 0x20
cmp byte [ebp - 0x2714], 0
mov al, byte [ebp - 0x4e24]
jne 0x405f48
test al, al
je 0x4060c4
test al, al
jne 0x405f61
push str._Password_is_empty_or_not_found_
lea eax, [ebp - 0x4e24]
push ebx
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0x1388c]
mov dword [ebp - 0x1388c], ebx
push eax
lea eax, [ebp - 0x7534]
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.SMTP_Server
push dword [ebp - 0x13890]
call esi
and dword [ebp - 0x13898], 0
lea eax, [ebp - 0x13888]
push eax
lea eax, [ebp - 0x13898]
mov dword [ebp - 0x13888], 4
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.SMTP_Port
push dword [ebp - 0x13890]
call esi
mov eax, dword [ebp - 0x13898]
test eax, eax
je 0x406009
push 0xa
push ebx
lea ecx, [ebp - 0x11174]
push ecx
push eax
call fcn.0063e2e7
push 0x67e61c
lea eax, [ebp - 0x7534]
push ebx
push eax
call fcn.00631246
lea eax, [ebp - 0x11174]
push eax
lea eax, [ebp - 0x7534]
push ebx
push eax
call fcn.00631246
mov eax, dword [ebp - 0x13898]
add esp, 0x28
push eax
lea eax, [ebp - 0x7534]
push eax
push str.Found_servername_s__port_d
call fcn.00449974
push str.SMTP_Password
push edi
push str._s:_s
lea eax, [ebp - 0x13884]
push ebx
push eax
call fcn.00445d6d
add esp, 0x20
cmp byte [ebp - 0x2714], 0
je 0x40607d
lea eax, [ebp - 0x2714]
push eax
lea eax, [ebp - 0x9c44]
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
je 0x40607d
lea eax, [ebp - 0x9c44]
push eax
lea eax, [ebp - 0x2714]
push eax
push str.User_s__Email_s
lea eax, [ebp - 0xc354]
push ebx
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x406094
lea eax, [ebp - 0x9c44]
push eax
lea eax, [ebp - 0xc354]
push ebx
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push 0x66ae5d
lea eax, [ebp - 0x4e24]
push eax
lea eax, [ebp - 0xc354]
push eax
lea eax, [ebp - 0x7534]
push eax
push str.SMTP
push 0xfc
push 2
call fcn.00412c85
add esp, 0x20
lea eax, [ebp - 0x1388c]
mov dword [ebp - 0x1388c], ebx
push eax
lea eax, [ebp - 0x2714]
xor ecx, ecx
push eax
lea eax, [ebp - 0x13894]
mov byte [ebp - 0x2714], cl
push eax
push ecx
push str.HTTP_User
push dword [ebp - 0x13890]
mov byte [ebp - 0x4e24], cl
call esi
lea eax, [ebp - 0x13888]
mov dword [ebp - 0x13888], ebx
push eax
lea eax, [ebp - 0xea64]
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.HTTP_Password
push dword [ebp - 0x13890]
call esi
test eax, eax
jne 0x406166
push dword [ebp - 0x13888]
lea eax, [ebp - 0x2714]
push eax
push str.Found_username_s__password_size_d
call fcn.00449974
push 1
push ebx
lea eax, [ebp - 0x4e24]
mov byte [ebp - 0x4e24], 0
push eax
push dword [ebp - 0x13888]
lea eax, [ebp - 0xea64]
push eax
call fcn.0040ca69
add esp, 0x20
cmp byte [ebp - 0x2714], 0
mov al, byte [ebp - 0x4e24]
jne 0x40617d
test al, al
je 0x40627a
test al, al
jne 0x406196
push str._Password_is_empty_or_not_found_
lea eax, [ebp - 0x4e24]
push ebx
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0x1388c]
mov dword [ebp - 0x1388c], ebx
push eax
lea eax, [ebp - 0x7534]
push eax
lea eax, [ebp - 0x13894]
push eax
push 0
push str.HTTP_Server_URL
push dword [ebp - 0x13890]
call esi
lea eax, [ebp - 0x7534]
push eax
push str.Found_servername_s
call fcn.00449974
push str.HTTP_Password
push edi
push str._s:_s
lea eax, [ebp - 0x13884]
push ebx
push eax
call fcn.00445d6d
add esp, 0x1c
cmp byte [ebp - 0x2714], 0
je 0x406233
lea eax, [ebp - 0x2714]
push eax
lea eax, [ebp - 0x9c44]
push eax
call fcn.00631435
pop ecx
pop ecx
test eax, eax
je 0x406233
lea eax, [ebp - 0x9c44]
push eax
lea eax, [ebp - 0x2714]
push eax
push str.User_s__Email_s
lea eax, [ebp - 0xc354]
push ebx
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x40624a
lea eax, [ebp - 0x9c44]
push eax
lea eax, [ebp - 0xc354]
push ebx
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push 0x66ae5d
lea eax, [ebp - 0x4e24]
push eax
lea eax, [ebp - 0xc354]
push eax
lea eax, [ebp - 0x7534]
push eax
push str.HTTP
push 0xfc
push 2
call fcn.00412c85
add esp, 0x20
push dword [ebp - 0x13890]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005fe955
leave
ret