Function at 0x14001a3b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x140538240]
xor rax, rsp
mov qword [rbp + 0x280], rax
movups xmm0, xmmword [0x1403a5bf8]
movups xmmword [rsp + 0x20], xmm0
mov eax, dword [0x1403a5c08]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1403a5c0c]
mov byte [rsp + 0x34], al
xor r15d, r15d
mov r8d, r15d
cmp dword [0x140538250], 2
jl 0x14001a577
movdqa xmm5, xmmword [0x1403a6090]
movdqa xmm4, xmmword [0x1403a6140]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x1403a60b0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1403a6110]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x24]
mov edx, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1403a60f0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1403a60f0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14001a470
cmp r8d, 0x15
jge 0x14001a5c0
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x15
jl 0x14001a590
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r15
lea rax, [rsp + 0x20]
mov r14, 0xffffffffffffffff
mov r8, r14
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x14001a5e0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x10]
call fcn.140015ad0
mov rdi, qword [rbp + 0x20]
lea rbx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rbx, qword [rbp + 0x10]
call fcn.14001c170
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.140019170
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
lea rdx, [rbp - 0x30]
lea rcx, [rbp]
call fcn.14001adf0
test eax, eax
jne 0x14001ab0d
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14001a685
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a680
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a680
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015b03c
mov r12, qword [rbp + 8]
test r12, r12
je 0x14001a698
lock inc dword [r12 + 8]
mov r12, qword [rbp + 8]
mov r13, qword [rbp]
test r12, r12
je 0x14001a6e0
lock inc dword [r12 + 8]
mov eax, r14d
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x14001a6e0
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax]
mov eax, r14d
lock xadd dword [r12 + 0xc], eax
cmp eax, 1
jne 0x14001a6e0
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + 8]
nop dword [rax + rax]
test r13, r13
je 0x14001aa18
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.140019ec0
mov rax, qword [rsp + 0x58]
mov edx, dword [rsp + 0x60]
test edx, edx
je 0x14001a712
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14001ab20
cmp eax, 1
jbe 0x14001a8d0
lea rdx, [rsp + 0x68]
mov rcx, r13
call fcn.140019ec0
mov rax, qword [rsp + 0x68]
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x14001a744
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14001ab31
cmp eax, 3
je 0x14001a8d0
mov rbx, qword [0x1405527d8]
mov rax, qword [0x1405527e0]
mov qword [rsp + 0x50], rax
cmp rbx, rax
je 0x14001a8d0
nop dword [rax]
lea rax, [r13 + 0x20]
cmp qword [r13 + 0x38], 8
jb 0x14001a77f
mov rax, qword [r13 + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [r13 + 0x30]
mov qword [rsp + 0x48], rax
call fcn.14001c170
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp - 0x68]
call fcn.14001ab50
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov rax, qword [rbp - 0x58]
mov rcx, qword [rbp + 0x20]
cmp rax, rcx
jb 0x14001ab42
sub rax, rcx
mov r8, r14
cmp rax, 0xffffffffffffffff
cmovb r8, rax
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
add rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.140015ad0
lea rdx, [rsp + 0x78]
mov rdi, qword [rsp + 0x78]
mov r14, qword [rbp - 0x70]
cmp r14, 0x10
cmovae rdx, rdi
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14001a81c
mov rcx, qword [rbx]
cmp r8, qword [rbp - 0x78]
jne 0x14001a830
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001a830
mov r15b, 1
jmp 0x14001a833
xor r15b, r15b
cmp r14, 0x10
jb 0x14001a86a
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001a862
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a95f
mov rcx, rdi
call fcn.14015b03c
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14001a8a5
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a8a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a95f
call fcn.14015b03c
test r15b, r15b
jne 0x14001a966
add rbx, 0x20
cmp rbx, qword [rsp + 0x50]
mov r14, 0xffffffffffffffff
lea r15d, [r14 + 1]
jne 0x14001a770
nop dword [rax + rax]
lea rdx, [rbp + 0x30]
mov rcx, qword [r13 + 0x40]
call fcn.14001c3d0
cmp eax, 0x12
je 0x14001a918
test eax, eax
jne 0x14001ab05
cmp word [rbp + 0x5c], 0x2e
jne 0x14001a907
movzx eax, word [rbp + 0x5e]
test ax, ax
je 0x14001a8d0
cmp ax, 0x2e
jne 0x14001a907
cmp word [rbp + 0x60], 0
je 0x14001a8d0
lea rdx, [rbp + 0x30]
mov rcx, r13
call fcn.14001a1d0
jmp 0x14001a6e0
mov r13, r15
mov rbx, r12
mov r12, r15
test rbx, rbx
je 0x14001a6e0
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001a6e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001a6e0
mov rax, qword [rbx]
mov rcx, rbx
jmp 0x14001a6d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdi, 0xffffffffffffffff
test r12, r12
je 0x14001a9a1
mov eax, edi
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x14001a9a1
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov eax, edi
lock xadd dword [r12 + 0xc], eax
cmp eax, 1
jne 0x14001a9a1
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 8]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14001a9d6
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001a9d6
mov rbx, qword [rbp + 8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14001a9d6
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14001aa11
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aa0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aab8
call fcn.14015b03c
mov al, 1
jmp 0x14001aac6
test r12, r12
je 0x14001aa4e
mov eax, r14d
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x14001aa4e
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov eax, r14d
lock xadd dword [r12 + 0xc], eax
cmp eax, 1
jne 0x14001aa4e
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 8]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14001aa86
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001aa86
mov rbx, qword [rbp + 8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x14001aa86
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14001aac4
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aabf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001aabf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015b03c
xor al, al
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14015af10
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, eax
call fcn.140019d60
int3
lea r8, [rbp - 0x30]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140019e50
int3
lea r8, [r13 + 0x20]
lea rcx, str.directory_entry::status
call fcn.140019e50
int3
lea r8, [r13 + 0x20]
lea rcx, str.directory_entry::status
call fcn.140019e50
int3
call fcn.140015260
int3