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

Disassembly:
mov eax, 0x100129e5
call sub.MSVCRT.dll__EH_prolog
push ecx
mov eax, 0x1274
call fcn.10012400
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
call fcn.1000103b
xor esi, esi
cmp dword [0x10023d24], esi
mov dword [ebp - 4], esi
je 0x100107dd
mov ecx, dword [0x10023d24]
mov byte [ebp - 4], 1
call fcn.1000faea
test eax, eax
je 0x100107dd
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
push dword [ebp + 8]
call fcn.1000c884
mov ecx, dword [0x10023d24]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 2
call fcn.1000d687
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.10008955
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1000102d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.1000102d
lea ecx, [ebp - 0x28]
call fcn.1000c89a
lea ecx, [ebp - 0x28]
mov dword [ebp + 8], eax
call fcn.1000112f
cmp byte [0x10024344], 0
mov dword [ebp + 0xc], eax
je 0x100107dd
mov ecx, dword [0x10023d24]
call fcn.1000670a
cmp eax, 4
mov eax, str.PRIVACY
je 0x100107d0
mov eax, str.INTEGRITY
push eax
push str.superDebug:_Encrypted_via_GSSAUTH_P__s_n
call fcn.100013bb
pop ecx
pop ecx
mov eax, dword [edi]
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], eax
inc dword [edi + 0x28]
mov eax, dword [0x1001cbdc]
mov dword [edi + 0x12c], eax
cmp byte [0x10024344], 0
mov dword [ebp - 4], esi
je 0x10010a13
mov ebx, dword [ebp + 0xc]
mov al, byte [0x10023708]
push ebx
push str.superDebug:_Attempting_to_send__u_bytes:_n
mov byte [ebp - 0x15], al
mov byte [0x10023708], 0
call fcn.100013bb
cmp byte [0x10024344], 2
pop ecx
pop ecx
jne 0x1001094b
mov eax, dword [ebp + 8]
mov esi, 0x3e8
cmp ebx, esi
mov dword [ebp - 0x14], eax
jle 0x100108f7
push 0x3ea
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push esi
push dword [ebp - 0x14]
mov edi, eax
push edi
call sub.MSVCRT.dll_memcpy
push 0xa
push edi
mov byte [edi + 0x3e8], 0
call sub.MSVCRT.dll_strrchr
add esp, 0x18
test eax, eax
je 0x100108ba
inc eax
mov ecx, edi
sub ecx, eax
mov byte [eax], 0
sub eax, edi
add ebx, ecx
add dword [ebp - 0x14], eax
jmp 0x100108bf
sub ebx, esi
add dword [ebp - 0x14], esi
push edi
push 0x10013204
call fcn.100013bb
push edi
call sub.MSVCRT.dll_strlen
add esp, 0xc
cmp byte [eax + edi - 1], 0xa
je 0x100108e5
push 0x10013278
call fcn.100013bb
pop ecx
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp ebx, esi
pop ecx
jg 0x10010842
mov edi, dword [ebp - 0x1c]
test ebx, ebx
je 0x10010a09
lea eax, [ebx + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push ebx
push dword [ebp - 0x14]
mov esi, eax
push esi
mov dword [ebp - 0x1c], esi
call sub.MSVCRT.dll_memcpy
push dword [ebp - 0x1c]
add esi, ebx
push 0x10013204
mov byte [esi], 0
call fcn.100013bb
add esp, 0x18
cmp byte [esi - 1], 0xa
je 0x1001093d
push 0x10013278
call fcn.100013bb
pop ecx
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x10010a09
push 0x42
lea eax, [ebp - 0x84]
push 0x20
push eax
call sub.MSVCRT.dll_memset
xor edi, edi
add esp, 0xc
cmp dword [ebp + 0xc], edi
jbe 0x100109e0
cmp esi, 0x10
mov eax, dword [ebp + 8]
mov bl, byte [edi + eax]
jne 0x1001099e
lea eax, [ebp - 0x84]
push eax
lea eax, [edi - 0x10]
push eax
push str.superDebug:__05X__s_r_n
mov byte [ebp - 0x42], 0
call fcn.100013bb
push 0x42
lea eax, [ebp - 0x84]
push 0x20
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
xor esi, esi
movzx eax, bl
push eax
lea eax, [ebp - 0x14]
push str.__02X
push eax
call sub.MSVCRT.dll_sprintf
push 3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + esi - 0x84]
lea eax, [eax + esi*2]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
cmp bl, 0x20
jb 0x100109d3
cmp bl, 0x7e
jbe 0x100109d5
mov bl, 0x2e
mov byte [ebp + esi - 0x52], bl
inc esi
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x10010965
cmp esi, 0x10
mov byte [ebp - 0x42], 0
jne 0x100109ea
dec edi
lea eax, [ebp - 0x84]
push eax
mov eax, edi
and eax, 0xf
sub edi, eax
push edi
push str.superDebug:__05X__s_r_n
call fcn.100013bb
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov al, byte [ebp - 0x15]
mov byte [0x10023708], al
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x10010ad4
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [edi + 0x12c]
push eax
push esi
lea eax, [edi + 0x28]
push eax
push esi
push esi
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
jne 0x10010a5d
call sub.WSOCK32.dll_WSAGetLastError
push eax
lea eax, [ebp - 0x184]
push str.connection::put_data___unexpected_error_from_select:__d
push eax
call ebx
lea eax, [ebp - 0x184]
push eax
call fcn.1000fafb
add esp, 0x10
mov eax, dword [edi + 0x20]
cmp dword [ebp + 0xc], eax
jg 0x10010a68
mov eax, dword [ebp + 0xc]
push esi
push eax
push dword [ebp + 8]
push dword [edi]
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
jne 0x10010a96
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jl 0x10010ab1
cmp eax, 0x2734
jg 0x10010aa3
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10010a22
sub dword [ebp + 0xc], eax
add dword [ebp + 8], eax
cmp dword [ebp + 0xc], esi
jbe 0x10010ad4
jmp 0x10010a8c
cmp eax, 0x2749
jne 0x10010ab1
mov esi, 0xfb0
jmp 0x10010ad4
push eax
lea eax, [ebp - 0x284]
push str.connection::put_data___unexpected_error_from_send__:__d
push eax
call ebx
lea eax, [ebp - 0x284]
push eax
call fcn.1000fafb
add esp, 0x10
mov esi, 0xfa2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000102d
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8