Function at 0x180114f00
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, 0x48
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x20], rcx
mov rdi, qword [rdx + 0x10]
mov r14, qword [rdx + 0x18]
cmp r14, 0xffffffffffffffff
je 0x18011523d
mov rax, qword [rsp + 0xb0]
cmp rax, 0x7fffffff
mov r15d, 0x7fffffff
cmovb r15, rax
mov rax, qword [r8]
mov qword [rsp + 0x38], rax
mov rsi, qword [rdx + 0x20]
lea rcx, [rsp + 0x28]
mov rdx, rdi
mov r8, qword [rsp + 0x38]
mov r9b, 1
call fcn.180114590
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x180115259
mov rbp, qword [rsp + 0x28]
cmp al, 2
je 0x180115270
movzx ebx, byte [rsp + 0x30]
mov rcx, r14
mov rdx, qword [rsp + 0x40]
mov r8d, r15d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
jne 0x180115282
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r13, rax
shl r13, 0x20
or r13, 2
mov ecx, eax
call fcn.1800ff180
cmp al, 0xd
jne 0x180115010
test rsi, rsi
je 0x180115010
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
lock inc qword [rax]
jle 0x1801152b7
add rcx, 0x10
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
movzx r9d, byte [rsi + 0x18]
call fcn.180073030
test rax, rax
cmovne r13, rax
mov r12d, r13d
and r12d, 3
lea rcx, [0x1801152bc]
movsxd rax, dword [rcx + r12*4]
add rax, rcx
jmp rax
mov r12d, r13d
and r12d, 3
lea rcx, [0x1801152bc]
movsxd rax, dword [rcx + r12*4]
add rax, rcx
jmp rax
movzx eax, byte [r13 + 0x10]
jmp case.0x18011511c.0
movzx eax, byte [r13 + 0xf]
jmp case.0x18011511c.0
add byte [rax], al
add byte [rax], al
mov rcx, r13
shr rcx, 0x20
call fcn.1800ff180
cmp al, 0xd
jne 0x180115296
and ebp, 0x23
mov rax, qword [rdi + 0xd0]
mov rcx, rbx
shl rcx, 0x10
xor rbp, 0x2f
nop dword [rax]
mov rdx, rax
shr rdx, 0x10
cmp bl, dl
jne 0x18011508d
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [rdi + 0xd0], rdx
jne 0x180115070
lea rax, [r12 - 2]
cmp rax, 2
jb 0x180114f50
test r12, r12
je 0x180114f50
lea rbp, [r13 - 1]
mov rcx, qword [r13 - 1]
mov rax, qword [r13 + 7]
call qword [rax]
mov rax, qword [r13 + 7]
cmp qword [rax + 8], 0
je 0x1801150dc
mov r8, qword [r13 - 1]
cmp qword [rax + 0x10], 0x11
jb 0x1801150cd
mov r8, qword [r8 - 8]
mov rcx, qword [0x180219958]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180219958]
xor edx, edx
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180114f50
mov rcx, r13
shr rcx, 0x20
cmp ecx, 0x28
ja case.default.0x18011511c
xor eax, eax
lea rdx, [0x1801152cc]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov al, 1
jmp case.0x18011511c.0
invalid
invalid
invalid
mov al, 0x29
jmp case.0x18011511c.0
invalid
invalid
invalid
mov al, 2
jmp case.0x18011511c.0
invalid
invalid
invalid
mov al, 3
jmp case.0x18011511c.0
invalid
invalid
invalid
mov al, 4
jmp case.0x18011511c.0
invalid
invalid
invalid
mov al, 5
jmp case.0x18011511c.0
invalid
invalid
invalid
mov al, 6
jmp case.0x18011511c.0
invalid
invalid
invalid
mov al, 7
jmp case.0x18011511c.0
mov al, 8
jmp case.0x18011511c.0
mov al, 9
jmp case.0x18011511c.0
mov al, 0xa
jmp case.0x18011511c.0
mov al, 0xb
jmp case.0x18011511c.0
mov al, 0xc
jmp case.0x18011511c.0
mov al, 0xd
jmp case.0x18011511c.0
mov al, 0xe
jmp case.0x18011511c.0
mov al, 0xf
jmp case.0x18011511c.0
mov al, 0x10
jmp case.0x18011511c.0
mov al, 0x11
jmp case.0x18011511c.0
mov al, 0x12
jmp case.0x18011511c.0
mov al, 0x13
jmp case.0x18011511c.0
mov al, 0x14
jmp case.0x18011511c.0
mov al, 0x15
jmp case.0x18011511c.0
mov al, 0x16
jmp case.0x18011511c.0
mov al, 0x17
jmp case.0x18011511c.0
mov al, 0x18
jmp case.0x18011511c.0
mov al, 0x19
jmp case.0x18011511c.0
mov al, 0x1a
jmp case.0x18011511c.0
mov al, 0x1b
jmp case.0x18011511c.0
mov al, 0x1c
jmp case.0x18011511c.0
mov al, 0x1d
jmp case.0x18011511c.0
mov al, 0x1e
jmp case.0x18011511c.0
mov al, 0x1f
jmp case.0x18011511c.0
mov al, 0x20
jmp case.0x18011511c.0
mov al, 0x21
jmp case.0x18011511c.0
mov al, 0x22
jmp case.0x18011511c.0
mov al, 0x23
jmp case.0x18011511c.0
mov al, 0x24
jmp case.0x18011511c.0
mov al, 0x25
jmp case.0x18011511c.0
mov al, 0x26
jmp case.0x18011511c.0
mov al, 0x27
jmp case.0x18011511c.0
mov al, 0x28
jmp case.0x18011511c.0
mov r8, qword [r8]
lea rcx, [rsp + 0x28]
mov rdx, rdi
mov r9b, 1
call fcn.180114590
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x180115267
mov rax, qword [rsp + 0x20]
mov qword [rax], 2
jmp 0x1801152a6
cmp al, 2
jne 0x1801152b7
mov rbp, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
mov qword [rax], 1
mov qword [rax + 8], rbp
jmp 0x1801152a6
cdqe
mov rcx, qword [rsp + 0x20]
mov qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x1801152a6
mov rax, qword [rsp + 0x20]
mov qword [rax], 1
mov qword [rax + 8], r13
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2