Function at 0x14005ecc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140122080]
xor rax, rsp
mov qword [rbp + 0x190], rax
cmp qword [rdx + 0x18], 0x10
mov rdi, r8
mov qword [rsp + 0x2f8], r15
mov rbx, rdx
mov r15, qword [rdx + 0x10]
mov rsi, rcx
mov r14, rdx
jb 0x14005ed09
mov r14, qword [rdx]
call fcn.1400e90bc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov edx, eax
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x40]
call fcn.14005cf10
lea rcx, [rsp + 0x40]
call fcn.14005d900
mov rdx, qword [rsp + 0x58]
test al, al
mov r15, qword [rsp + 0x2f8]
sete r14b
cmp rdx, 8
jb 0x14005ed86
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ed81
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ed81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e97ec
test r14b, r14b
je 0x14005efe3
mov eax, dword [0x14010ac48]
xor r14d, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, r14d
movsd xmm0, qword [str.rZR]
mov dword [rsp + 0x38], eax
movzx eax, word [0x14010ac4c]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x14010ac4e]
mov byte [rsp + 0x3e], al
movsd qword [rsp + 0x30], xmm0
jl 0x14005eeee
movdqa xmm2, xmmword [0x14010db10]
mov eax, 1
movdqa xmm4, xmmword [0x14010dc50]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x14010db30]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x2a0], xmm6
movd xmm6, eax
mov eax, Ordinal_32
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14010db80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.rZR]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14010dc40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14010dc60]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x30], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x2a0]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14010db80]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x34]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14010dc40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14010dc60]
pxor xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov eax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0xf
jl 0x14005ef00
mov qword [rsi], r14
lea rax, [rsp + 0x30]
mov qword [rsi + 0x10], r14
mov r8, 0xffffffffffffffff
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
inc r8
cmp byte [rax + r8], r14b
jne 0x14005ef47
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140006a80
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14005ef93
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14005ef8e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005efdc
mov rcx, r8
call fcn.1400e97ec
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r14b
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14005f165
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14005f160
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14005f15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, 0x110
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.140063a80
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.140065420
lea rax, [rbp + 0x80]
xor r14d, r14d
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
mov rax, qword [rbp + 0x80]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x78], r14
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0xc8]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x38], rax
call fcn.14006a280
lea r8, [rbp + 0x70]
mov rcx, rax
call fcn.1400671a0
lea rcx, [rbp - 0x38]
call fcn.1400670a0
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14005f07e
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400069a0
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.140063e00
mov qword [rsi], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
cmp byte [rax], 3
je 0x14005f0b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rdx, qword [rax + 8]
cmp rsi, rdx
je 0x14005f0d1
cmp qword [rdx + 0x18], 0x10
mov r8, qword [rdx + 0x10]
jb 0x14005f0c9
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.140006a80
movzx edx, byte [rbp + 0x70]
lea rcx, [rbp + 0x78]
call fcn.140064f20
lea rcx, [rbp + 0x80]
call fcn.14005f1a0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14005f120
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14005f11b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005f194
mov rcx, r8
call fcn.1400e97ec
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r14b
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14005f165
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14005f160
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005f194
mov rcx, r8
call fcn.1400e97ec
mov rax, rsi
mov byte [rdi], r14b
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400e9540
add rsp, 0x2b0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3