Function at 0x40844f
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 [0x421dd0], bl
pop ecx
pop ecx
je 0x40849b
lea eax, [ebp - 0x308]
push 0x415fa0
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x308]
push 0x421dd0
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 0x4084ef
cmp byte [0x421278], bl
jne 0x4084e7
cmp eax, 0x3f5
je 0x4084db
cmp eax, 5
je 0x4084db
push str.Error_in_creating_blat_key_in_the_registry_n
jmp 0x4084e0
push str.Write_access_to_the_registry_was_denied._n
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
push 0xa
pop eax
jmp 0x4088ea
cmp byte [0x41b3a0], bl
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
mov edi, 0x41ab48
je 0x408679
push 0x412730
push 0x41b3a0
call sub.MSVCRT.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x408529
mov byte [0x41b3a0], bl
mov byte [0x41c718], bl
push 0x41b3a0
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41b3a0
push 1
push ebx
push str.SMTP_server
push dword [ebp - 4]
call esi
test eax, eax
je 0x408562
cmp byte [0x421278], bl
jne 0x40885e
push str.Error_in_setting_SMTP_server_value_in_the_registry_n
jmp 0x408857
push 0x41c718
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41c718
push 1
push ebx
push str.SMTP_Port
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40884a
push 0x41b298
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41b298
push 1
push ebx
push 0x415e08
push dword [ebp - 4]
call esi
test eax, eax
je 0x4085c2
cmp byte [0x421278], bl
jne 0x40885e
push str.Error_in_setting_number_of_try_value_in_the_registry_n
jmp 0x408857
push ebx
lea eax, [ebp - 0x208]
push eax
push 0x41bde0
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x41bde0
call fcn.0040f54f
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 0x421790
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x421790
call fcn.0040f54f
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 0x415dfc
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 0x408679
cmp byte [0x421278], bl
jne 0x40885e
push str.Error_in_setting_sender_address_value_in_the_registry_n
jmp 0x408857
cmp byte [0x41b5b8], bl
je 0x4087d2
push 0x412730
push 0x41b5b8
call sub.MSVCRT.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4086a6
mov byte [0x41b5b8], bl
mov byte [0x41bff8], bl
push 0x41b5b8
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41b5b8
push 1
push ebx
push str.NNTP_server
push dword [ebp - 4]
call esi
test eax, eax
je 0x4086df
cmp byte [0x421278], bl
jne 0x40885e
push str.Error_in_setting_NNTP_server_value_in_the_registry_n
jmp 0x408857
push 0x41bff8
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41bff8
push 1
push ebx
push str.NNTP_Port
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40884a
push 0x41b298
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push 0x41b298
push 1
push ebx
push 0x415e08
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4085ac
push ebx
lea eax, [ebp - 0x208]
push eax
push 0x41bde0
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x41bde0
call fcn.0040f54f
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 0x421790
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push 0x421790
call fcn.0040f54f
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 0x415dfc
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 0x408663
cmp byte [0x41b190], bl
je 0x4088e6
push 0x412730
mov edi, 0x41b190
push edi
call sub.MSVCRT.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x408800
mov byte [0x41b190], bl
mov byte [0x41c100], 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 0x40882a
cmp byte [0x421278], bl
jne 0x40885e
push str.Error_in_setting_POP3_server_value_in_the_registry_n
jmp 0x408857
mov edi, 0x41c100
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
je 0x408866
cmp byte [0x421278], bl
jne 0x40885e
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 0x4088e8
push ebx
lea eax, [ebp - 0x208]
push eax
mov edi, 0x41c610
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
call fcn.0040f54f
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, 0x421280
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
call fcn.0040f54f
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
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret