Function at 0x40a0a1
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x426310
call fcn.0041bdc0
mov eax, 0x2024
call fcn.0041bd90
push ebx
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.00402ccc
push dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
call fcn.00402f0a
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x40a0f5
cmp word [esi], bx
je 0x40a0f5
push 0x42a828
lea ecx, [ebp - 0x28]
call fcn.0040a7b0
push esi
lea ecx, [ebp - 0x28]
call fcn.00402e0f
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x28]
push eax
push 0x20019
push ebx
call fcn.00409563
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.00402d02
cmp edi, ebx
je 0x40a160
cmp dword [ebp - 0x14], ebx
je 0x40a12d
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xc
cmp esi, ebx
pop edi
je 0x40a14d
cmp word [esi], bx
je 0x40a14d
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a0a1
add esp, 0x10
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402cbe
mov eax, edi
jmp 0x40a7a1
lea eax, [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.Sender
mov dword [ebp - 0x10], 0x100
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a1aa
cmp eax, ebx
jne 0x40a1aa
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2030]
push eax
lea ecx, [edi + 0x128]
mov dword [ebp + 8], ecx
call fcn.00402f0a
jmp 0x40a1bb
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x128]
mov dword [ebp + 8], ecx
call fcn.00402cd9
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x429e84
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a1ee
cmp eax, ebx
jne 0x40a1ee
lea eax, [ebp - 0x2030]
push eax
jmp 0x40a1f3
push 0x428494
lea ecx, [edi + 0x11c]
call fcn.00402f0a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1003
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.Login
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a26a
cmp eax, ebx
jne 0x40a26a
lea ecx, [edi + 0x104]
call fcn.00402cd9
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x104]
shl eax, 2
push eax
call fcn.00402d7a
lea ecx, [edi + 0x104]
call fcn.00409563
push eax
lea eax, [ebp - 0x2030]
push eax
call fcn.0041476d
pop ecx
pop ecx
lea ecx, [edi + 0x104]
call fcn.00402ebf
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1003
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x429e6c
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a2d6
cmp eax, ebx
jne 0x40a2d6
lea ecx, [edi + 0x110]
call fcn.00402cd9
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x110]
shl eax, 2
push eax
call fcn.00402d7a
lea ecx, [edi + 0x110]
call fcn.00409563
push eax
lea eax, [ebp - 0x2030]
push eax
call fcn.0041476d
pop ecx
pop ecx
lea ecx, [edi + 0x110]
call fcn.00402ebf
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.SMTP_Server
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a35b
cmp eax, ebx
jne 0x40a35b
lea eax, [ebp - 0x2030]
lea ecx, [edi + 0xc8]
push eax
mov dword [ebp + 0x10], ecx
call fcn.00402f0a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.SMTP_Port
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a353
cmp eax, ebx
jne 0x40a353
lea eax, [ebp - 0x2030]
push eax
lea ecx, [edi + 0xd4]
call fcn.00402f0a
jmp 0x40a374
push dword [0x4380dc]
jmp 0x40a346
lea ecx, [edi + 0xc8]
mov dword [ebp + 0x10], ecx
call fcn.00402cd9
lea ecx, [edi + 0xd4]
call fcn.00402cd9
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.NNTP_Server
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a3f9
cmp eax, ebx
jne 0x40a3f9
lea eax, [ebp - 0x2030]
lea ecx, [edi + 0xe0]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00402f0a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.NNTP_Port
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a3f1
cmp eax, ebx
jne 0x40a3f1
lea eax, [ebp - 0x2030]
push eax
lea ecx, [edi + 0xec]
call fcn.00402f0a
jmp 0x40a412
push dword [0x4380d8]
jmp 0x40a3e4
lea ecx, [edi + 0xe0]
mov dword [ebp - 0x1c], ecx
call fcn.00402cd9
lea ecx, [edi + 0xec]
call fcn.00402cd9
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.POP3_Server
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a58a
cmp eax, ebx
jne 0x40a58a
lea eax, [ebp - 0x2030]
lea ecx, [edi + 0x64]
push eax
mov dword [ebp + 0xc], ecx
call fcn.00402f0a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.POP3_Port
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a489
cmp eax, ebx
jne 0x40a489
lea eax, [ebp - 0x2030]
push eax
jmp 0x40a48f
push dword [0x4380e0]
lea ecx, [edi + 0x70]
call fcn.00402f0a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1003
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.POP3_Login
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a4f9
cmp eax, ebx
jne 0x40a4f9
lea ecx, [edi + 0x7c]
call fcn.00402cd9
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x7c]
shl eax, 2
push eax
call fcn.00402d7a
lea ecx, [edi + 0x7c]
call fcn.00409563
push eax
lea eax, [ebp - 0x2030]
push eax
call fcn.0041476d
pop ecx
pop ecx
lea ecx, [edi + 0x7c]
call fcn.00402ebf
jmp 0x40a508
lea eax, [edi + 0x104]
lea ecx, [edi + 0x7c]
push eax
call fcn.00402d1f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1003
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.POP3_Pwd
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a576
cmp eax, ebx
jne 0x40a576
lea ecx, [edi + 0x88]
call fcn.00402cd9
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x88]
shl eax, 2
push eax
call fcn.00402d7a
lea ecx, [edi + 0x88]
call fcn.00409563
push eax
lea eax, [ebp - 0x2030]
push eax
call fcn.0041476d
pop ecx
pop ecx
lea ecx, [edi + 0x88]
call fcn.00402ebf
jmp 0x40a59d
lea eax, [edi + 0x110]
lea ecx, [edi + 0x88]
push eax
call fcn.00402d1f
jmp 0x40a59d
lea ecx, [edi + 0x64]
mov dword [ebp + 0xc], ecx
call fcn.00402cd9
lea ecx, [edi + 0x70]
call fcn.00402cd9
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.IMAP_Server
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a720
cmp eax, ebx
jne 0x40a720
lea eax, [ebp - 0x2030]
lea ecx, [edi + 0x98]
push eax
mov dword [ebp + 0x14], ecx
call fcn.00402f0a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.IMAP_Port
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a617
cmp eax, ebx
jne 0x40a617
lea eax, [ebp - 0x2030]
push eax
jmp 0x40a61d
push dword [0x4380e4]
lea ecx, [edi + 0xa4]
call fcn.00402f0a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1003
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.IMAP_Login
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a696
cmp eax, ebx
jne 0x40a696
lea ecx, [edi + 0xb0]
call fcn.00402cd9
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0xb0]
shl eax, 2
push eax
call fcn.00402d7a
lea ecx, [edi + 0xb0]
call fcn.00409563
push eax
lea eax, [ebp - 0x2030]
push eax
call fcn.0041476d
pop ecx
pop ecx
lea ecx, [edi + 0xb0]
call fcn.00402ebf
jmp 0x40a6a8
lea eax, [edi + 0x104]
lea ecx, [edi + 0xb0]
push eax
call fcn.00402d1f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1003
push eax
lea eax, [ebp - 0x2030]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.IMAP_Pwd
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], ebx
je 0x40a70c
cmp eax, ebx
jne 0x40a70c
add edi, 0xbc
mov ecx, edi
call fcn.00402cd9
mov eax, dword [ebp - 0x10]
mov ecx, edi
shl eax, 2
push eax
call fcn.00402d7a
mov ecx, edi
call fcn.00409563
push eax
lea eax, [ebp - 0x2030]
push eax
call fcn.0041476d
pop ecx
pop ecx
mov ecx, edi
call fcn.00402ebf
jmp 0x40a739
lea eax, [edi + 0x110]
lea ecx, [edi + 0xbc]
push eax
call fcn.00402d1f
jmp 0x40a739
lea ecx, [edi + 0x98]
mov dword [ebp + 0x14], ecx
call fcn.00402cd9
lea ecx, [edi + 0xa4]
call fcn.00402cd9
cmp dword [ebp - 0x14], ebx
je 0x40a747
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push 0xc
pop esi
call fcn.00409563
cmp word [eax], bx
je 0x40a793
mov ecx, dword [ebp + 0x10]
call fcn.00409563
cmp word [eax], bx
je 0x40a766
xor esi, esi
mov ecx, dword [ebp + 0xc]
call fcn.00409563
cmp word [eax], bx
je 0x40a775
xor esi, esi
mov ecx, dword [ebp + 0x14]
call fcn.00409563
cmp word [eax], bx
je 0x40a784
xor esi, esi
mov ecx, dword [ebp - 0x1c]
call fcn.00409563
cmp word [eax], bx
je 0x40a793
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402cbe
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret