Function at 0x14000c300
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov edi, dword [rcx + 0x3c]
mov eax, dword [rcx + 0x40]
xor r14d, r14d
cmp edi, eax
mov r13d, r8d
mov rbp, rdx
mov rbx, rcx
mov dword [rsp + 0x70], r14d
mov esi, r14d
jle 0x14000c80f
sub edi, eax
call fcn.140001150
mov r15d, 0x400
mov r12d, eax
nop
test r12d, r12d
je 0x14000c717
mov rcx, rbx
call fcn.1400010f0
test eax, eax
je 0x14000c6a7
movsxd rcx, dword [rbx + 0x40]
lea rdx, [rbx + 0xa0]
mov qword [rsp + 0x30], r14
mov rax, rcx
lea r9, [rsp + 0x70]
mov r8d, 1
add rax, qword [rbx + 0x30]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x70], r14d
mov qword [rbx + 0xa8], rax
mov eax, dword [rbx + 0x3c]
mov dword [rsp + 0x20], r14d
sub eax, ecx
mov rcx, rbp
cmp eax, r15d
cmovg eax, r15d
mov dword [rdx], eax
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x14000c669
mov eax, dword [rsp + 0x70]
add dword [rbx + 0x40], eax
add esi, eax
sub dword [rbx + 0xe8], eax
lock add dword [0x14002e1e4], 0xffffffff
sub edi, eax
jne 0x14000c350
mov eax, esi
lock xadd dword [0x14002e1d4], eax
mov ecx, esi
lock xadd dword [0x14002e1dc], ecx
mov edx, dword [rbx + 0x40]
cmp edx, dword [rbx + 0x3c]
jne 0x14000c80f
cmp dword [0x14002dfe8], r14d
je 0x14000c415
lea rcx, str._d_Bytes_Sent___n
call fcn.14001347c
cmp dword [rbx + 0xf0], r14d
je 0x14000c4ce
cmp dword [rbx + 0x48], 4
jne 0x14000c4ce
inc dword [rbx + 0xf4]
cmp dword [rbx + 0xf4], 8
mov r8d, dword [rbx + 0x38]
mov rcx, qword [rbx + 0x30]
mov dword [rbx + 0x40], r14d
jae 0x14000c479
mov edx, 0x41
call fcn.140013cc0
mov r11d, dword [rbx + 0x38]
mov dword [rbx + 0x3c], r11d
mov r8, qword [rbx]
mov rcx, qword [0x14002dfe0]
mov r9d, 2
mov edx, 0x401
call qword [sym.imp.USER32.dll_PostMessageA]
jmp 0x14000c80f
xor edx, edx
call fcn.140013cc0
mov r8d, dword [rbx + 0x38]
mov rcx, qword [rbx + 0x30]
lea rdx, [0x140025a78]
call fcn.140013620
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rbx]
mov r8d, reloc.WS2_32.dll_recv
mov dword [rbx + 0x3c], reloc.WS2_32.dll_recv
call fcn.1400012e0
cmp eax, dword [rbx + 0x3c]
jne 0x14000c459
mov r8d, dword [rbx + 0x38]
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov dword [rbx + 0x40], r14d
mov dword [rbx + 0x3c], r14d
call fcn.140013cc0
jmp 0x14000c80f
mov r8d, dword [rbx + 0x38]
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov dword [rbx + 0x40], r14d
mov dword [rbx + 0x3c], r14d
call fcn.140013cc0
cmp dword [0x14002dfe8], r14d
je 0x14000c4ff
lea rcx, str._d_Bytes_Sent_To__d._n
mov r8, rbp
mov edx, esi
call fcn.14001347c
mov eax, dword [rbx + 0xc0]
test eax, eax
je 0x14000c5c4
test al, 2
je 0x14000c557
mov r8, qword [rbx + 8]
add eax, 0xfffffffe
mov r9d, 1
mov dword [rbx + 0xc0], eax
mov rcx, qword [0x14002dfe0]
mov edx, 0x402
call qword [sym.imp.USER32.dll_PostMessageA]
cmp dword [0x14002dfe8], r14d
je 0x14000c557
mov r8d, dword [rbx + 0xc0]
lea rcx, str.Event_Queue_Min__d._Queue:__d_n
mov edx, 2
call fcn.14001347c
mov eax, dword [rbx + 0xc0]
test al, 1
je 0x14000c5a5
mov r8, qword [rbx]
dec eax
mov r9d, 1
mov dword [rbx + 0xc0], eax
mov rcx, qword [0x14002dfe0]
mov edx, 0x401
call qword [sym.imp.USER32.dll_PostMessageA]
cmp dword [0x14002dfe8], r14d
je 0x14000c5a5
mov r8d, dword [rbx + 0xc0]
lea rcx, str.Event_Queue_Min__d._Queue:__d_n
mov edx, 1
call fcn.14001347c
mov edx, dword [rbx + 0xc0]
test edx, edx
je 0x14000c5c4
cmp dword [0x14002dfe8], r14d
je 0x14000c5c4
lea rcx, str.Event_Queue:__d_n
call fcn.14001347c
cmp dword [rbx + 0xbc], r14d
je 0x14000c80f
test r13d, r13d
je 0x14000c620
lea rcx, str.Check_If_Data_Left_On_Data_Socket_n
call fcn.140002780
mov rcx, qword [rbx + 8]
mov edx, 1
call fcn.140001160
test eax, eax
jne 0x14000c60f
lea rcx, str.No_Data_Left_On_Data_Socket_n
call fcn.140002780
mov rcx, qword [rbx]
call fcn.140005d50
xor eax, eax
jmp 0x14000c814
lea rcx, str.Still_Data_Left_On_Data_Socket_n
call fcn.140002780
jmp 0x14000c80f
lea rcx, str.Check_If_Data_Left_On_Client_Socket_n
call fcn.140002780
mov rcx, qword [rbx]
mov edx, 1
call fcn.140001160
test eax, eax
jne 0x14000c658
lea rcx, str.No_Data_Left_On_Client_Socket_n
call fcn.140002780
mov rcx, qword [rbx]
call fcn.140005d50
xor eax, eax
jmp 0x14000c814
lea rcx, str.Still_Data_Left_On_Client_Socket_n
call fcn.140002780
jmp 0x14000c80f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14000c685
mov rcx, qword [rbx]
call fcn.140005d50
xor eax, eax
jmp 0x14000c814
cmp dword [0x14002dfe8], r14d
je 0x14000c6a0
lea rcx, str.The_Socket__d_Is_Full._d_Bytes_Has_Been_Sent_n
mov r8d, esi
mov rdx, rbp
call fcn.14001347c
xor eax, eax
jmp 0x14000c814
cmp dword [rbx + 0xe0], r14d
jne 0x14000c80f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, 0x3e8
sub eax, dword [rbx + 0xec]
cmp eax, edi
jae 0x14000c80f
sub edi, eax
mov rcx, rbp
mov edx, edi
call fcn.140003920
test eax, eax
je 0x14000c7b5
mov dword [rbx + 0xe0], 1
cmp dword [0x14002dfe8], r14d
je 0x14000c7b5
lea rcx, str.Set_Timer__d_On__d_MS.__d_Bytes_Sent_To__d_n
mov r9d, esi
mov r8d, edi
mov rdx, rbp
mov qword [rsp + 0x20], rbp
call fcn.14001347c
jmp 0x14000c7b5
lea rcx, str.Bandwidth_Is_Unavariable_n
call fcn.140002780
cmp dword [rbx + 0xe0], r14d
jne 0x14000c80f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, 0x3e8
mov r11d, eax
sub r11d, dword [0x14002e1f0]
cmp r11d, edi
jbe 0x14000c75e
mov eax, 0x10624dd3
mul r11d
shr edx, 6
imul edx, edx, 0xfffffc18
add r11d, edx
mov esi, edi
sub esi, r11d
jne 0x14000c76c
mov esi, 0xa
jmp 0x14000c774
cmp esi, edi
ja 0x14000c80f
mov edx, esi
mov rcx, rbp
call fcn.140003920
test eax, eax
je 0x14000c7a9
mov dword [rbx + 0xe0], 1
cmp dword [0x14002dfe8], r14d
je 0x14000c7b5
lea rcx, str._Set_Timer__d_On__d_MS._n
mov r8d, esi
mov rdx, rbp
call fcn.14001347c
jmp 0x14000c7b5
lea rcx, str.Fail_To_Set_Timer_n
call fcn.140002780
mov eax, dword [rbx + 0xc0]
test r13d, r13d
je 0x14000c7e6
test al, 4
jne 0x14000c80f
lea r8d, [rax + 4]
mov dword [rbx + 0xc0], r8d
cmp dword [0x14002dfe8], r14d
je 0x14000c80f
lea rcx, str.Event_Queue_Plus__d.Queue:__d_n
mov edx, 4
jmp 0x14000c80a
test al, 8
jne 0x14000c80f
lea r8d, [rax + 8]
mov dword [rbx + 0xc0], r8d
cmp dword [0x14002dfe8], r14d
je 0x14000c80f
mov edx, 8
lea rcx, str.Event_Queue_Plus__d._Queue:__d_n
call fcn.14001347c
mov eax, 1
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret