Function at 0x140039b64
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
mov qword [rbp + 0x168], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14006d798]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r14, rdx
mov qword [rbp + 0x1d0], rdx
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x140039bb8
mov rcx, qword [rdx]
mov qword [rbp + 0x1f0], rcx
or r12, 0xffffffffffffffff
mov rax, r12
xor r15d, r15d
inc rax
cmp byte [rcx + rax], r15b
jne 0x140039bc9
mov qword [rbp + 0x1f8], rax
movaps xmm0, xmmword [rbp + 0x1f0]
movdqa xmmword [rbp + 0x150], xmm0
call fcn.14004c6ac
lea r8, [rbp + 0x150]
mov edx, eax
lea rcx, [rbp + 0xf0]
call fcn.140027d70
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1e0], xmm0
xor r8d, r8d
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x1e0]
call fcn.14003735c
test eax, eax
jne 0x14003a392
lea rcx, [rbp + 0xf0]
call fcn.1400287e8
xor eax, eax
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x1f8], rax
mov rdi, qword [rbp + 0x1e8]
test rdi, rdi
je 0x140039c5f
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x1e8]
movaps xmm0, xmmword [rbp + 0x1e0]
movdqa xmmword [rbp + 0x1f0], xmm0
test rdi, rdi
je 0x140039c7e
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x1e8]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x58], xmm0
test rdi, rdi
je 0x140039ccd
mov eax, r12d
lock xadd dword [rdi + 8], eax
add eax, r12d
jne 0x140039cc6
mov rbx, qword [rbp + 0x1e8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x140039cc6
mov rdi, qword [rbp + 0x1e8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x140039ccd
mov rdi, qword [rbp + 0x1e8]
mov rsi, qword [rbp + 0x1f0]
test rsi, rsi
je 0x14003a296
mov cl, 0x2c
mov dword [rsp + 0x20], 0x495f592c
mov dword [rsp + 0x24], 0x434f025e
mov dword [rsp + 0x28], 0x4b454a42
xor eax, eax
mov byte [rsp + 0x2c], al
mov rax, r15
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 0xb
jae 0x140039d13
mov cl, byte [rsp + 0x20]
jmp 0x140039d00
mov byte [rsp + 0x2c], r15b
lea rax, [rsp + 0x21]
mov qword [rbp + 0x70], rax
lea rcx, [rsp + 0x21]
mov rax, r12
inc rax
cmp byte [rcx + rax], r15b
jne 0x140039d29
mov qword [rbp + 0x78], rax
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x140], xmm0
call fcn.14004c6ac
lea r8, [rbp + 0x140]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.140027d70
nop
add rsi, 0x20
mov rcx, qword [rsi + 0x10]
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x140039d6f
mov rax, qword [rsi]
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rcx
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x130], xmm0
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x1b0]
call fcn.14003782c
mov r8, qword [rax + 8]
mov rdx, qword [rax]
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r15w
lea rcx, [rbp - 8]
call fcn.1400289e8
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x120], xmm0
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 8]
call fcn.140028a54
mov ebx, eax
lea rcx, [rbp - 8]
call fcn.1400287e8
nop
lea rcx, [rbp - 0x28]
call fcn.1400287e8
test ebx, ebx
jne 0x14003a253
mov rcx, qword [rsi + 0x10]
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x140039e2d
mov rax, qword [rsi]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rcx
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x180], xmm0
call fcn.14004c6ac
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x180]
mov edx, eax
lea rcx, [rbp - 0x48]
call fcn.140026a10
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov qword [rbp + 0x210], r15
mov ebx, 0xf
mov qword [rbp + 0x218], rbx
mov byte [rbp + 0x200], r15b
lea rcx, [rbp + 0x200]
call fcn.140002b2c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140039ed7
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039ed2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a26c
call fcn.14004cdd8
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], rbx
mov byte [rbp - 0x48], r15b
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x140039ef1
mov rsi, qword [rsi]
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xb8], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0x170], xmm0
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x1c0]
call fcn.14003782c
mov r8, qword [rax + 8]
mov rdx, qword [rax]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
lea rcx, [rsp + 0x58]
call fcn.1400289e8
nop
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rax, qword [rsp + 0x58]
mov qword [rbp + 0xc0], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0xc8], rax
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0x110], xmm0
call fcn.14004c6ac
lea r9, [rsp + 0x31]
lea r8, [rbp + 0x110]
mov edx, eax
lea rcx, [rbp - 0x68]
call fcn.140026a10
nop
lea rbx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rbx, qword [rbp - 0x68]
movdqa xmm0, xmmword [str._ADAAM__axZGGsROJOROCU_tCqGJJ]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x66787e46
mov word [rsp + 0x54], 7
mov rcx, r15
mov al, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x41], al
inc rcx
cmp rcx, 0x14
jb 0x140039fc5
mov byte [rsp + 0x55], r15b
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], r15b
lea rdx, [rsp + 0x41]
lea rcx, [rsp + 0x78]
call fcn.140002b2c
nop
mov r8, r12
inc r8
cmp byte [rbx + r8], r15b
jne 0x140039fff
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140002a38
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x240], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x250], xmm1
mov qword [rax + 0x10], r15
mov ebx, 0xf
mov qword [rax + 0x18], rbx
mov byte [rax], r15b
mov rdx, qword [rbp - 0x70]
mov esi, 0x1000
cmp rdx, 0x10
jb 0x14003a077
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rsi
jb 0x14003a072
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a273
call fcn.14004cdd8
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], rbx
mov byte [rsp + 0x78], r15b
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14003a0bb
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, rsi
jb 0x14003a0b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a27a
call fcn.14004cdd8
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], rbx
mov byte [rbp - 0x68], r15b
lea rcx, [rsp + 0x58]
call fcn.1400287e8
lea rdx, [rbp + 0x200]
cmp qword [rbp + 0x218], 0x10
cmovae rdx, qword [rbp + 0x200]
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], rbx
mov byte [rbp + 0x38], r15b
lea rcx, [rbp + 0x38]
call fcn.140002b2c
mov r9d, 8
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x220]
lea rcx, [0x14006e6b0]
call fcn.14004a4dc
nop
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], r15
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0xd0]
call fcn.140006560
nop
lea rdx, [rbp + 0x240]
cmp qword [rbp + 0x258], 0x10
cmovae rdx, qword [rbp + 0x240]
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], rbx
mov byte [rbp + 0x18], r15b
lea rcx, [rbp + 0x18]
call fcn.140002b2c
nop
lea r8, [rbp + 0xd0]
lea rdx, [rbp + 0x18]
lea rcx, [0x14006e3c0]
call fcn.140016de0
nop
mov rdx, qword [rbp + 0x238]
cmp rdx, 0x10
jb 0x14003a1cb
inc rdx
mov rcx, qword [rbp + 0x220]
mov rax, rcx
cmp rdx, rsi
jb 0x14003a1c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a281
call fcn.14004cdd8
mov qword [rbp + 0x230], r15
mov qword [rbp + 0x238], rbx
mov byte [rbp + 0x220], r15b
mov rdx, qword [rbp + 0x258]
cmp rdx, 0x10
jb 0x14003a21a
inc rdx
mov rcx, qword [rbp + 0x240]
mov rax, rcx
cmp rdx, rsi
jb 0x14003a214
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a288
call fcn.14004cdd8
nop
mov rdx, qword [rbp + 0x218]
cmp rdx, 0x10
jb 0x14003a253
inc rdx
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, rsi
jb 0x14003a24e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a28f
call fcn.14004cdd8
lea rcx, [rbp + 0x1f0]
call fcn.1400374f0
test eax, eax
jne 0x14003a3a8
jmp 0x140039ccd
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
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
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 [rbp + 0x1f8]
test rcx, rcx
je 0x14003a2df
mov eax, r12d
lock xadd dword [rcx + 8], eax
add eax, r12d
jne 0x14003a2d8
mov rbx, qword [rbp + 0x1f8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x14003a2d8
mov rcx, qword [rbp + 0x1f8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0x1e8]
test rdi, rdi
je 0x14003a31b
mov eax, r12d
lock xadd dword [rdi + 8], eax
add eax, r12d
jne 0x14003a31b
mov rbx, qword [rbp + 0x1e8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x14003a31b
mov rcx, qword [rbp + 0x1e8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14003a351
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14003a34c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003a38b
mov rcx, r8
call fcn.14004cdd8
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], r15b
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14004cef0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp + 0xf0]
mov edx, eax
lea rcx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.14002877c
nop
mov edx, eax
lea rcx, str.recursive_directory_iterator::operator
call fcn.140028718
int3