Function at 0x409cb8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 8], ebx
je 0x409d0c
cmp byte [edi], bl
je 0x409d0c
mov esi, str.SOFTWAREPublic_DomainBlat
push esi
call sub.MSVCRT.dll_strlen
push edi
mov dword [ebp - 0x10], eax
call sub.MSVCRT.dll_strlen
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push dword [ebp + 0xc]
mov edi, eax
push esi
push str._s_s
push edi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x1c
jmp 0x409d2a
mov esi, str.SOFTWAREPublic_DomainBlat
push esi
call sub.MSVCRT.dll_strlen
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
push esi
push edi
call sub.MSVCRT.dll_strcpy
add esp, 0x10
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov esi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp esi, ebx
pop ecx
je 0x409d6e
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x409d66
cmp byte [eax], bl
je 0x409d66
push ebx
push dword [ebp + 8]
call fcn.00409cb8
pop ecx
pop ecx
jmp 0x40a145
push 0xc
pop eax
jmp 0x40a145
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
push 0x41cdd8
lea eax, [ebp - 0xc]
push eax
push ebx
push str.Sender
push dword [ebp - 8]
mov edi, pe_nt_image_headers32
mov dword [ebp - 4], edi
call esi
lea eax, [ebp - 4]
push eax
push 0x41d528
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x417668
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x409dc4
push 0x413804
push 0x41d528
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.Login
push dword [ebp - 8]
mov dword [ebp - 4], 0x203
call esi
cmp dword [ebp - 4], ebx
je 0x409e03
cmp eax, ebx
jne 0x409e03
lea eax, [ebp - 0x214]
push 0x41e070
push eax
call fcn.00410e11
pop ecx
pop ecx
jmp 0x409e09
mov byte [0x41e070], bl
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x41765c
push dword [ebp - 8]
mov dword [ebp - 4], 0x203
call esi
cmp dword [ebp - 4], ebx
je 0x409e48
cmp eax, ebx
jne 0x409e48
lea eax, [ebp - 0x214]
push 0x423d30
push eax
call fcn.00410e11
pop ecx
pop ecx
jmp 0x409e4e
mov byte [0x423d30], bl
lea eax, [ebp - 4]
push eax
push 0x41d630
lea eax, [ebp - 0xc]
push eax
push ebx
push str.SMTP_server
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x409ea0
lea eax, [ebp - 4]
push eax
push 0x41eab0
lea eax, [ebp - 0xc]
push eax
push ebx
push str.SMTP_Port
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x409eac
push dword [0x41caf4]
push 0x41eab0
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x409eac
mov byte [0x41d630], bl
mov byte [0x41eab0], bl
lea eax, [ebp - 4]
push eax
push 0x41d848
lea eax, [ebp - 0xc]
push eax
push ebx
push str.NNTP_server
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x409efe
lea eax, [ebp - 4]
push eax
push 0x41e288
lea eax, [ebp - 0xc]
push eax
push ebx
push str.NNTP_Port
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x409f0a
push dword [0x41caf0]
push 0x41e288
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x409f0a
mov byte [0x41d848], bl
mov byte [0x41e288], bl
lea eax, [ebp - 4]
push eax
push 0x41d420
lea eax, [ebp - 0xc]
push eax
push ebx
push str.POP3_server
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x409ffe
lea eax, [ebp - 4]
push eax
push 0x41e498
lea eax, [ebp - 0xc]
push eax
push ebx
push str.POP3_Port
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x409f5e
push dword [0x41caf8]
push 0x41e498
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.POP3_Login
push dword [ebp - 8]
mov dword [ebp - 4], 0x203
call esi
cmp dword [ebp - 4], ebx
je 0x409f9d
cmp eax, ebx
jne 0x409f9d
lea eax, [ebp - 0x214]
push 0x41e9a8
push eax
call fcn.00410e11
pop ecx
pop ecx
jmp 0x409fad
push 0x41e070
push 0x41e9a8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.POP3_Pwd
push dword [ebp - 8]
mov dword [ebp - 4], 0x203
call esi
cmp dword [ebp - 4], ebx
je 0x409fec
cmp eax, ebx
jne 0x409fec
lea eax, [ebp - 0x214]
push 0x423820
push eax
call fcn.00410e11
pop ecx
pop ecx
jmp 0x40a00a
push 0x423d30
push 0x423820
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40a00a
mov byte [0x41d420], bl
mov byte [0x41e498], bl
lea eax, [ebp - 4]
push eax
push 0x41f3c0
lea eax, [ebp - 0xc]
push eax
push ebx
push str.IMAP_server
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x40a0f8
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], edi
mov edi, 0x424050
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push str.IMAP_Port
push dword [ebp - 8]
call esi
test eax, eax
je 0x40a05b
push dword [0x41cafc]
push edi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.IMAP_Login
push dword [ebp - 8]
mov edi, 0x203
mov dword [ebp - 4], edi
call esi
cmp dword [ebp - 4], ebx
je 0x40a09b
cmp eax, ebx
jne 0x40a09b
lea eax, [ebp - 0x214]
push 0x423718
push eax
call fcn.00410e11
pop ecx
pop ecx
jmp 0x40a0ab
push 0x41e070
push 0x423718
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.IMAP_Pwd
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
cmp dword [ebp - 4], ebx
je 0x40a0e6
cmp eax, ebx
jne 0x40a0e6
lea eax, [ebp - 0x214]
push 0x41e390
push eax
call fcn.00410e11
pop ecx
pop ecx
jmp 0x40a104
push 0x423d30
push 0x41e390
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40a104
mov byte [0x41f3c0], bl
mov byte [0x424050], bl
cmp dword [ebp - 8], ebx
je 0x40a112
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [0x41cdd8], bl
push 0xc
pop eax
je 0x40a145
cmp byte [0x41d630], bl
je 0x40a127
xor eax, eax
cmp byte [0x41d420], bl
je 0x40a131
xor eax, eax
cmp byte [0x41f3c0], bl
je 0x40a13b
xor eax, eax
cmp byte [0x41d848], bl
je 0x40a145
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret