Function at 0x180114a60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r8
mov rbx, qword [rcx + 0x10]
mov r14, qword [rcx + 0x18]
cmp r14, 0xffffffffffffffff
je 0x180114dbd
mov rax, qword [rdx]
mov qword [rsp + 0x30], rax
mov rbp, qword [rcx + 0x20]
nop word cs:[rax + rax]
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8, qword [rsp + 0x30]
xor r9d, r9d
call fcn.180114590
movzx eax, byte [rsp + 0x29]
cmp al, 3
je 0x180114dd9
mov r13, qword [rsp + 0x20]
cmp al, 2
je 0x180114e29
mov r8, qword [rsi + 8]
mov r15, qword [rsi + 0x10]
sub r8, r15
jb 0x180114e47
movzx edi, byte [rsp + 0x28]
mov rdx, qword [rsi]
add rdx, r15
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
mov rcx, r14
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x180114deb
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x180114e15
mov r12, rax
shl r12, 0x20
or r12, 2
mov ecx, eax
call fcn.1800ff180
cmp al, 0xd
jne 0x180114b90
test rbp, rbp
je 0x180114b90
mov rcx, qword [rbp]
mov rax, qword [rbp + 8]
lock inc qword [rax]
jle 0x180114e47
add rcx, 0x10
mov rdx, qword [rbp + 8]
mov r8, qword [rbp + 0x10]
movzx r9d, byte [rbp + 0x18]
call fcn.180073030
test rax, rax
cmovne r12, rax
mov r15d, r12d
and r15d, 3
lea rcx, [0x180114e4c]
movsxd rax, dword [rcx + r15*4]
add rax, rcx
jmp rax
mov r15d, r12d
and r15d, 3
lea rcx, [0x180114e4c]
movsxd rax, dword [rcx + r15*4]
add rax, rcx
jmp rax
movzx eax, byte [r12 + 0x10]
jmp case.0x180114c9c.0
movzx eax, byte [r12 + 0xf]
jmp case.0x180114c9c.0
add byte [rax], al
add byte [rax], al
mov rcx, r12
shr rcx, 0x20
call fcn.1800ff180
cmp al, 0xd
jne 0x180114e26
and r13d, 0x23
mov rax, qword [rbx + 0xd0]
mov rcx, rdi
shl rcx, 0x10
xor r13, 0x2f
nop word [rax + rax]
mov rdx, rax
shr rdx, 0x10
cmp dil, dl
jne 0x180114c0f
mov edx, eax
and edx, r13d
or rdx, rcx
lock cmpxchg qword [rbx + 0xd0], rdx
jne 0x180114bf0
lea rax, [r15 - 2]
cmp rax, 2
jb 0x180114aa0
test r15, r15
je 0x180114aa0
lea r13, [r12 - 1]
mov rcx, qword [r12 - 1]
mov rax, qword [r12 + 7]
call qword [rax]
mov rax, qword [r12 + 7]
cmp qword [rax + 8], 0
je 0x180114c62
mov r8, qword [r12 - 1]
cmp qword [rax + 0x10], 0x11
jb 0x180114c53
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, r13
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180114aa0
mov rcx, r12
shr rcx, 0x20
cmp ecx, 0x28
ja case.default.0x180114c9c
xor eax, eax
lea rdx, [0x180114e5c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov al, 1
jmp case.0x180114c9c.0
invalid
invalid
invalid
mov al, 0x29
jmp case.0x180114c9c.0
invalid
invalid
invalid
mov al, 2
jmp case.0x180114c9c.0
invalid
invalid
invalid
mov al, 3
jmp case.0x180114c9c.0
invalid
invalid
invalid
mov al, 4
jmp case.0x180114c9c.0
invalid
invalid
invalid
mov al, 5
jmp case.0x180114c9c.0
invalid
invalid
invalid
mov al, 6
jmp case.0x180114c9c.0
invalid
invalid
invalid
mov al, 7
jmp case.0x180114c9c.0
mov al, 8
jmp case.0x180114c9c.0
mov al, 9
jmp case.0x180114c9c.0
mov al, 0xa
jmp case.0x180114c9c.0
mov al, 0xb
jmp case.0x180114c9c.0
mov al, 0xc
jmp case.0x180114c9c.0
mov al, 0xd
jmp case.0x180114c9c.0
mov al, 0xe
jmp case.0x180114c9c.0
mov al, 0xf
jmp case.0x180114c9c.0
mov al, 0x10
jmp case.0x180114c9c.0
mov al, 0x11
jmp case.0x180114c9c.0
mov al, 0x12
jmp case.0x180114c9c.0
mov al, 0x13
jmp case.0x180114c9c.0
mov al, 0x14
jmp case.0x180114c9c.0
mov al, 0x15
jmp case.0x180114c9c.0
mov al, 0x16
jmp case.0x180114c9c.0
mov al, 0x17
jmp case.0x180114c9c.0
mov al, 0x18
jmp case.0x180114c9c.0
mov al, 0x19
jmp case.0x180114c9c.0
mov al, 0x1a
jmp case.0x180114c9c.0
mov al, 0x1b
jmp case.0x180114c9c.0
mov al, 0x1c
jmp case.0x180114c9c.0
mov al, 0x1d
jmp case.0x180114c9c.0
mov al, 0x1e
jmp case.0x180114c9c.0
mov al, 0x1f
jmp case.0x180114c9c.0
mov al, 0x20
jmp case.0x180114c9c.0
mov al, 0x21
jmp case.0x180114c9c.0
mov al, 0x22
jmp case.0x180114c9c.0
mov al, 0x23
jmp case.0x180114c9c.0
mov al, 0x24
jmp case.0x180114c9c.0
mov al, 0x25
jmp case.0x180114c9c.0
mov al, 0x26
jmp case.0x180114c9c.0
mov al, 0x27
jmp case.0x180114c9c.0
mov al, 0x28
jmp case.0x180114c9c.0
mov r8, qword [rdx]
lea rcx, [rsp + 0x20]
mov rdx, rbx
xor r9d, r9d
call fcn.180114590
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x180114de0
mov eax, 1
jmp 0x180114e2b
cmp al, 2
jne 0x180114e3f
mov r13, qword [rsp + 0x20]
jmp 0x180114e29
movsxd rdx, eax
lea rax, [rdx + r15]
mov rcx, qword [rsi + 0x18]
cmp rax, rcx
jbe 0x180114e02
mov qword [rsi + 0x18], rax
mov rcx, rax
add rdx, r15
jb 0x180114e47
cmp rax, rcx
ja 0x180114e47
mov qword [rsi + 0x10], rax
xor r13d, r13d
jmp 0x180114e29
xor edx, edx
lea rax, [rdx + r15]
mov rcx, qword [rsi + 0x18]
cmp rax, rcx
ja 0x180114dfb
jmp 0x180114e02
mov r13, r12
xor eax, eax
mov rdx, r13
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
ud2