Function at 0x409334
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
push ebx
lea eax, [ebp - 0x308]
push str.SOFTWAREPublic_DomainBlat
push eax
call sub.MSVCRT.dll_strcpy
xor ebx, ebx
cmp byte [0x424578], bl
pop ecx
pop ecx
je 0x409380
lea eax, [ebp - 0x308]
push 0x417834
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x308]
push 0x424578
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x308]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x4093d4
cmp byte [0x423710], bl
jne 0x4093cc
cmp eax, 0x3f5
je 0x4093c0
cmp eax, 5
je 0x4093c0
push str.Error_in_creating_blat_key_in_the_registry_n
jmp 0x4093c5
push str.Write_access_to_the_registry_was_denied._n
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
push 0xa
pop eax
jmp 0x4098d2
cmp byte [0x41d630], bl
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
mov edi, 0x41cdd8
je 0x40955e
push 0x413770
push 0x41d630
call sub.MSVCRT.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x40940e
mov byte [0x41d630], bl
mov byte [0x41eab0], bl
push 0x41d630
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41d630
push 1
push ebx
push str.SMTP_server
push dword [ebp - 4]
call esi
test eax, eax
je 0x409447
cmp byte [0x423710], bl
jne 0x409846
push str.Error_in_setting_SMTP_server_value_in_the_registry_n
jmp 0x40983f
push 0x41eab0
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41eab0
push 1
push ebx
push str.SMTP_Port
push dword [ebp - 4]
call esi
test eax, eax
jne 0x409832
push 0x41d528
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41d528
push 1
push ebx
push 0x417668
push dword [ebp - 4]
call esi
test eax, eax
je 0x4094a7
cmp byte [0x423710], bl
jne 0x409846
push str.Error_in_setting_number_of_try_value_in_the_registry_n
jmp 0x40983f
push ebx
lea eax, [ebp - 0x208]
push eax
push 0x41e070
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x41e070
call fcn.0041103c
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x14
inc eax
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
push str.Login
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 0x208]
push eax
push 0x423d30
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x423d30
call fcn.0041103c
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x14
inc eax
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
push 0x41765c
push dword [ebp - 4]
call esi
push edi
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push edi
push 1
push ebx
push str.Sender
push dword [ebp - 4]
call esi
test eax, eax
je 0x40955e
cmp byte [0x423710], bl
jne 0x409846
push str.Error_in_setting_sender_address_value_in_the_registry_n
jmp 0x40983f
cmp byte [0x41d848], bl
je 0x4096b7
push 0x413770
push 0x41d848
call sub.MSVCRT.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x40958b
mov byte [0x41d848], bl
mov byte [0x41e288], bl
push 0x41d848
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41d848
push 1
push ebx
push str.NNTP_server
push dword [ebp - 4]
call esi
test eax, eax
je 0x4095c4
cmp byte [0x423710], bl
jne 0x409846
push str.Error_in_setting_NNTP_server_value_in_the_registry_n
jmp 0x40983f
push 0x41e288
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41e288
push 1
push ebx
push str.NNTP_Port
push dword [ebp - 4]
call esi
test eax, eax
jne 0x409832
push 0x41d528
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41d528
push 1
push ebx
push 0x417668
push dword [ebp - 4]
call esi
test eax, eax
jne 0x409491
push ebx
lea eax, [ebp - 0x208]
push eax
push 0x41e070
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x41e070
call fcn.0041103c
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x14
inc eax
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
push str.Login
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 0x208]
push eax
push 0x423d30
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x423d30
call fcn.0041103c
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x14
inc eax
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
push 0x41765c
push dword [ebp - 4]
call esi
push edi
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push edi
push 1
push ebx
push str.Sender
push dword [ebp - 4]
call esi
test eax, eax
jne 0x409548
cmp byte [0x41d420], bl
je 0x4097ba
push 0x413770
mov edi, 0x41d420
push edi
call sub.MSVCRT.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4096e5
mov byte [0x41d420], bl
mov byte [0x41e498], bl
push edi
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push edi
push 1
push ebx
push str.POP3_server
push dword [ebp - 4]
call esi
test eax, eax
je 0x409716
cmp byte [0x423710], bl
jne 0x409846
push str.Error_in_setting_POP3_server_value_in_the_registry_n
jmp 0x40983f
mov edi, 0x41e498
push edi
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push edi
push 1
push ebx
push str.POP3_Port
push dword [ebp - 4]
call esi
test eax, eax
jne 0x409832
push ebx
lea eax, [ebp - 0x208]
push eax
mov edi, 0x41e9a8
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
call fcn.0041103c
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x14
inc eax
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
push str.POP3_Login
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 0x208]
push eax
mov edi, 0x423820
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
call fcn.0041103c
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x14
inc eax
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
push str.POP3_Pwd
push dword [ebp - 4]
call esi
cmp byte [0x41f3c0], bl
je 0x4098ce
push 0x413770
mov edi, 0x41f3c0
push edi
call sub.MSVCRT.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4097e8
mov byte [0x41f3c0], bl
mov byte [0x424050], bl
push edi
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push edi
push 1
push ebx
push str.IMAP_server
push dword [ebp - 4]
call esi
test eax, eax
je 0x409812
cmp byte [0x423710], bl
jne 0x409846
push str.Error_in_setting_IMAP_server_value_in_the_registry_n
jmp 0x40983f
mov edi, 0x424050
push edi
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push edi
push 1
push ebx
push str.IMAP_Port
push dword [ebp - 4]
call esi
test eax, eax
je 0x40984e
cmp byte [0x423710], bl
jne 0x409846
push str.Error_in_setting_port_value_in_the_registry_n
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
push 0xb
pop eax
jmp 0x4098d0
push ebx
lea eax, [ebp - 0x208]
push eax
mov edi, 0x423718
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
call fcn.0041103c
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x14
inc eax
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
push str.IMAP_Login
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 0x208]
push eax
mov edi, 0x41e390
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
call fcn.0041103c
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x14
inc eax
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
push str.IMAP_Pwd
push dword [ebp - 4]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret