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

Disassembly:
mov eax, 0x100223aa
call fcn.10021c80
push ecx
mov eax, 0x247c
call fcn.10021d20
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2464], ecx
lea ecx, [ebp - 0x30]
call fcn.100024c5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.100024c5
mov byte [ebp - 4], 1
cmp dword [0x10035458], 0
je 0x1000c4aa
mov byte [ebp - 4], 2
mov ecx, dword [0x10035458]
call fcn.1000c729
mov dword [ebp - 0x2468], eax
cmp dword [ebp - 0x2468], 0
je 0x1000c429
lea ecx, [ebp - 0x1c]
call fcn.100024e5
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.10005b75
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2450]
push eax
mov ecx, dword [0x10035458]
call fcn.1000ea78
mov dword [ebp - 0x246c], eax
mov eax, dword [ebp - 0x246c]
mov dword [ebp - 0x2470], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x2470]
lea ecx, [ebp - 0x30]
call fcn.1000255c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2450]
call fcn.100024a2
lea ecx, [ebp - 0x30]
call fcn.1000272e
mov dword [ebp - 0x2474], eax
mov eax, dword [ebp - 0x2474]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp + 8], eax
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x30]
call fcn.1000273c
mov dword [ebp - 0x2478], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2478]
jae 0x1000c3c5
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
movzx eax, word [ecx + eax*2]
and eax, 0xff
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x34]
mov byte [ecx], al
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
jmp 0x1000c38c
lea ecx, [ebp - 0x30]
call fcn.1000273c
mov dword [ebp - 0x247c], eax
mov eax, dword [ebp - 0x247c]
mov dword [ebp + 0xc], eax
movzx eax, word [0x10043616]
test eax, eax
je 0x1000c429
mov ecx, dword [0x10035458]
call fcn.1000c71a
mov dword [ebp - 0x2480], eax
cmp dword [ebp - 0x2480], 4
jne 0x1000c40d
mov dword [ebp - 0x2484], 0x100261f8
jmp 0x1000c417
mov dword [ebp - 0x2484], 0x100261e4
push dword [ebp - 0x2484]
push str.superDebug:_Encrypted_via_GSSAUTH_P__s_n
call fcn.10005df8
pop ecx
pop ecx
jmp 0x1000c4a3
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.10002525
lea ecx, [ebp - 0x30]
call fcn.10002525
mov eax, dword [ebp - 0x2464]
and dword [eax + 0x28], 0
mov eax, dword [ebp - 0x2464]
cmp dword [eax + 0x28], 0x40
jae 0x1000c4fe
mov eax, dword [ebp - 0x2464]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x2464]
mov edx, dword [ebp - 0x2464]
mov edx, dword [edx]
mov dword [ecx + eax*4 + 0x2c], edx
mov eax, dword [ebp - 0x2464]
mov eax, dword [eax + 0x28]
inc eax
mov ecx, dword [ebp - 0x2464]
mov dword [ecx + 0x28], eax
xor eax, eax
test eax, eax
jne 0x1000c4c4
mov eax, dword [ebp - 0x2464]
mov ecx, dword [0x10032210]
mov dword [eax + 0x12c], ecx
push str.superDebug:_Attempting_to_send__lu_bytes:_n
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000b96d
add esp, 0xc
cmp dword [ebp + 0xc], 0
jbe 0x1000c6e4
mov eax, dword [ebp - 0x2464]
add eax, 0x12c
push eax
push 0
mov eax, dword [ebp - 0x2464]
add eax, 0x28
push eax
push 0
push 0
call sub.WSOCK32.dll_select
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x1000c59d
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x2040], eax
push dword [ebp - 0x2040]
call fcn.1000b298
pop ecx
push eax
push dword [ebp - 0x2040]
push str.connection::put_pData___unexpected_error_from_select:__d___s_
lea eax, [ebp - 0x2240]
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
lea eax, [ebp - 0x2240]
push eax
call fcn.1000aa98
pop ecx
mov eax, dword [ebp - 0x2464]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0x20]
jle 0x1000c5bc
mov eax, dword [ebp - 0x2464]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x2488], eax
jmp 0x1000c5c5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2488], eax
push 0
push dword [ebp - 0x2488]
push dword [ebp + 8]
mov eax, dword [ebp - 0x2464]
push dword [eax]
call sub.WSOCK32.dll_send
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x1000c6bf
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x2444], eax
mov eax, dword [ebp - 0x2444]
mov dword [ebp - 0x248c], eax
cmp dword [ebp - 0x248c], 0x2733
jl 0x1000c65e
cmp dword [ebp - 0x248c], 0x2734
jle 0x1000c654
cmp dword [ebp - 0x248c], 0x2749
je 0x1000c627
jmp 0x1000c65e
mov dword [ebp - 0x2458], 0xfb0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.100024a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100024a2
mov eax, dword [ebp - 0x2458]
jmp 0x1000c709
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000c6bd
push dword [ebp - 0x2444]
call fcn.1000b298
pop ecx
push eax
push dword [ebp - 0x2444]
push str.connection::put_pData___unexpected_error_from_send__:__d___s_
lea eax, [ebp - 0x2440]
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
lea eax, [ebp - 0x2440]
push eax
call fcn.1000aa98
pop ecx
mov dword [ebp - 0x245c], 0xfa2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.100024a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100024a2
mov eax, dword [ebp - 0x245c]
jmp 0x1000c709
jmp 0x1000c6df
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x20]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov dword [ebp + 8], eax
cmp dword [ebp + 0xc], 0
jbe 0x1000c6df
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000c529
and dword [ebp - 0x2460], 0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.100024a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100024a2
mov eax, dword [ebp - 0x2460]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8