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

Disassembly:
push ebp
lea ebp, [esp - 0x23b4]
mov eax, 0x2434
call fcn.004550e0
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp + 0x23b0], eax
mov eax, dword [ebp + 0x23bc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x23c0]
push ebx
push esi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x23c4]
push edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x23c8]
mov esi, 0xfff
xor ebx, ebx
push esi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x57]
push ebx
push eax
mov byte [ebp - 0x58], bl
call fcn.00452e00
push esi
lea eax, [ebp + 0xfa9]
push ebx
push eax
mov byte [ebp + 0xfa8], bl
call fcn.00452e00
mov esi, 0x1ff
push esi
lea eax, [ebp + 0x1fa9]
push ebx
push eax
mov byte [ebp + 0x1fa8], bl
call fcn.00452e00
push esi
lea eax, [ebp + 0x21a9]
push ebx
push eax
mov byte [ebp + 0x21a8], bl
call fcn.00452e00
mov esi, str.____t_n
lea edi, [ebp + 0x23a8]
movsd dword es:[edi], dword [esi]
push 0x4001
movsw word es:[edi], word [esi]
call fcn.00454e55
push 4
push ebx
push eax
mov dword [ebp - 0x6c], eax
call fcn.00452e00
xor eax, eax
mov word [ebp - 0x68], ax
lea edi, [ebp - 0x66]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0x40
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov edi, 0x200
push edi
lea eax, [ebp + 0x1fa8]
push eax
push str.ddd_dd_MMM_yyyy
lea eax, [ebp - 0x68]
push eax
push ebx
mov esi, 0x800
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
push edi
lea eax, [ebp + 0x21a8]
push eax
push str.HH:mm:ss_tt
lea eax, [ebp - 0x68]
push eax
push 8
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [ebp + 0x21a8]
push eax
lea eax, [ebp + 0x1fa8]
push eax
push str.DATE:__s__s_r_n
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x70]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x10
mov edi, 0x4663d8
cmp eax, ebx
je 0x44f6c5
cmp byte [eax], bl
je 0x44f6c5
cmp dword [ebp - 0x6c], ebx
je 0x44f6e2
push str.FROM:
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call esi
push edi
push dword [ebp - 0x6c]
call esi
cmp dword [ebp - 0x6c], ebx
je 0x44f6e2
push str.To:
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
call esi
push edi
push dword [ebp - 0x6c]
call esi
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x44f70e
cmp byte [eax], bl
je 0x44f70e
cmp dword [ebp - 0x6c], ebx
je 0x44f7a1
push str.Subject:
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x7c]
push dword [ebp - 0x6c]
call esi
push edi
push dword [ebp - 0x6c]
call esi
cmp dword [ebp - 0x6c], ebx
je 0x44f7a1
push str.MIME_Version:_1.0_r_nContent_type:_text_plain__charsetUS_ASCII_r_n
push dword [ebp - 0x6c]
call esi
push edi
push dword [ebp - 0x6c]
call esi
push str.MAIL_FROM:__
lea eax, [ebp + 0xfa8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x70]
lea eax, [ebp + 0xfa8]
push eax
call esi
push 0x46fc84
lea eax, [ebp + 0xfa8]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea eax, [ebp + 0xfa8]
push eax
call edi
push eax
lea eax, [ebp + 0xfa8]
push eax
push dword [0x485c40]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x44f7da
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Socket_send_error:__d
push dword [0x481960]
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp - 0x6c]
call fcn.00454dfb
add esp, 0x10
jmp 0x44f7be
push dword [ebp - 0x6c]
call fcn.00454dfb
mov dword [esp], str.Failed_to_format_message_header
push dword [0x481960]
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0x23b0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452dee
add ebp, 0x23b4
leave
ret 0x10
push ebx
push 0x1000
lea eax, [ebp - 0x58]
push eax
push dword [0x485c40]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x70], eax
lea eax, [ebp + eax - 0x58]
mov byte [eax], bl
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x23a8]
push eax
push dword [ebp - 0x74]
jmp 0x44f894
push str.RCPT_TO:__
lea eax, [ebp + 0xfa8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x74]
lea eax, [ebp + 0xfa8]
push eax
call esi
push 0x46fc84
lea eax, [ebp + 0xfa8]
push eax
call esi
push ebx
lea eax, [ebp + 0xfa8]
push eax
call edi
push eax
lea eax, [ebp + 0xfa8]
push eax
push dword [0x485c40]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x44f77c
mov eax, dword [ebp - 0x70]
push ebx
mov ecx, 0x1000
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x58]
push eax
push dword [0x485c40]
call dword [sym.imp.WS2_32.dll_recv]
add dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
lea eax, [ebp + eax - 0x58]
mov byte [eax], bl
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x23a8]
push eax
push ebx
call fcn.0045683b
add esp, 0xc
mov dword [ebp - 0x74], eax
cmp eax, ebx
jne 0x44f80c
push ebx
mov esi, str.DATA_r_n
push esi
call edi
push eax
push esi
push dword [0x485c40]
mov esi, dword [sym.imp.WS2_32.dll_send]
call esi
cmp eax, 0xffffffff
je 0x44f77c
mov eax, dword [ebp - 0x70]
push ebx
mov ecx, 0x1000
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x58]
push eax
push dword [0x485c40]
call dword [sym.imp.WS2_32.dll_recv]
add dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push ebx
push dword [ebp - 0x6c]
lea eax, [ebp + eax - 0x58]
mov byte [eax], bl
call edi
push eax
push dword [ebp - 0x6c]
push dword [0x485c40]
call esi
cmp eax, 0xffffffff
je 0x44f77c
push ebx
push dword [ebp - 0x78]
call edi
push eax
push dword [ebp - 0x78]
push dword [0x485c40]
call esi
cmp eax, 0xffffffff
je 0x44f77c
push ebx
push str._r_n._r_n
call edi
push eax
push str._r_n._r_n
push dword [0x485c40]
call esi
cmp eax, 0xffffffff
jne 0x44f96e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Socket_send_error:__d
push dword [0x481960]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [ebp - 0x6c]
call fcn.00454dfb
pop ecx
mov eax, ebx
jmp 0x44f7c0
mov esi, dword [ebp - 0x70]
push ebx
mov eax, 0x1000
sub eax, esi
push eax
lea eax, [ebp + esi - 0x58]
push eax
push dword [0x485c40]
call dword [sym.imp.WS2_32.dll_recv]
add eax, esi
mov byte [ebp + eax - 0x58], bl
xor ebx, ebx
inc ebx
jmp 0x44f95e