Function at 0x14000fcb0
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 - 0x20]
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rax, qword [0x14002d040]
xor rax, rsp
mov qword [rbp + 8], rax
mov qword [rsp + 0x50], r8
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
movups xmm0, xmmword [0x140024fe0]
movups xmmword [rbp - 0x70], xmm0
mov eax, dword [0x140024ff0]
mov dword [rbp - 0x60], eax
movzx eax, word [0x140024ff4]
mov word [rbp - 0x5c], ax
movzx eax, byte [0x140024ff6]
mov byte [rbp - 0x5a], al
mov r8d, esi
cmp dword [0x14002d090], 2
jl 0x14000fe57
movdqa xmm4, xmmword [0x140025bc0]
movdqa xmm3, xmmword [0x140025c10]
movdqa xmm5, xmmword [0x140025be0]
movdqa xmm0, xmmword [0x140025c00]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x6c]
movdqa xmm6, xmmword [0x140025bf0]
mov edx, dword [rsp + 0x40]
nop dword [rax]
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 0x14000fd70
cmp r8d, 0x17
jge 0x14000fea0
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop dword [rax]
nop word [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, 0x17
jl 0x14000fe70
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
lea rax, [rbp - 0x70]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x14000fec0
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x58]
call fcn.1400013b0
nop
mov rbx, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x14000fee5
mov r14, qword [r14]
mov r8, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
sub rax, r8
cmp rbx, rax
ja 0x14000ff6c
lea rax, [rbx + r8]
mov qword [rbp - 0x48], rax
lea rsi, [rbp - 0x58]
cmp rcx, 0xf
cmova rsi, qword [rbp - 0x58]
lea r12, [rbx + r14]
cmp r12, rsi
jbe 0x14000ff31
lea rax, [rsi + r8]
cmp r14, rax
ja 0x14000ff31
cmp rsi, r14
ja 0x14000ff29
xor r15d, r15d
jmp 0x14000ff34
mov r15, rsi
sub r15, r14
jmp 0x14000ff34
mov r15, rbx
inc r8
lea rcx, [rbx + rsi]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
sub rbx, r15
lea rdx, [r15 + r12]
lea rcx, [rsi + r15]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x58]
xor esi, esi
jmp 0x14000ff82
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.140019d70
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14000ffed
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ffe8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ffe8
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 - 0x48], xmm0
mov byte [rbp - 0x58], 0
lea rax, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rax, qword [rbp - 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 8]
mov qword [rsp + 0x48], rax
call fcn.1400209d0
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140004e40
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140016ee0
test eax, eax
jne 0x1400104f1
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400100a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001009b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001009b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
mov r12, qword [rsp + 0x38]
test r12, r12
je 0x1400100b5
lock inc dword [r12 + 8]
mov r12, qword [rsp + 0x38]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
test r12, r12
je 0x1400100d0
lock inc dword [r12 + 8]
mov r12, qword [rsp + 0x38]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
test r12, r12
je 0x14001011a
mov eax, edi
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x140010115
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140010115
mov r12, qword [rsp + 0x38]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 8]
jmp 0x14001011a
mov r12, qword [rsp + 0x38]
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140010401
add rcx, 0x20
lea rdx, [rbp - 0x38]
call fcn.140005340
nop
mov eax, dword [0x1400255c4]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x1400255c8]
mov byte [rsp + 0x60], 0x2e
xor byte [rsp + 0x61], 0x37
xor byte [rsp + 0x62], 0x38
xor byte [rsp + 0x63], 0x39
xor al, 0x3a
mov byte [rsp + 0x64], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
lea rax, [rsp + 0x60]
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140010180
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400013b0
nop
mov r15, qword [rbp - 0x78]
mov r14, qword [rsp + 0x70]
mov rax, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x80]
cmp rax, rbx
jb 0x14001021e
mov rcx, rax
sub rcx, rbx
cmp rax, rcx
jb 0x140010505
lea rdx, [rsp + 0x70]
cmp r15, 0xf
cmova rdx, r14
sub rax, rcx
mov rsi, rbx
cmp rax, rbx
cmovb rsi, rax
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rax, qword [rbp - 0x38]
add rcx, rax
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140010217
cmp rsi, rbx
jae 0x14001020d
mov eax, edi
test eax, eax
sete bl
xor esi, esi
jmp 0x140010220
xor eax, eax
cmp rsi, rbx
seta al
test eax, eax
sete bl
xor esi, esi
jmp 0x140010220
xor bl, bl
cmp r15, 0xf
jbe 0x140010257
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001024f
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400103f3
mov rcx, r14
call fcn.140021eb4
test bl, bl
je 0x14001026c
mov r8, qword [rsp + 0x50]
lea rdx, [rbp - 0x38]
mov rcx, r13
call fcn.14000f320
mov eax, dword [0x140025750]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x140025754]
mov byte [rsp + 0x68], 0x2e
xor byte [rsp + 0x69], 0x37
xor byte [rsp + 0x6a], 0x38
xor byte [rsp + 0x6b], 0x39
xor al, 0x3a
mov byte [rsp + 0x6c], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
lea rax, [rsp + 0x68]
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400102b0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.1400013b0
nop
mov r14, qword [rbp - 0x20]
mov r13, qword [rbp - 0x78]
mov r15, qword [rsp + 0x70]
mov rax, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x80]
cmp rax, rbx
jb 0x140010351
mov rcx, rax
sub rcx, rbx
cmp rax, rcx
jb 0x1400104e3
lea rdx, [rsp + 0x70]
cmp r13, 0xf
cmova rdx, r15
sub rax, rcx
mov rsi, rbx
cmp rax, rbx
cmovb rsi, rax
lea rax, [rbp - 0x38]
cmp r14, 0xf
cmova rax, qword [rbp - 0x38]
add rcx, rax
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001034a
cmp rsi, rbx
jae 0x140010340
mov eax, edi
test eax, eax
sete bl
xor esi, esi
jmp 0x140010353
xor eax, eax
cmp rsi, rbx
seta al
test eax, eax
sete bl
xor esi, esi
jmp 0x140010353
xor bl, bl
cmp r13, 0xf
jbe 0x14001038a
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x14001037e
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400103f3
mov rcx, r15
call fcn.140021eb4
mov r14, qword [rbp - 0x20]
mov r13, qword [rsp + 0x58]
test bl, bl
je 0x1400103a8
mov r8, qword [rsp + 0x50]
lea rdx, [rbp - 0x38]
mov rcx, r13
call fcn.14000f320
mov r14, qword [rbp - 0x20]
cmp r14, 0xf
jbe 0x1400103dc
lea rdx, [r14 + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400103d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400103fa
call fcn.140021eb4
lea rcx, [rsp + 0x40]
call fcn.1400064d0
test eax, eax
jne 0x1400104e9
jmp 0x140010120
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
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140010440
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001043b
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001043b
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov r12, qword [rsp + 0x38]
test r12, r12
je 0x140010476
mov eax, edi
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x140010476
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140010476
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x1400104b4
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400104af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400104af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140021970
mov rbx, qword [rsp + 0x178]
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140016ad0
nop
mov edx, eax
call fcn.140006140
nop
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140006230
nop
call fcn.140016ad0
int3