Function at 0x403020
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406bcd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x40a008]
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 - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0xe
push str.__qwertyuiop_r_n
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004014f0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x19
push str.Content_Type:_text_plain_
cmp eax, 0x19
jb 0x4030b3
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x19]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x19], 0
jmp 0x4030c4
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x19
call fcn.004057f0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x13
push str.charset_utf_8__r_n_r_n
cmp eax, 0x13
jb 0x4030fb
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x13]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x13], 0
jmp 0x40310c
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x13
call fcn.004057f0
cmp dword [ebx + 0x90], 0x10
lea ecx, [ebx + 0x7c]
jb 0x40311b
mov ecx, dword [ebx + 0x7c]
mov esi, dword [ebp - 0x14]
mov eax, esi
mov edi, dword [ebx + 0x8c]
mov edx, dword [ebp - 0x18]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x403153
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x403163
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push edi
call fcn.004057f0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 4
jb 0x403190
lea eax, [ecx + 4]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [eax + ecx], 0xa0d0a0d
mov byte [eax + ecx + 4], 0
jmp 0x4031a8
push 4
push str._r_n_r_n
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push 4
call fcn.004057f0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebx + 0x4a4]
call dword [sym.imp.WS2_32.dll_send]
mov edx, dword [ebp - 0x14]
cmp eax, 0xffffffff
setne bl
cmp edx, 0x10
jb 0x403201
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4031f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4031f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00405c7d
add esp, 8
mov al, bl
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.00405c3f
mov esp, ebp
pop ebp
ret