Function at 0x14005ea70
Capabilities:
Check if file exists
Encode data using xor
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14020db00]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], r8
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14005eac7
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14005ebea
test al, 0x10
jne 0x14005ebea
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.140053ce0
nop
mov qword [rbp - 0x78], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x20]
call fcn.140051750
nop
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.140054280
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140056f80
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov ecx, 8
mov dword [rsp + 0x40], ecx
cmp byte [rax], 3
jne 0x14005edc8
mov rdx, qword [rax + 8]
cmp rbx, rdx
je 0x14005eb8f
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14005eb86
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.140062d70
nop
movzx edx, byte [rbp - 0x20]
lea rcx, [rbp - 0x18]
call fcn.140063730
nop
mov rax, qword [rbp - 0x10]
movsxd rdx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rdx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rdx, dword [rax + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx - 0x14], r8d
lea rcx, [rbp]
call fcn.1400557e0
lea rcx, [rbp + 8]
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 + 0xa0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14005ed8e
movsd xmm0, qword [str.vXV]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1400fe998]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1400fe99c]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x1400fe99e]
mov byte [rsp + 0x3e], al
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14005ed24
movdqa xmm4, xmmword [0x140101d20]
movdqa xmm2, xmmword [0x1400fc9c0]
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 [0x140101bc0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140101c40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [str.vXV]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140101ba0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140101bc0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140101c40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
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
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x14005ed30
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14005ed76
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004a730
nop
mov rcx, rdi
call fcn.140055870
nop
mov rcx, rsi
call fcn.140055870
mov rax, rbx
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400f0e40
mov rbx, qword [rsp + 0x258]
add rsp, 0x210
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, r14
call fcn.14008b690
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x50]
call fcn.14004e420
nop
mov r9, r14
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x50]
call fcn.14004efd0
lea rdx, [0x140120c78]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3