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

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14013a970
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
jbe 0x14013a991
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
lea rsi, [rax*2 + 2]
mov rcx, rsi
call qword [fcn.1401d1f20]
mov rbx, rax
test rax, rax
jne 0x14013a9c4
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.14020b8b0
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rsp
mov dword [rax + 8], ecx
push rdi
push r13
sub rsp, 0x58
mov rdi, qword [r8 + 0xe8]
mov r13, r8
mov qword [rax + 0x10], rbx
mov ebx, ecx
mov qword [rax - 0x28], r12
xor r12d, r12d
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], rdi
test ecx, ecx
jne 0x14014c2af
mov qword [rax - 0x20], rsi
mov rsi, qword [r8 + 0x20]
mov qword [rax - 0x18], rbp
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
movaps xmmword [rax - 0x48], xmm6
test rsi, rsi
je 0x14014c262
movdqa xmm6, xmmword [0x140236ed0]
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
lea rbp, [rsi + 0x18]
test rax, rax
je 0x14014c063
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14014c054
inc rbx
jmp 0x14014c065
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x14014c075
mov r14d, reloc.WS2_32.dll_recv
jmp 0x14014c084
cmp eax, 0x17
jne 0x14014c250
mov r14d, 0x1c
cmp qword [rsi + 0x20], 0
je 0x14014c250
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14014c250
cmp rax, r14
jb 0x14014c250
lea rcx, [rbx + 0x30]
add rcx, r14
call qword [fcn.1401d1f20]
mov rdi, rax
test rax, rax
je 0x14014c271
mov ecx, dword [rsi]
lea r15, [rax + 0x18]
mov dword [rax], ecx
mov r8, r14
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [rdi + 0x30]
mov dword [rax + 0x10], r14d
xor eax, eax
mov qword [r15], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.14020b8b0
test rbx, rbx
je 0x14014c230
mov rdx, qword [rdi + 0x20]
xor eax, eax
add rdx, r14
mov qword [r15], rdx
test rbx, rbx
je 0x14014c228
cmp rbx, 4
jb 0x14014c211
mov r9, qword [rbp]
lea r8, [rdx - 1]
lea rcx, [rbx - 1]
add r8, rbx
lea rcx, [r9 + rcx*2]
cmp rdx, rcx
ja 0x14014c142
cmp r8, r9
jae 0x14014c211
cmp rdx, rbp
ja 0x14014c150
cmp r8, rbp
jae 0x14014c211
cmp rdx, r15
ja 0x14014c15e
cmp r8, r15
jae 0x14014c211
cmp rbx, 0x20
jb 0x14014c1e2
mov rcx, rbx
mov r8, rbx
and ecx, 0x1f
sub r8, rcx
mov r10d, 0x20
nop word [rax + rax]
movdqu xmm0, xmmword [r9 + r10 - 0x20]
movdqu xmm1, xmmword [r9 + r10 - 0x10]
lea r10, [r10 + 0x40]
andps xmm0, xmm6
andps xmm1, xmm6
packuswb xmm0, xmm0
movq qword [rdx + rax], xmm0
movdqu xmm0, xmmword [r9 + r10 - 0x40]
packuswb xmm1, xmm1
movq qword [rdx + rax + 8], xmm1
andps xmm0, xmm6
movdqu xmm1, xmmword [r9 + r10 - 0x30]
packuswb xmm0, xmm0
movq qword [rdx + rax + 0x10], xmm0
andps xmm1, xmm6
packuswb xmm1, xmm1
movq qword [rdx + rax + 0x18], xmm1
add rax, 0x20
cmp rax, r8
jb 0x14014c180
cmp rcx, 4
jb 0x14014c20c
mov rdx, qword [rbp]
mov rcx, rbx
mov r8, qword [rdi + 0x18]
and rcx, 0xfffffffffffffffc
movq xmm0, qword [rdx + rax*2]
andps xmm0, xmm6
packuswb xmm0, xmm0
movd dword [r8 + rax], xmm0
add rax, 4
cmp rax, rcx
jb 0x14014c1f1
cmp rax, rbx
jae 0x14014c228
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rdi + 0x18]
movzx ecx, byte [rcx + rax*2]
mov byte [rax + rdx], cl
inc rax
cmp rax, rbx
jb 0x14014c211
mov rax, qword [rdi + 0x18]
mov byte [rbx + rax], 0
mov rax, qword [rsp + 0x80]
test r12, r12
cmove r12, rdi
test rax, rax
je 0x14014c248
mov qword [rax + 0x28], rdi
mov qword [rsp + 0x80], rdi
mov rsi, qword [rsi + 0x40]
test rsi, rsi
jne 0x14014c040
test r12, r12
jne 0x14014c283
mov ebx, 0x2af9
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x14014c287
mov rcx, r12
mov ebx, 8
call fcn.14017d400
xor r12d, r12d
jmp 0x14014c287
mov ebx, dword [rsp + 0x70]
mov rdi, qword [rsp + 0x88]
movaps xmm6, xmmword [rsp + 0x20]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov qword [r13 + 0xb0], r12
mov rcx, qword [r13 + 0x20]
mov r12, qword [rsp + 0x40]
test rcx, rcx
je 0x14014c2cb
call qword [0x1402d9d88]
mov qword [r13 + 0x20], 0
test ebx, ebx
je 0x14014c2fe
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x14014c2f7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [r13 + 0xa8], eax
test eax, eax
jne 0x14014c2fe
mov dword [r13 + 0xa8], 8
jmp 0x14014c2fe
mov dword [r13 + 0xa8], ebx
mov rcx, qword [r13 + 0x78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [r13 + 0x80], 0
mov rbx, qword [rsp + 0x78]
je 0x14014c38c
mov rcx, qword [r13 + 0x78]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [r13 + 0x78]
test rcx, rcx
je 0x14014c33a
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [r13 + 0x78]
call qword [fcn.1401d1af0]
mov rcx, qword [r13 + 0x88]
call qword [fcn.1401d1af0]
mov rcx, qword [r13 + 0xb0]
test rcx, rcx
je 0x14014c358
call fcn.14017d400
mov rcx, qword [r13 + 0xa0]
cmp rcx, 0xffffffffffffffff
je case.default.0x14014c385
call qword [sym.imp.WS2_32.dll_closesocket]
xor edx, edx
mov r8d, 0xf0
mov rcx, r13
call fcn.14020bf50
mov rcx, rdi
add rsp, 0x58
pop r13
pop rdi
jmp qword [fcn.1401d1af0]
mov rcx, qword [r13 + 0xa0]
cmp rcx, 0xffffffffffffffff
je 0x14014c3c3
xor r9d, r9d
mov byte [rsp + 0x70], 1
mov r8d, 1
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14014c3c3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [r13 + 0xa8], eax
mov rcx, qword [r13 + 0x78]
mov dword [r13 + 0x80], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14014c3e6
call qword [sym.imp.KERNEL32.dll_SetEvent]
add rsp, 0x58
pop r13
pop rdi
ret
and byte [rdi + 0x23], dh
add dword [rax], eax
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
js 0x1402d54ba
and eax, dword [rax + 1]
add byte [rax], al
add byte [rcx], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], dh
or dword [0x1402d5597], edx
add byte [rax], dl
push rdi
adc eax, 0x140
add byte [rax + 0x58], ah
adc eax, 0x140
add al, dl
push rsi
adc eax, 0x140
add al, al
mov ch, 0xb
add dword [rax], eax
add byte [rax], al
jo 0x1402d5462
adc al, 0x40
add dword [rax], eax
add byte [rax], al
and cl, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
add cl, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
sar byte [rbx + 0xe], 1
add dword [rax], eax
add byte [rax], al
and al, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
push rax
call 0x1402e94ba
add byte [rax], al
loopne 0x1402d5492
invalid
adc al, 0x40
add dword [rax], eax
add byte [rax], al
pop rax
jns 0x1402d54d6
add dword [rax], eax
add byte [rax], al
add dword [rax], eax
add byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
add byte [rax], al
rcl byte [rsi + 0x15]
add dword [rax], eax
add byte [rax], al
jo 0x1402d5540
adc eax, 0x140
add byte [rax - 0x18], dh
adc al, 0x40
add dword [rax], eax
add byte [rax], al
and cl, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
add cl, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
sar byte [rbx + 0xe], 1
add dword [rax], eax
add byte [rax], al
and al, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
push rax
call 0x1402e952a
add byte [rax], al
loopne 0x1402d5502
invalid
adc al, 0x40
add dword [rax], eax
add byte [rax], al
enter 0x237d, 0x40
add dword [rax], eax
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
outsd dx, dword [rsi]
adc eax, 0x140
add byte [rax + 0x14014e8], ah
add byte [rax], al
add byte [rax + 0x140156f], ah
add byte [rax], al
add byte [rax - 0x18], dh
adc al, 0x40
add dword [rax], eax
add byte [rax], al
and cl, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
add cl, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
sar byte [rbx + 0xe], 1
add dword [rax], eax
add byte [rax], al
and al, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
push rax
call 0x1402e959a
add byte [rax], al
loopne 0x1402d5572
invalid
adc al, 0x40
add dword [rax], eax
add byte [rax], al
or byte [rsi + 0x23], bh
add dword [rax], eax
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rsi + 0x15], dh
add dword [rax], eax
add byte [rax], al
movabs al, byte [0xa000000001401570]
jne 0x1402d55c8
add dword [rax], eax
add byte [rax], al
movabs al, byte [0x14014e8]
je 0x1402d55d8
add dword [rax], eax
add byte [rax], al
movabs al, byte [0x2000000001401574]
jmp 0x1402e95ea
add cl, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
sar byte [rbx + 0xe], 1
add dword [rax], eax
add byte [rax], al
and al, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
push rax
call 0x1402e960a
add byte [rax], al
xor byte [rbp + 0x15], dh
add dword [rax], eax
add byte [rax], al
nop
jg 0x1402d5626
add dword [rax], eax
add byte [rax], al
add dword [rax], eax
add byte [rax], al
add byte [rax], al
add byte [rax], al
movabs al, byte [0xe00000000140157e]
jnp 0x1402d5630
add dword [rax], eax
add byte [rax], al
push rax
jle 0x1402d5638
adc eax, 0x140
add al, dl
jle 0x1402d5640
add dword [rax], eax
add byte [rax], al
sar byte [rsi + 0x15], 1
add dword [rax], eax
add byte [rax], al
sar byte [rbp + 0x15], 1
add dword [rax], eax
add byte [rax], al
jo 0x1402d5622
adc al, 0x40
add dword [rax], eax
add byte [rax], al
and cl, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
add cl, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
sar byte [rbx + 0xe], 1
add dword [rax], eax
add byte [rax], al
and al, ch
adc al, 0x40
add dword [rax], eax
add byte [rax], al
push rax
call 0x1402e967a
add byte [rax], al
loopne 0x1402d5652
invalid
adc al, 0x40
add dword [rax], eax
add byte [rax], al
hlt