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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x38], rcx
mov rdi, qword [rdx + 0x10]
mov r14, qword [rdx + 0x18]
cmp r14, 0xffffffffffffffff
je 0x18011a35d
mov rax, qword [rsp + 0xe0]
mov rcx, qword [r8]
mov qword [rsp + 0x50], rcx
mov r12d, 0xffffffff
cmp rax, r12
cmovb r12, rax
mov r13, qword [rdx + 0x20]
xorps xmm6, xmm6
nop word cs:[rax + rax]
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
mov r8, qword [rsp + 0x50]
mov r9b, 1
call fcn.180119160
movzx eax, byte [rsp + 0x49]
cmp al, 3
je 0x18011a379
mov rsi, qword [rsp + 0x40]
cmp al, 2
je 0x18011a390
movzx ebp, byte [rsp + 0x48]
mov dword [rsp + 0x40], 0
movups xmmword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 0
mov rcx, r14
mov rdx, qword [rsp + 0x58]
mov r8d, r12d
mov r9, rbx
call qword [sym.imp.ws2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x18011a3a2
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rbx, rax
shl rbx, 0x20
or rbx, 2
mov ecx, eax
call fcn.180103540
cmp al, 0xd
jne 0x18011a130
test r13, r13
je 0x18011a130
mov rcx, qword [r13]
mov rax, qword [r13 + 8]
lock inc qword [rax]
jle 0x18011a3de
add rcx, 0x10
mov rdx, qword [r13 + 8]
mov r8, qword [r13 + 0x10]
movzx r9d, byte [r13 + 0x18]
call fcn.1800751c0
test rax, rax
cmovne rbx, rax
mov r15d, ebx
and r15d, 3
lea rcx, [0x18011a3e4]
movsxd rax, dword [rcx + r15*4]
add rax, rcx
jmp rax
mov r15d, ebx
and r15d, 3
lea rcx, [0x18011a3e4]
movsxd rax, dword [rcx + r15*4]
add rax, rcx
jmp rax
movzx eax, byte [rbx + 0x10]
jmp case.0x18011a23c.0
movzx eax, byte [rbx + 0xf]
jmp case.0x18011a23c.0
add byte [rax], al
add byte [rax], al
mov rcx, rbx
shr rcx, 0x20
call fcn.180103540
cmp al, 0xd
jne 0x18011a3b8
and esi, 0x23
mov rax, qword [rdi + 0xd0]
mov rcx, rbp
shl rcx, 0x10
xor rsi, 0x2f
nop dword [rax]
mov rdx, rax
shr rdx, 0x10
cmp bpl, dl
jne 0x18011a1ae
mov edx, eax
and edx, esi
or rdx, rcx
lock cmpxchg qword [rdi + 0xd0], rdx
jne 0x18011a190
lea rax, [r15 - 2]
cmp rax, 2
jb 0x18011a060
test r15, r15
je 0x18011a060
lea rbp, [rbx - 1]
mov rsi, qword [rbx - 1]
mov rbx, qword [rbx + 7]
mov rcx, rsi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x18011a1fa
cmp qword [rbx + 0x10], 0x11
jb 0x18011a1e8
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1802219b8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1802219b8]
xor edx, edx
mov r8, rbp
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x18011a060
mov rcx, rbx
shr rcx, 0x20
cmp ecx, 0x28
ja case.default.0x18011a23c
xor eax, eax
lea rdx, [0x18011a3f4]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov al, 1
jmp case.0x18011a23c.0
invalid
invalid
invalid
mov al, 0x29
jmp case.0x18011a23c.0
invalid
invalid
invalid
mov al, 2
jmp case.0x18011a23c.0
invalid
invalid
invalid
mov al, 3
jmp case.0x18011a23c.0
invalid
invalid
invalid
mov al, 4
jmp case.0x18011a23c.0
invalid
invalid
invalid
mov al, 5
jmp case.0x18011a23c.0
invalid
invalid
invalid
mov al, 6
jmp case.0x18011a23c.0
invalid
invalid
invalid
mov al, 7
jmp case.0x18011a23c.0
mov al, 8
jmp case.0x18011a23c.0
mov al, 9
jmp case.0x18011a23c.0
mov al, 0xa
jmp case.0x18011a23c.0
mov al, 0xb
jmp case.0x18011a23c.0
mov al, 0xc
jmp case.0x18011a23c.0
mov al, 0xd
jmp case.0x18011a23c.0
mov al, 0xe
jmp case.0x18011a23c.0
mov al, 0xf
jmp case.0x18011a23c.0
mov al, 0x10
jmp case.0x18011a23c.0
mov al, 0x11
jmp case.0x18011a23c.0
mov al, 0x12
jmp case.0x18011a23c.0
mov al, 0x13
jmp case.0x18011a23c.0
mov al, 0x14
jmp case.0x18011a23c.0
mov al, 0x15
jmp case.0x18011a23c.0
mov al, 0x16
jmp case.0x18011a23c.0
mov al, 0x17
jmp case.0x18011a23c.0
mov al, 0x18
jmp case.0x18011a23c.0
mov al, 0x19
jmp case.0x18011a23c.0
mov al, 0x1a
jmp case.0x18011a23c.0
mov al, 0x1b
jmp case.0x18011a23c.0
mov al, 0x1c
jmp case.0x18011a23c.0
mov al, 0x1d
jmp case.0x18011a23c.0
mov al, 0x1e
jmp case.0x18011a23c.0
mov al, 0x1f
jmp case.0x18011a23c.0
mov al, 0x20
jmp case.0x18011a23c.0
mov al, 0x21
jmp case.0x18011a23c.0
mov al, 0x22
jmp case.0x18011a23c.0
mov al, 0x23
jmp case.0x18011a23c.0
mov al, 0x24
jmp case.0x18011a23c.0
mov al, 0x25
jmp case.0x18011a23c.0
mov al, 0x26
jmp case.0x18011a23c.0
mov al, 0x27
jmp case.0x18011a23c.0
mov al, 0x28
jmp case.0x18011a23c.0
mov r8, qword [r8]
lea rcx, [rsp + 0x40]
mov rdx, rdi
mov r9b, 1
call fcn.180119160
movzx eax, byte [rsp + 0x49]
cmp al, 3
jne 0x18011a387
mov rax, qword [rsp + 0x38]
mov qword [rax], 2
jmp 0x18011a3c8
cmp al, 2
jne 0x18011a3de
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
mov qword [rax], 1
mov qword [rax + 8], rsi
jmp 0x18011a3c8
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x18011a3c8
mov rax, qword [rsp + 0x38]
mov qword [rax], 1
mov qword [rax + 8], rbx
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2