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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x124]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x1f
je 0x45b6fe
jmp 0x45ba60
mov edx, dword [ebp - 0x20]
add edx, 0x1cb0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1eb0], edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x1eb0
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x1eb0], ecx
jae 0x45b745
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1eb0]
mov byte [ecx], 0xff
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x1eb0]
add eax, 1
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1eb0], eax
xor edx, edx
test edx, edx
jne 0x45b710
mov eax, dword [ebp - 0x20]
add eax, 0x1eb0
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x1eb0], eax
jae 0x45b77f
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x1eb0]
mov byte [eax], 0xfa
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x1eb0]
add edx, 1
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1eb0], edx
xor ecx, ecx
test ecx, ecx
jne 0x45b74b
mov edx, dword [ebp - 0x20]
add edx, 0x1eb0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x1eb0], edx
jae 0x45b7ba
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x1eb0]
mov byte [edx], 0x1f
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1eb0]
add ecx, 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x1eb0], ecx
xor eax, eax
test eax, eax
jne 0x45b785
mov ecx, dword [ebp - 0x20]
mov dx, word [ecx + 0x1ca8]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x20]
mov cx, word [eax + 0x1caa]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x10], ax
lea edx, [ebp - 0xc]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x1eb0
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x1eb0], ecx
jae 0x45b82f
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1eb0]
mov edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x1eb0]
add edx, 1
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1eb0], edx
xor ecx, ecx
test ecx, ecx
jne 0x45b7f6
mov edx, dword [ebp - 0x20]
add edx, 0x1eb0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x1eb0], edx
jae 0x45b86f
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x1eb0]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 1]
mov byte [edx], cl
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x1eb0]
add eax, 1
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1eb0], eax
xor edx, edx
test edx, edx
jne 0x45b835
mov eax, dword [ebp - 0x20]
add eax, 0x1eb0
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x1eb0], eax
jae 0x45b8ad
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x1eb0]
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1eb0]
add ecx, 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x1eb0], ecx
xor eax, eax
test eax, eax
jne 0x45b875
mov ecx, dword [ebp - 0x20]
add ecx, 0x1eb0
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x1eb0], ecx
jae 0x45b8ed
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1eb0]
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 1]
mov byte [ecx], al
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x1eb0]
add edx, 1
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1eb0], edx
xor ecx, ecx
test ecx, ecx
jne 0x45b8b3
mov edx, dword [ebp - 0x20]
add edx, 0x1eb0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x1eb0], edx
jae 0x45b928
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x1eb0]
mov byte [edx], 0xff
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1eb0]
add ecx, 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x1eb0], ecx
xor eax, eax
test eax, eax
jne 0x45b8f3
mov ecx, dword [ebp - 0x20]
add ecx, 0x1eb0
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x1eb0], ecx
jae 0x45b963
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1eb0]
mov byte [ecx], 0xf0
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x1eb0]
add eax, 1
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1eb0], eax
xor edx, edx
test edx, edx
jne 0x45b92e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x1eb0]
mov dword [eax + 0x1eb4], edx
mov eax, dword [ebp - 0x20]
add eax, 0x1cb0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1eb0], eax
xor edx, edx
test edx, edx
jne 0x45b969
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x1eb4]
sub edx, dword [ecx + 0x1eb0]
sub edx, 2
push edx
mov eax, dword [ebp - 0x20]
add eax, 0x1cb2
push eax
push 0x3e
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0045b270
add esp, 0x10
push 0
push 3
mov edx, dword [ebp - 0x20]
add edx, 0x1cb0
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x190]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x45ba04
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
push str.Sending_data_failed___d_
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0043aff0
add esp, 0xc
push 4
mov ecx, dword [ebp - 0x20]
add ecx, 0x1cb3
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045ba70
add esp, 0xc
push 0
push 2
mov eax, dword [ebp - 0x20]
add eax, 0x1cb7
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x45ba60
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push str.Sending_data_failed___d_
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0043aff0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret