Function at 0x1400385c4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x368]
sub rsp, 0x440
mov qword [rbp + 0x228], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14006d798]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov rsi, rdx
mov qword [rbp + 0x2a0], rdx
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14003861d
mov rcx, qword [rdx]
mov qword [rbp + 0x2c0], rcx
or r12, 0xffffffffffffffff
mov rax, r12
xor r15d, r15d
inc rax
cmp byte [rcx + rax], r15b
jne 0x14003862e
mov qword [rbp + 0x2c8], rax
movaps xmm0, xmmword [rbp + 0x2c0]
movdqa xmmword [rbp + 0x210], xmm0
call fcn.14004c6ac
lea r8, [rbp + 0x210]
mov edx, eax
lea rcx, [rbp + 0x180]
call fcn.140027d70
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x2b0], xmm0
xor r8d, r8d
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x2b0]
call fcn.14003735c
test eax, eax
jne 0x140039060
lea rcx, [rbp + 0x180]
call fcn.1400287e8
xor eax, eax
mov qword [rbp + 0x2c0], rax
mov qword [rbp + 0x2c8], rax
mov rdi, qword [rbp + 0x2b8]
test rdi, rdi
je 0x1400386c4
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x2b8]
movaps xmm0, xmmword [rbp + 0x2b0]
movdqa xmmword [rbp + 0x2c0], xmm0
test rdi, rdi
je 0x1400386e3
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x2b8]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb0], xmm0
test rdi, rdi
je 0x140038735
mov eax, r12d
lock xadd dword [rdi + 8], eax
add eax, r12d
jne 0x14003872e
mov rbx, qword [rbp + 0x2b8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x14003872e
mov rdi, qword [rbp + 0x2b8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x140038735
mov rdi, qword [rbp + 0x2b8]
mov r13d, 0xf
mov r14, qword [rbp + 0x2c0]
test r14, r14
je 0x140038f63
mov cl, 0x74
mov dword [rsp + 0x20], 0x190c5a74
mov word [rsp + 0x24], 0x18
mov rax, r15
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 4
jae 0x140038772
mov cl, byte [rsp + 0x20]
jmp 0x14003875f
mov byte [rsp + 0x25], r15b
lea rax, [rsp + 0x21]
mov qword [rbp + 0xa0], rax
lea rcx, [rsp + 0x21]
mov rax, r12
inc rax
cmp byte [rcx + rax], r15b
jne 0x14003878b
mov qword [rbp + 0xa8], rax
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x200], xmm0
call fcn.14004c6ac
lea r8, [rbp + 0x200]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.140027d70
nop
add r14, 0x20
mov rcx, qword [r14 + 0x10]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x1400387d7
mov rax, qword [r14]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rcx
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0x1f0], xmm0
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x260]
call fcn.14002823c
mov r8, qword [rax + 8]
mov rdx, qword [rax]
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r15w
lea rcx, [rbp + 0x80]
call fcn.1400289e8
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rax, qword [rbp + 0x60]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0xd8], rax
movaps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x1e0], xmm0
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x80]
call fcn.140028a54
mov ebx, eax
lea rcx, [rbp + 0x80]
call fcn.1400287e8
nop
lea rcx, [rbp + 0x60]
call fcn.1400287e8
test ebx, ebx
jne 0x140038f04
mov cl, 0x1f
mov dword [rsp + 0x28], 0x7267311f
mov word [rsp + 0x2c], 0x73
mov rax, r15
xor byte [rsp + rax + 0x29], cl
inc rax
cmp rax, 4
jae 0x1400388bd
mov cl, byte [rsp + 0x28]
jmp 0x1400388aa
mov byte [rsp + 0x2d], r15b
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r13
mov byte [rbp - 0x20], r15b
lea rdx, [rsp + 0x29]
lea rcx, [rbp - 0x20]
call fcn.140002b2c
nop
mov rcx, qword [r14 + 0x10]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x1400388ee
mov rax, qword [r14]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rcx
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0x1d0], xmm0
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x270]
call fcn.14002830c
mov r8, qword [rax + 8]
mov rdx, qword [rax]
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 7
mov word [rbp], r15w
lea rcx, [rbp]
call fcn.1400289e8
nop
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0xf8], rax
movaps xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0x1c0], xmm0
call fcn.14004c6ac
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x1c0]
mov edx, eax
lea rcx, [rbp + 0x40]
call fcn.140026a10
nop
mov r8, rsi
mov ebx, 0x10
cmp qword [rsi + 0x18], rbx
jb 0x14003899d
mov r8, qword [rsi]
mov r9, r12
inc r9
cmp byte [r8 + r9], r15b
jne 0x1400389a0
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.140002c74
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r13
mov byte [rax], r15b
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x310]
call fcn.140001204
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, rbx
jb 0x140038a2c
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038a27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f1d
call fcn.14004cdd8
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r13
mov byte [rsp + 0x60], r15b
mov rdx, qword [rbp + 0x58]
cmp rdx, rbx
jb 0x140038a75
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038a70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f24
call fcn.14004cdd8
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], r13
mov byte [rbp + 0x40], r15b
lea rcx, [rbp]
call fcn.1400287e8
nop
mov rdx, qword [rbp - 8]
cmp rdx, rbx
jb 0x140038ac5
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038ac0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f2b
call fcn.14004cdd8
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r13
mov byte [rbp - 0x20], r15b
mov cl, 0x18
mov dword [rsp + 0x30], 0x75603618
mov word [rsp + 0x34], 0x74
mov rax, r15
xor byte [rsp + rax + 0x31], cl
inc rax
cmp rax, 4
jae 0x140038af8
mov cl, byte [rsp + 0x30]
jmp 0x140038ae5
mov byte [rsp + 0x35], r15b
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r13
mov byte [rbp - 0x80], r15b
lea rdx, [rsp + 0x31]
lea rcx, [rbp - 0x80]
call fcn.140002b2c
nop
mov rax, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 8
jb 0x140038b26
mov r14, qword [r14]
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], rax
movaps xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x230], xmm0
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x280]
call fcn.14002830c
mov r8, qword [rax + 8]
mov rdx, qword [rax]
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
lea rcx, [rbp - 0x60]
call fcn.1400289e8
nop
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rax, qword [rbp - 0x60]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x118], rax
movaps xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0x240], xmm0
call fcn.14004c6ac
lea r9, [rsp + 0x39]
lea r8, [rbp + 0x240]
mov edx, eax
lea rcx, [rbp + 0x20]
call fcn.140026a10
nop
movdqa xmm0, xmmword [0x14005b640]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0x525f5f5a
mov word [rsp + 0x5c], 0x1c
mov rcx, r15
mov al, byte [rsp + 0x48]
xor byte [rsp + rcx + 0x49], al
inc rcx
cmp rcx, 0x14
jb 0x140038be4
mov byte [rsp + 0x5d], r15b
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r13
mov byte [rbp - 0x40], r15b
lea rdx, [rsp + 0x49]
lea rcx, [rbp - 0x40]
call fcn.140002b2c
nop
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x120]
call fcn.140001204
nop
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [rbp + 0x2f0]
call fcn.140001204
nop
mov rdx, qword [rbp + 0x138]
mov r14d, 0x1000
cmp rdx, rbx
jb 0x140038c80
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, r14
jb 0x140038c7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f32
call fcn.14004cdd8
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], r13
mov byte [rbp + 0x120], r15b
mov rdx, qword [rbp - 0x28]
cmp rdx, rbx
jb 0x140038ccb
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, r14
jb 0x140038cc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f39
call fcn.14004cdd8
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r13
mov byte [rbp - 0x40], r15b
mov rdx, qword [rbp + 0x38]
cmp rdx, rbx
jb 0x140038d0d
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, r14
jb 0x140038d08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f40
call fcn.14004cdd8
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r13
mov byte [rbp + 0x20], r15b
lea rcx, [rbp - 0x60]
call fcn.1400287e8
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, rbx
jb 0x140038d59
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r14
jb 0x140038d54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f47
call fcn.14004cdd8
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r13
mov byte [rbp - 0x80], r15b
lea rdx, [rbp + 0x310]
cmp qword [rbp + 0x328], rbx
cmovae rdx, qword [rbp + 0x310]
mov qword [rbp + 0x150], r15
mov qword [rbp + 0x158], r13
mov byte [rbp + 0x140], r15b
lea rcx, [rbp + 0x140]
call fcn.140002b2c
mov r9d, 8
lea r8, [rbp + 0x140]
lea rdx, [rbp + 0x2d0]
lea rcx, [0x14006e6b0]
call fcn.14004a4dc
nop
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x40], rax
mov qword [rbp + 0x1b0], r15
mov qword [rbp + 0x1b8], r15
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x1a0]
call fcn.140006560
nop
lea rdx, [rbp + 0x2f0]
cmp qword [rbp + 0x308], rbx
cmovae rdx, qword [rbp + 0x2f0]
mov qword [rbp + 0x170], r15
mov qword [rbp + 0x178], r13
mov byte [rbp + 0x160], r15b
lea rcx, [rbp + 0x160]
call fcn.140002b2c
nop
lea r8, [rbp + 0x1a0]
lea rdx, [rbp + 0x160]
lea rcx, [0x14006e3c0]
call fcn.140016de0
nop
mov rdx, qword [rbp + 0x2e8]
cmp rdx, rbx
jb 0x140038e7a
inc rdx
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, r14
jb 0x140038e75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f4e
call fcn.14004cdd8
mov qword [rbp + 0x2e0], r15
mov qword [rbp + 0x2e8], r13
mov byte [rbp + 0x2d0], r15b
mov rdx, qword [rbp + 0x308]
cmp rdx, rbx
jb 0x140038ecc
inc rdx
mov rcx, qword [rbp + 0x2f0]
mov rax, rcx
cmp rdx, r14
jb 0x140038ec6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f55
call fcn.14004cdd8
nop
mov rdx, qword [rbp + 0x328]
cmp rdx, rbx
jb 0x140038f04
inc rdx
mov rcx, qword [rbp + 0x310]
mov rax, rcx
cmp rdx, r14
jb 0x140038eff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038f5c
call fcn.14004cdd8
lea rcx, [rbp + 0x2c0]
call fcn.1400374f0
test eax, eax
jne 0x140039076
jmp 0x14003873b
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
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 + 0x2c8]
test rcx, rcx
je 0x140038fac
mov eax, r12d
lock xadd dword [rcx + 8], eax
add eax, r12d
jne 0x140038fa5
mov rbx, qword [rbp + 0x2c8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x140038fa5
mov rcx, qword [rbp + 0x2c8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0x2b8]
test rdi, rdi
je 0x140038fe8
mov eax, r12d
lock xadd dword [rdi + 8], eax
add eax, r12d
jne 0x140038fe8
mov rbx, qword [rbp + 0x2b8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x140038fe8
mov rcx, qword [rbp + 0x2b8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14003901e
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140039019
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039059
mov rcx, r8
call fcn.14004cdd8
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r13
mov byte [rsi], r15b
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.14004cef0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp + 0x180]
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