Function at 0x407350
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a575
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
mov eax, dword [0x42500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x830], ebx
mov dword [ebp - 4], 0
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x814], 0xf
mov dword [ebp - 0x818], 0
mov byte [ebp - 0x828], 0
lea eax, [ebx + 0x1c]
mov byte [ebp - 4], 2
push eax
mov edx, str.mail_from:_
mov dword [ebp - 0x82c], eax
lea ecx, [ebp - 0x848]
call fcn.0040ab10
push 0x41f34c
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x864]
call fcn.0040ac20
add esp, 0x14
mov esi, eax
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x40743d
mov eax, dword [ebp - 0x814]
cmp eax, 0x10
jb 0x407416
inc eax
push eax
push dword [ebp - 0x828]
call fcn.0040a320
push esi
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 0xf
mov dword [ebp - 0x818], 0
mov byte [ebp - 0x828], 0
call fcn.00409d80
mov eax, dword [ebp - 0x850]
cmp eax, 0x10
jb 0x407455
inc eax
push eax
push dword [ebp - 0x864]
call fcn.0040a320
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x850], 0xf
mov dword [ebp - 0x854], 0
mov byte [ebp - 0x864], 0
cmp eax, 0x10
jb 0x40748c
inc eax
push eax
push dword [ebp - 0x848]
call fcn.0040a320
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
push 0
push dword [ebp - 0x818]
cmovae eax, dword [ebp - 0x828]
lea edi, [ebx + 0xcc]
push eax
push dword [edi]
mov dword [ebp - 0x84c], edi
call dword [sym.imp.WS2_32.dll_send]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x828]
push 0x40a8e0
call fcn.0040a910
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
push 0x800
lea eax, [ebp - 0x810]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.reply:
push 0x40a8e0
call fcn.0040a6a0
lea edx, [ebp - 0x810]
mov ecx, eax
call fcn.0040a6a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp + 0x24]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 0x20]
add esp, 0xc
sub ecx, esi
xor ebx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4076a7
xor edi, edi
nop dword [eax]
lea eax, [edi + esi]
mov edx, str.rcpt_to:_
push eax
lea ecx, [ebp - 0x848]
call fcn.0040ab10
push 0x41f34c
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x864]
call fcn.0040ac20
add esp, 8
mov esi, eax
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x4075d8
mov eax, dword [ebp - 0x814]
cmp eax, 0x10
jb 0x4075b1
inc eax
push eax
push dword [ebp - 0x828]
call fcn.0040a320
push esi
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 0xf
mov dword [ebp - 0x818], 0
mov byte [ebp - 0x828], 0
call fcn.00409d80
mov eax, dword [ebp - 0x850]
cmp eax, 0x10
jb 0x4075f0
inc eax
push eax
push dword [ebp - 0x864]
call fcn.0040a320
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x850], 0xf
mov dword [ebp - 0x854], 0
mov byte [ebp - 0x864], 0
cmp eax, 0x10
jb 0x407627
inc eax
push eax
push dword [ebp - 0x848]
call fcn.0040a320
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
push 0
push dword [ebp - 0x818]
cmovae eax, dword [ebp - 0x828]
push eax
mov eax, dword [ebp - 0x830]
push dword [eax + 0xcc]
call dword [sym.imp.WS2_32.dll_send]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x828]
push 0x40a8e0
call fcn.0040a910
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp + 0x24]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 0x20]
inc ebx
sub ecx, esi
add edi, 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x407560
mov edi, dword [ebp - 0x84c]
push 6
push str.data_r_n
lea ecx, [ebp - 0x828]
call fcn.004098a0
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
mov ebx, dword [sym.imp.WS2_32.dll_send]
cmovae eax, dword [ebp - 0x828]
push 0
push dword [ebp - 0x818]
push eax
push dword [edi]
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call esi
push 0
push 0x800
lea eax, [ebp - 0x810]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.data:
push 0x40a8e0
call fcn.0040a6a0
lea edx, [ebp - 0x810]
mov ecx, eax
call fcn.0040a6a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 0xc
mov edx, str._________DATA_________
push 0x40a8e0
call fcn.0040a6a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp + 8]
mov edx, str.from:
push eax
lea ecx, [ebp - 0x880]
call fcn.0040ab10
push 0x41f470
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x848]
call fcn.0040ac20
push dword [ebp - 0x82c]
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8b0]
call fcn.0040ad40
push str.__r_nto:
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x898]
call fcn.0040ac20
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x864]
push dword [ebp + 0x20]
mov edx, eax
call fcn.0040ad40
add esp, 0x14
mov dword [ebp - 0x82c], eax
lea ecx, [ebp - 0x828]
cmp ecx, eax
je 0x40781f
mov eax, dword [ebp - 0x814]
cmp eax, 0x10
jb 0x4077f3
inc eax
push eax
push dword [ebp - 0x828]
call fcn.0040a320
push dword [ebp - 0x82c]
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 0xf
mov dword [ebp - 0x818], 0
mov byte [ebp - 0x828], 0
call fcn.00409d80
mov eax, dword [ebp - 0x850]
cmp eax, 0x10
jb 0x407837
inc eax
push eax
push dword [ebp - 0x864]
call fcn.0040a320
mov eax, dword [ebp - 0x884]
mov dword [ebp - 0x850], 0xf
mov dword [ebp - 0x854], 0
mov byte [ebp - 0x864], 0
cmp eax, 0x10
jb 0x40786a
inc eax
push eax
push dword [ebp - 0x898]
call fcn.0040a320
mov eax, dword [ebp - 0x89c]
mov dword [ebp - 0x884], 0xf
mov dword [ebp - 0x888], 0
mov byte [ebp - 0x898], 0
cmp eax, 0x10
jb 0x40789d
inc eax
push eax
push dword [ebp - 0x8b0]
call fcn.0040a320
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x89c], 0xf
mov dword [ebp - 0x8a0], 0
mov byte [ebp - 0x8b0], 0
cmp eax, 0x10
jb 0x4078d0
inc eax
push eax
push dword [ebp - 0x848]
call fcn.0040a320
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x86c]
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x848], 0
cmp eax, 0x10
jb 0x407907
inc eax
push eax
push dword [ebp - 0x880]
call fcn.0040a320
mov ecx, dword [ebp + 0x24]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp + 0x20]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4079d5
push 5
push str._r_ncc:
lea ecx, [ebp - 0x828]
call fcn.00409b70
mov ecx, dword [ebp + 0x24]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 0x20]
mov ebx, 1
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jbe 0x4079c9
mov edi, 0x18
push ecx
lea edx, [edi + esi]
lea ecx, [ebp - 0x880]
call fcn.0040ac70
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0xc
call fcn.00409c90
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x86c]
cmp eax, 0x10
jb 0x4079a2
inc eax
push eax
push dword [ebp - 0x880]
call fcn.0040a320
mov ecx, dword [ebp + 0x24]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 0x20]
inc ebx
sub ecx, esi
add edi, 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x407960
mov edi, dword [ebp - 0x84c]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov eax, dword [ebp - 0x830]
lea ecx, [ebp - 0x880]
add eax, 0x7c
mov edx, str._r_nsubject:
push eax
call fcn.0040ab10
push 0x41f1c4
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x848]
call fcn.0040ac20
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0xe
call fcn.00409c90
mov eax, dword [ebp - 0x834]
cmp eax, 0x10
jb 0x407a34
inc eax
push eax
push dword [ebp - 0x848]
call fcn.0040a320
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x86c]
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x848], 0
cmp eax, 0x10
jb 0x407a6b
inc eax
push eax
push dword [ebp - 0x880]
call fcn.0040a320
push 0x13
push str.MIME_Version:_1.0_r_n
lea ecx, [ebp - 0x828]
call fcn.00409b70
push 0x35
push str.Content_Type:_multipart_mixed_boundary_boundary__r_n_r_n
lea ecx, [ebp - 0x828]
call fcn.00409b70
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
push 0
push dword [ebp - 0x818]
cmovae eax, dword [ebp - 0x828]
push eax
push dword [edi]
call ebx
push 0x32
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x828]
push 0x40a8e0
call fcn.0040a910
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x830]
lea ecx, [ebp - 0x880]
add eax, 0x94
mov edx, str.___boundary__r_nContent_Type:_text_plain_charset_gb2312__r_n_r_n
push eax
call fcn.0040ab10
push str._r_n_r_n
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x848]
call fcn.0040ac20
add esp, 8
mov dword [ebp - 0x82c], eax
lea ecx, [ebp - 0x828]
cmp ecx, eax
je 0x407b5b
mov eax, dword [ebp - 0x814]
cmp eax, 0x10
jb 0x407b2f
inc eax
push eax
push dword [ebp - 0x828]
call fcn.0040a320
push dword [ebp - 0x82c]
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 0xf
mov dword [ebp - 0x818], 0
mov byte [ebp - 0x828], 0
call fcn.00409d80
mov eax, dword [ebp - 0x834]
cmp eax, 0x10
jb 0x407b73
inc eax
push eax
push dword [ebp - 0x848]
call fcn.0040a320
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x86c]
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x848], 0
cmp eax, 0x10
jb 0x407baa
inc eax
push eax
push dword [ebp - 0x880]
call fcn.0040a320
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
push 0
push dword [ebp - 0x818]
cmovae eax, dword [ebp - 0x828]
push eax
push dword [edi]
call ebx
push 0x32
call esi
mov ecx, dword [ebp - 0x830]
push edi
call fcn.00406310
push 0x13
push str.___boundary____r_n._r_n
lea ecx, [ebp - 0x828]
call fcn.004098a0
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
push 0
push dword [ebp - 0x818]
cmovae eax, dword [ebp - 0x828]
push eax
push dword [edi]
call ebx
push 0x32
call esi
push 0
push 0x800
lea eax, [ebp - 0x810]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.end_qwertyuiop:
push 0x40a8e0
call fcn.0040a6a0
lea edx, [ebp - 0x810]
mov ecx, eax
call fcn.0040a6a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x814]
cmp eax, 0x10
jb 0x407c6a
inc eax
push eax
push dword [ebp - 0x828]
call fcn.0040a320
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x814], 0xf
mov dword [ebp - 0x818], 0
mov byte [ebp - 0x828], 0
cmp eax, 0x10
jb 0x407c97
inc eax
push eax
push dword [ebp + 8]
call fcn.0040a320
mov ecx, dword [ebp + 0x20]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
test ecx, ecx
je 0x407ce2
push dword [ebp - 0x868]
mov edx, dword [ebp + 0x24]
push ecx
call fcn.0040aee0
mov ecx, dword [ebp + 0x28]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 0x20]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a170
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418d36
mov esp, ebp
pop ebp
ret 0x24