Function at 0x413aff
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
mov eax, 0x426683
call fcn.0041bdc0
push ecx
mov eax, 0x2454
call fcn.0041bd90
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
lea ecx, [ebp - 0x30]
call fcn.00402ccc
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x1c]
call fcn.00402ccc
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x228], edi
je 0x413c11
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0x228]
call fcn.00413ab7
test eax, eax
je 0x413c0a
lea ecx, [ebp - 0x1c]
call fcn.00402cd9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00402e68
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x2450]
push eax
mov ecx, dword [ebx + 0x228]
call fcn.004126f7
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x30]
call fcn.00402d1f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2450]
call fcn.00402cbe
lea ecx, [ebp - 0x30]
call fcn.00409563
mov dword [ebp - 0x38], eax
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x30]
call fcn.00402eb2
cmp edi, eax
jae 0x413bd0
mov eax, dword [ebp - 0x38]
mov al, byte [eax + edi*2]
mov ecx, dword [ebp + 0xc]
mov byte [edi + ecx], al
inc edi
jmp 0x413bb2
lea ecx, [ebp - 0x30]
call fcn.00402eb2
mov dword [ebp + 0x10], eax
cmp word [ebx], 0
je 0x413c0a
mov ecx, dword [ebx + 0x228]
call fcn.00407ade
cmp eax, 4
mov eax, 0x4322a8
je 0x413bfb
mov eax, 0x432294
push eax
push str.superDebug:_Encrypted_via_GSSAUTH_P__s_n
push ebx
call fcn.00403e43
add esp, 0xc
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402d02
lea ecx, [ebp - 0x30]
call fcn.00402d02
lea edi, [esi + 0x28]
and dword [edi], 0
mov eax, dword [esi]
mov dword [esi + 0x2c], eax
inc dword [edi]
mov eax, dword [ebx + 0x1e8]
mov dword [esi + 0x12c], eax
push str.superDebug:_Attempting_to_send__lu_bytes:_n
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00413526
add esp, 0x10
cmp dword [ebp + 0x10], 0
jbe 0x413dd4
lea eax, [esi + 0x12c]
push eax
xor eax, eax
push eax
push edi
push eax
push eax
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
jne 0x413ca8
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x2040], eax
push eax
call fcn.004130d7
push eax
push dword [ebp - 0x2040]
push str.connection::put_pData___unexpected_error_from_select:__d___s_
lea eax, [ebp - 0x2240]
push eax
call fcn.0041af29
lea eax, [ebp - 0x2240]
push eax
push ebx
call fcn.00412b67
add esp, 0x1c
mov eax, dword [esi + 0x20]
cmp dword [ebp + 0x10], eax
jg 0x413cb3
mov eax, dword [ebp + 0x10]
push 0
push eax
push dword [ebp + 0xc]
push dword [esi]
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
jne 0x413d66
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x2444], eax
cmp eax, 0x2733
jl 0x413d85
cmp eax, 0x2734
jg 0x413d77
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x413c58
sub dword [ebp + 0x10], eax
add dword [ebp + 0xc], eax
cmp dword [ebp + 0x10], 0
jbe 0x413dd4
jmp 0x413cea
cmp eax, 0x2749
jne 0x413d85
mov esi, 0xfb0
jmp 0x413db8
push eax
call fcn.004130d7
push eax
push dword [ebp - 0x2444]
push str.connection::put_pData___unexpected_error_from_send__:__d___s_
lea eax, [ebp - 0x2440]
push eax
call fcn.0041af29
lea eax, [ebp - 0x2440]
push eax
push ebx
call fcn.00412b67
add esp, 0x1c
mov esi, 0xfa2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402cbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402cbe
mov eax, esi
jmp 0x413dee
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402cbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402cbe
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc