Function at 0x14000e1b0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x2970]
mov eax, 0x2a70
call fcn.14002b060
sub rsp, rax
mov rax, qword [0x140041008]
xor rax, rsp
mov qword [rbp + 0x2960], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rbp + 0x160]
mov r8d, 0x2800
call fcn.140012ac0
mov dword [rsp + 0x40], 0x2000205
lea rsi, [rsp + 0x40]
mov edi, 4
nop
cmp byte [rbx + 0x50], 0
je 0x14000e23a
movsxd rcx, dword [rbx + 0x4c]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x14000e23a
sub edi, eax
cdqe
add rsi, rax
test edi, edi
jne 0x14000e210
jmp 0x14000e242
test edi, edi
jne 0x14000e44a
movzx edi, byte [rbx + 0x50]
test dil, dil
je 0x14000e44a
movsxd rcx, dword [rbx + 0x4c]
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x14000e44a
test dil, dil
je 0x14000e44a
cmp byte [rsp + 0x20], 5
jne 0x14000e44a
cmp byte [rsp + 0x21], 2
jne 0x14000e394
cmp qword [0x140043558], 0x10
lea r8, [0x140043540]
movzx eax, byte [0x140043550]
lea rcx, [rbp + 0x162]
cmovae r8, qword [0x140043540]
mov edx, 0xff
mov byte [rbp + 0x160], 1
mov byte [rbp + 0x161], al
call fcn.14001c23c
movzx eax, byte [0x140043570]
lea r8, [0x140043560]
mov edi, dword [0x140043550]
mov edx, 0xff
add edi, 2
movsxd rcx, edi
inc edi
cmp qword [0x140043578], 0x10
cmovae r8, qword [0x140043560]
mov byte [rbp + rcx + 0x160], al
lea rcx, [rbp + 0x160]
movsxd rax, edi
add rcx, rax
call fcn.14001c23c
mov eax, dword [0x140043570]
lea rsi, [rbp + 0x160]
add edi, eax
je 0x14000e355
cmp byte [rbx + 0x50], 0
je 0x14000e34d
movsxd rcx, dword [rbx + 0x4c]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x14000e34d
sub edi, eax
cdqe
add rsi, rax
test edi, edi
jne 0x14000e323
jmp 0x14000e355
test edi, edi
jne 0x14000e44a
movzx edi, byte [rbx + 0x50]
test dil, dil
je 0x14000e44a
movsxd rcx, dword [rbx + 0x4c]
lea rdx, [rsp + 0x24]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x14000e44a
test dil, dil
je 0x14000e44a
cmp byte [rsp + 0x25], 0
jne 0x14000e44a
cmp qword [rbx + 0x18], 0x10
mov dword [rsp + 0x28], 0x1000105
jb 0x14000e3a8
mov rcx, qword [rbx]
jmp 0x14000e3ab
mov rcx, rbx
call fcn.14000f150
movzx ecx, word [rbx + 0x20]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.WS2_32.dll_ntohs]
cmp dword [rsp + 0x2c], 0xffffffff
mov word [rsp + 0x30], ax
je 0x14000e44a
mov edi, 0xa
lea rsi, [rsp + 0x28]
cmp byte [rbx + 0x50], 0
je 0x14000e402
movsxd rcx, dword [rbx + 0x4c]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x14000e402
sub edi, eax
cdqe
add rsi, rax
test edi, edi
jne 0x14000e3d8
jmp 0x14000e406
test edi, edi
jne 0x14000e44a
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0x104
call fcn.140012ac0
movzx edi, byte [rbx + 0x50]
test dil, dil
je 0x14000e44a
movsxd rcx, dword [rbx + 0x4c]
lea rdx, [rbp + 0x50]
xor r9d, r9d
mov r8d, 0x104
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x14000e44a
test dil, dil
je 0x14000e44a
xor eax, eax
cmp byte [rbp + 0x51], al
sete al
jmp 0x14000e44c
xor al, al
mov rcx, qword [rbp + 0x2960]
xor rcx, rsp
call fcn.14000f1c0
lea r11, [rsp + 0x2a70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret