Function at 0x14000c920
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 0x14000c97b
mov rax, qword [rdx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
call fcn.1400cbb80
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.14000c820
movzx r14d, al
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000c9fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c9f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc144
test r14b, r14b
jne 0x14000cc59
movsd xmm0, qword [str.u_YS]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x140177be8]
mov dword [rsp + 0x38], eax
movzx eax, word [0x140177bec]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x140177bee]
mov byte [rsp + 0x3e], al
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000cb27
movdqa xmm4, xmmword [0x140181450]
movdqa xmm2, xmmword [0x140180b40]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140180b90]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140180c00]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140180c80]
movd xmm0, dword [str.u_YS]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x140180b70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140180b90]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140180c00]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140180c80]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x14000cb40
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000cb86
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140002e80
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000cbd8
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000cbd3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000ce0f
mov rcx, r8
call fcn.1400cc144
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 0x14000cc21
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000cc1c
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x14000ce16
mov rcx, rax
call fcn.1400cc144
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.1400cc0e0
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 0x14000cc77
mov rdx, qword [rbx]
lea rcx, [rbp + 0x20]
call fcn.140012740
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.1400184a0
nop
movzx ecx, byte [rbp + 8]
test cl, cl
jne 0x14000ccd7
mov byte [rbp + 8], 1
call fcn.1400190d0
mov qword [rbp + 0x10], rax
movzx ecx, byte [rbp + 8]
jmp 0x14000ccdb
mov rax, qword [rbp + 0x10]
cmp cl, 1
jne 0x14000ce6b
mov r8, rsi
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14001c520
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 0x14000ce1d
mov rdx, qword [rdx + 0x48]
cmp rdi, rdx
je 0x14000cd3e
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14000cd35
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.140020720
nop
movzx edx, byte [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400145d0
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.1400126d0
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 0x14000cdc2
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000cdbd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000ce0f
mov rcx, r8
call fcn.1400cc144
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 0x14000cc21
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000cc1c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000ce16
mov rcx, r8
jmp 0x14000cc1c
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.140014af0
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, [0x14018fce8]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 8]
call fcn.140014af0
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, [0x14018fce8]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
int3