Function at 0x14000c940
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140194080]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 8], rdx
mov qword [rbp], r8
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov rcx, qword [rdx + 0x10]
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14000c99b
mov rax, qword [rdx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
call fcn.1400cc820
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14000bdb0
nop
lea rcx, [rsp + 0x58]
call fcn.14000c840
movzx r14d, al
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000ca1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ca15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccde4
test r14b, r14b
jne 0x14000cce3
movsd xmm0, qword [0x140177df0]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [0x140177df8]
mov dword [rsp + 0x38], edx
movzx eax, word [0x140177dfc]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x140177dfe]
mov byte [rsp + 0x3e], al
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000cbb8
movdqa xmm5, xmmword [0x140181730]
movdqa xmm2, xmmword [0x140180db0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140180e40]
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x140180ea0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140180f20]
movd xmm0, dword [0x140177df0]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x140180de0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140180e40]
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140180f20]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movdqa xmm3, xmmword [0x140180e00]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140180e40]
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x140180f20]
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rsp + 0x38], xmm3
mov ecx, recv
mov eax, ecx
lea r8, [rsp + 0x30]
add r8, rax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x14000cbc2
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000cc10
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140002e80
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000cc62
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000cc5d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000ce99
mov rcx, r8
call fcn.1400ccde4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14000ccab
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000cca6
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x14000cea0
mov rcx, rax
call fcn.1400ccde4
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rax, rdi
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400ccd80
mov rbx, qword [rsp + 0x288]
add rsp, 0x240
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000cd01
mov rdx, qword [rbx]
lea rcx, [rbp + 0x20]
call fcn.140012e80
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], r14
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
mov qword [rbp - 0x10], r15
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 8]
call fcn.140018be0
nop
movzx ecx, byte [rbp + 8]
test cl, cl
jne 0x14000cd61
mov byte [rbp + 8], 1
call fcn.140019810
mov qword [rbp + 0x10], rax
movzx ecx, byte [rbp + 8]
jmp 0x14000cd65
mov rax, qword [rbp + 0x10]
cmp cl, 1
jne 0x14000cef5
mov r8, rsi
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14001cc60
mov rdx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x50], reloc.WLDAP32.dll_Ordinal_22
cmp byte [rdx + 0x40], 3
jne 0x14000cea7
mov rdx, qword [rdx + 0x48]
cmp rdi, rdx
je 0x14000cdc8
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14000cdbf
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.140020e60
nop
movzx edx, byte [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140014d10
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x20], r14
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x30]
call fcn.140012e10
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000ce4c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000ce47
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000ce99
mov rcx, r8
call fcn.1400ccde4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14000ccab
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000cca6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cea0
mov rcx, r8
jmp 0x14000cca6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rdx + 0x40]
call fcn.140015230
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002e40
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x30]
call fcn.1400065a0
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp - 0x80]
call fcn.14000b130
lea rdx, [0x14018ffd8]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 8]
call fcn.140015230
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002e40
nop
mov r8, rax
lea rdx, str.cannot_use_operator___with_a_string_argument_with
lea rcx, [rsp + 0x30]
call fcn.1400065a0
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp - 0x80]
call fcn.14000b130
lea rdx, [0x14018ffd8]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
int3