Function at 0x14000f320
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
movaps xmmword [rsp + 0x2c0], xmm6
mov rax, qword [0x14002d040]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
mov rdi, r8
mov r12, rcx
cmp qword [rdx + 0x18], 0xf
jbe 0x14000f368
mov rdx, qword [rdx]
mov r8d, 0x20
lea rcx, [rbp + 0x40]
call fcn.140016650
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
xor r13d, r13d
mov qword [rsp + 0x60], r13
mov word [rsp + 0x68], 1
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx + 0x88]
mov qword [rsp + 0x30], rcx
test rcx, rcx
sete byte [rsp + 0x38]
mov byte [rsp + 0x39], r13b
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x160], xmm1
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm6, xmmword [rsp + 0x60]
test rcx, rcx
je 0x14000f42b
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x14000f417
mov byte [rsp + 0x39], al
mov rax, qword [rsp + 0x30]
mov byte [rsp + 0x38], 1
movaps xmm0, xmmword [rsp + 0x30]
jmp 0x14000f430
mov rax, r13
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 1
movaps xmm0, xmmword [rsp + 0x30]
jmp 0x14000f430
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x14000f934
test rax, rax
je 0x14000f93d
movdqa xmmword [rsp + 0x30], xmm6
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x150]
call fcn.140018c70
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
movups xmm0, xmmword [0x1400253a8]
movups xmmword [rbp + 0x170], xmm0
movups xmm1, xmmword [0x1400253b8]
movups xmmword [rbp + 0x180], xmm1
mov eax, dword [0x1400253c8]
mov dword [rbp + 0x190], eax
movzx eax, word [0x1400253cc]
mov word [rbp + 0x194], ax
mov r8d, r13d
movdqa xmm6, xmmword [0x140025bf0]
mov ebx, dword [0x14002d090]
cmp ebx, 2
jl 0x14000f5e7
movdqa xmm4, xmmword [0x140025bc0]
movdqa xmm3, xmmword [0x140025c10]
movdqa xmm5, xmmword [0x140025be0]
movdqa xmm0, xmmword [0x140025c00]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp + 0x174]
mov edx, dword [rsp + 0x30]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x14000f500
cmp r8d, 0x26
jge 0x14000f630
movsxd rax, r8d
lea r9, [rbp + 0x170]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x26
jl 0x14000f600
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x18]
call fcn.140014750
nop
movups xmm0, xmmword [str.RfO_rM]
movups xmmword [rbp + 0x198], xmm0
movzx eax, word [0x140025300]
mov word [rbp + 0x1a8], ax
cmp byte [0x140025301], 0
je 0x14000f7e0
mov r8d, r13d
cmp ebx, 2
jl 0x14000f797
movdqa xmm4, xmmword [0x140025bc0]
movdqa xmm3, xmmword [0x140025c10]
movdqa xmm5, xmmword [0x140025be0]
movdqa xmm0, xmmword [0x140025c00]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp + 0x19c]
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14000f6b0
cmp r8d, 0x12
jge 0x14000f7e0
movsxd rax, r8d
lea r9, [rbp + 0x198]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x14000f7b0
lea rdx, [rbp + 0x198]
lea rcx, [rbp - 0x10]
call fcn.140014750
nop
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x60], r13
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
mov rcx, qword [rbp + 0x38]
mov qword [rbp - 0x40], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp - 0x48]
call fcn.140017df0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x48]
call fcn.140016af0
mov qword [rbp - 0x50], rax
mov rbx, qword [rbp + 0x18]
test rbx, rbx
je 0x14000f83d
lock inc dword [rbx + 0x2c]
lea rcx, [rbp - 0x60]
call fcn.140016420
mov qword [rbp - 0x60], rbx
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x170]
call fcn.140015ed0
nop
lea r9, [rbp - 0x60]
mov r8, rax
lea rdx, [rsp + 0x70]
call fcn.14000ef00
nop
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x38], r13
lea rax, [rbp - 0x30]
mov qword [rsp + 0x60], rax
mov rcx, qword [rbp + 0x10]
mov qword [rbp - 0x18], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp - 0x20]
call fcn.140017df0
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x20]
call fcn.140016af0
mov qword [rbp - 0x28], rax
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x14000f8bc
lock inc dword [rbx + 0x2c]
lea rcx, [rbp - 0x38]
call fcn.140016420
mov qword [rbp - 0x38], rbx
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x198]
call fcn.140015ed0
nop
lea r9, [rbp - 0x38]
mov r8, rax
lea rdx, [rbp - 0x78]
call fcn.14000ef00
nop
mov esi, r13d
mov rax, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
sub rax, r8
sar rax, 5
mov rbx, qword [rsp + 0x48]
test rax, rax
je 0x14000f989
mov rax, r13
nop
shl rax, 5
add rax, r8
cmp rbx, qword [rsp + 0x50]
je 0x14000f959
mov rdx, rax
mov rcx, rbx
call fcn.140015ed0
add rbx, 0x20
mov qword [rsp + 0x48], rbx
jmp 0x14000f96e
test rax, rax
je 0x14000f447
movdqa xmm0, xmmword [0x140025ba0]
movdqu xmmword [rbp + 0x160], xmm0
mov byte [rbp + 0x150], r13b
jmp 0x14000f46a
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140019ab0
mov rbx, qword [rsp + 0x48]
inc esi
movsxd rax, esi
mov rcx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
sub rcx, r8
sar rcx, 5
cmp rax, rcx
jb 0x14000f910
mov esi, r13d
mov rdx, qword [rbp - 0x70]
mov rax, rdx
mov r9, qword [rbp - 0x78]
sub rax, r9
sar rax, 5
test rax, rax
je 0x14000fa0a
mov rcx, r13
nop word [rax + rax]
shl rcx, 5
add rcx, r9
cmp rbx, qword [rsp + 0x50]
je 0x14000f9d4
mov rdx, rcx
mov rcx, rbx
call fcn.140015ed0
add rbx, 0x20
mov qword [rsp + 0x48], rbx
jmp 0x14000f9e9
mov r8, rcx
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140019ab0
mov rbx, qword [rsp + 0x48]
inc esi
movsxd rcx, esi
mov rdx, qword [rbp - 0x70]
mov rax, rdx
mov r9, qword [rbp - 0x78]
sub rax, r9
sar rax, 5
cmp rcx, rax
jb 0x14000f9b0
mov r8, qword [rsp + 0x70]
mov esi, r13d
mov r15, rbx
mov r14, qword [rsp + 0x40]
sub r15, r14
sar r15, 5
test r15, r15
je 0x14000fa7a
mov rax, r13
nop dword [rax]
nop dword [rax + rax]
shl rax, 5
add rax, r14
mov rcx, qword [rdi + 8]
cmp rcx, qword [rdi + 0x10]
je 0x14000fa50
mov rdx, rax
call fcn.140015ed0
add qword [rdi + 8], 0x20
jmp 0x14000fa5e
mov r8, rax
mov rdx, rcx
mov rcx, rdi
call fcn.140019ab0
inc dword [r12 + 8]
inc esi
movsxd rax, esi
cmp rax, r15
jb 0x14000fa30
mov r8, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x70]
mov r9, qword [rbp - 0x78]
test r9, r9
je 0x14000fad4
mov rcx, r9
call fcn.140017bd0
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x78]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fabe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fabe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r13
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x14000fb30
mov rdx, qword [rsp + 0x78]
mov rcx, r8
call fcn.140017bd0
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x70]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fb1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fb1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
lea rcx, [rbp - 0x10]
call fcn.140016420
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14000fb5f
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000fb5f
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rbp + 0x18]
call fcn.140016420
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14000fb8e
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000fb8e
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
test r14, r14
je 0x14000fbdb
mov rdx, rbx
mov rcx, r14
call fcn.140017bd0
mov rdx, qword [rsp + 0x50]
sub rdx, r14
and rdx, 0xffffffffffffffe0
mov rax, r14
cmp rdx, 0x1000
jb 0x14000fbd2
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fbd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140021eb4
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0xf
jbe 0x14000fc1f
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fc1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fc1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
movdqa xmm0, xmmword [0x140025ba0]
movdqu xmmword [rbp + 0x160], xmm0
mov byte [rbp + 0x150], 0
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x50]
call fcn.140015490
lea rcx, [rbp + 0x58]
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 + 0xf0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.140021970
mov rbx, qword [rsp + 0x328]
movaps xmm6, xmmword [rsp + 0x2c0]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret