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

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1402698e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
or r15, 0xffffffffffffffff
mov edi, r8d
mov r14, rdx
mov dword [rsp + 0x40], r15d
mov rax, r15
mov rbx, rcx
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x14000cdf0
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x14000ced1
movzx r9d, word [rdx]
test r9w, r9w
je 0x14000ced1
lea rdi, [0x14027d0f0]
mov rax, rcx
mov r8, rdi
sub r8, rcx
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14000ce43
inc rax
test ecx, ecx
jne 0x14000ce30
test edx, edx
jne 0x14000ce58
cmp r9w, word [0x14027d0e4]
jne 0x14000ce58
xor eax, eax
jmp 0x14000d035
lea rcx, [rsp + 0x40]
movzx r8d, r9w
mov rdx, rbx
call fcn.14000c600
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000ce7b
mov eax, dword [rsp + 0x40]
jmp 0x14000d035
mov rcx, rax
mov qword [rsp + 0xa0], rbp
call fcn.14000a220
mov ebp, dword [rsp + 0x40]
test eax, eax
cmove ebp, r15d
sub rdi, rbx
nop dword [rax + rax]
movzx ecx, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rdi + rbx - 1], cl
test cl, cl
jne 0x14000cea0
movzx ecx, word [r14]
mov word [0x14027d0e4], cx
mov rcx, rsi
call fcn.14000cc30
mov eax, ebp
mov rbp, qword [rsp + 0xa0]
jmp 0x14000d035
mov byte [rcx], 0
lea rcx, [rsp + 0x40]
call fcn.14000ca90
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000ce72
movzx ecx, word [r14]
movabs rax, 0x6d75696c6c697254
mov qword [rsp + 0x50], rax
test cx, cx
je 0x14000cf04
inc cx
jmp 0x14000cf2c
lea rcx, str.TrilliumDirector
xor edx, edx
call qword [sym.imp.WS2_32.dll_getservbyname]
test rax, rax
jne 0x14000cf1f
mov ecx, 0x115d
jmp 0x14000cf2c
movzx ecx, word [rax + 0x18]
call qword [sym.imp.WS2_32.dll_ntohs]
lea ecx, [rax + 1]
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x40]
or r9d, 0xffffffff
mov rdx, rsi
mov word [rsp + 0x20], ax
call fcn.14000a6a0
cmp eax, 0xffffffff
je 0x14000cfee
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x40]
mov rdx, rsi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call fcn.14000a3b0
cmp eax, 0xffffffff
je 0x14000cfee
mov rax, qword [rsp + 0x50]
cmp rax, qword [str.Director]
jne 0x14000cfee
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rbx
sub rdx, rax
nop
movzx ecx, byte [rax]
lea rax, [rax + 1]
mov byte [rdx + rax - 1], cl
test cl, cl
jne 0x14000cfa0
movzx ecx, word [rsp + 0x44]
call qword [sym.imp.WS2_32.dll_ntohs]
lea rdi, [0x14027d0f0]
dec ax
sub rdi, rbx
mov word [r14], ax
nop dword [rax + rax]
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rdi + rbx - 1], al
test al, al
jne 0x14000cfd0
movzx eax, word [r14]
xor ebx, ebx
mov word [0x14027d0e4], ax
jmp 0x14000cff2
mov ebx, dword [rsp + 0x40]
test rsi, rsi
je 0x14000d033
mov edx, 1
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_shutdown]
nop word [rax + rax]
xor r9d, r9d
lea rdx, [rsp + 0x44]
mov rcx, rsi
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 1
je 0x14000d010
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebx
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14019aa20
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rbx
ret