Function at 0x140042974
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x348]
sub rsp, 0x420
mov qword [rbp + 0x1c0], 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 + 0x310], rax
mov r14, rdx
mov qword [rbp + 0x280], rdx
xor r12d, r12d
mov r15d, r12d
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x1400429d3
mov rcx, qword [rdx]
mov qword [rbp + 0x2a0], rcx
or r13, 0xffffffffffffffff
mov rax, r13
inc rax
cmp byte [rcx + rax], r12b
jne 0x1400429e1
mov qword [rbp + 0x2a8], rax
movaps xmm0, xmmword [rbp + 0x2a0]
movdqa xmmword [rbp + 0x200], xmm0
call fcn.14004c6ac
lea r8, [rbp + 0x200]
mov edx, eax
lea rcx, [rbp + 0x180]
call fcn.140027d70
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x290], xmm0
xor r8d, r8d
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x290]
call fcn.14003735c
test eax, eax
jne 0x14004345a
lea rcx, [rbp + 0x180]
call fcn.1400287e8
xor eax, eax
mov qword [rbp + 0x2a0], rax
mov qword [rbp + 0x2a8], rax
mov rdi, qword [rbp + 0x298]
test rdi, rdi
je 0x140042a77
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x298]
movaps xmm0, xmmword [rbp + 0x290]
movdqa xmmword [rbp + 0x2a0], xmm0
test rdi, rdi
je 0x140042a96
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x298]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb0], xmm0
test rdi, rdi
je 0x140042ae8
mov eax, r13d
lock xadd dword [rdi + 8], eax
add eax, r13d
jne 0x140042ae1
mov rbx, qword [rbp + 0x298]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x140042ae1
mov rdi, qword [rbp + 0x298]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x140042ae8
mov rdi, qword [rbp + 0x298]
mov rsi, qword [rbp + 0x2a0]
test rsi, rsi
je 0x140043359
mov cl, 0x15
mov dword [rsp + 0x20], 0x74713b15
mov word [rsp + 0x24], 0x61
mov rax, r12
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 4
jae 0x140042b1f
mov cl, byte [rsp + 0x20]
jmp 0x140042b0c
mov byte [rsp + 0x25], r12b
lea rax, [rsp + 0x21]
mov qword [rbp + 0xc0], rax
lea rcx, [rsp + 0x21]
mov rax, r13
inc rax
cmp byte [rcx + rax], r12b
jne 0x140042b38
mov qword [rbp + 0xc8], rax
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0x210], xmm0
call fcn.14004c6ac
lea r8, [rbp + 0x210]
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.140027d70
nop
add rsi, 0x20
mov rcx, qword [rsi + 0x10]
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x140042b84
mov rax, qword [rsi]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rcx
movaps xmm0, xmmword [rbp + 0xd0]
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 + 0x40], r12
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r12w
lea rcx, [rbp + 0x30]
call fcn.1400289e8
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rax, qword [rbp + 0x10]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0xe8], rax
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0x1e0], xmm0
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x30]
call fcn.140028a54
mov ebx, eax
lea rcx, [rbp + 0x30]
call fcn.1400287e8
nop
lea rcx, [rbp + 0x10]
call fcn.1400287e8
test ebx, ebx
jne 0x1400432ec
inc r15d
mov rcx, qword [rsi + 0x10]
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x140042c45
mov rax, qword [rsi]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rcx
movaps xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0x1d0], xmm0
call fcn.14004c6ac
lea r9, [rsp + 0x2c]
lea r8, [rbp + 0x1d0]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.140026a10
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
mov qword [rbp + 0x2c0], r12
mov ebx, 0xf
mov qword [rbp + 0x2c8], rbx
mov byte [rbp + 0x2b0], r12b
lea rcx, [rbp + 0x2b0]
call fcn.140002b2c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140042cef
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042cea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043305
call fcn.14004cdd8
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], rbx
mov byte [rbp - 0x30], r12b
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x140042d09
mov rsi, qword [rsi]
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0x108], rax
movaps xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x230], xmm0
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x270]
call fcn.14003782c
mov r8, qword [rax + 8]
mov rdx, qword [rax]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
lea rcx, [rsp + 0x50]
call fcn.1400289e8
nop
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov qword [rbp + 0x110], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x118], rax
movaps xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0x220], xmm0
call fcn.14004c6ac
lea r9, [rsp + 0x2d]
lea r8, [rbp + 0x220]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140026a10
nop
lea rbx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rbx, qword [rbp - 0x50]
mov r8b, 0x20
mov edx, 1
lea rcx, [rbp + 0x50]
call fcn.140005818
mov rsi, rax
mov edx, r15d
lea rcx, [rbp - 0x10]
call fcn.140001538
nop
mov byte [rsp + 0x28], 0x17
mov cl, 0x34
xor cl, 0x17
mov byte [rsp + 0x29], cl
mov byte [rsp + 0x2a], r12b
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r12b
lea rdx, [rsp + 0x29]
lea rcx, [rbp - 0x70]
call fcn.140002b2c
nop
movdqa xmm0, xmmword [0x14005c000]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x48], 0x6228
xor eax, eax
mov byte [rsp + 0x4a], al
mov rcx, r12
mov al, byte [rsp + 0x38]
xor byte [rsp + rcx + 0x39], al
inc rcx
cmp rcx, 0x11
jb 0x140042e2e
mov byte [rsp + 0x4a], r12b
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], r12b
lea rdx, [rsp + 0x39]
lea rcx, [rsp + 0x70]
call fcn.140002b2c
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x160]
call fcn.140001204
nop
lea r8, [rbp - 0x10]
mov rdx, rax
lea rcx, [rbp + 0x120]
call fcn.140001204
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.140001204
nop
mov r8, r13
inc r8
cmp byte [rbx + r8], r12b
jne 0x140042ea5
mov rdx, rbx
mov rcx, rax
call fcn.140002a38
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2f0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x300], xmm1
mov qword [rax + 0x10], r12
mov esi, 0xf
mov qword [rax + 0x18], rsi
mov byte [rax], r12b
mov rdx, qword [rbp + 0x158]
lea ebx, [rsi + 1]
cmp rdx, rbx
jb 0x140042f21
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042f1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004330c
call fcn.14004cdd8
mov qword [rbp + 0x150], r12
mov qword [rbp + 0x158], rsi
mov byte [rbp + 0x140], r12b
mov rdx, qword [rbp + 0x138]
cmp rdx, rbx
jb 0x140042f76
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042f71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043313
call fcn.14004cdd8
mov qword [rbp + 0x130], r12
mov qword [rbp + 0x138], rsi
mov byte [rbp + 0x120], r12b
mov rdx, qword [rbp + 0x178]
cmp rdx, rbx
jb 0x140042fcb
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042fc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004331a
call fcn.14004cdd8
mov qword [rbp + 0x170], r12
mov qword [rbp + 0x178], rsi
mov byte [rbp + 0x160], r12b
mov rdx, qword [rbp - 0x78]
cmp rdx, rbx
jb 0x14004301b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043016
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043321
call fcn.14004cdd8
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rsi
mov byte [rsp + 0x70], r12b
mov rdx, qword [rbp - 0x58]
cmp rdx, rbx
jb 0x140043062
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004305d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043328
call fcn.14004cdd8
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], rsi
mov byte [rbp - 0x70], r12b
mov rdx, qword [rbp + 8]
cmp rdx, rbx
jb 0x1400430a8
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400430a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004332f
call fcn.14004cdd8
mov qword [rbp], r12
mov qword [rbp + 8], rsi
mov byte [rbp - 0x10], r12b
mov rdx, qword [rbp + 0x68]
cmp rdx, rbx
jb 0x1400430ee
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400430e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043336
call fcn.14004cdd8
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], rsi
mov byte [rbp + 0x50], r12b
mov rdx, qword [rbp - 0x38]
cmp rdx, rbx
jb 0x140043134
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004312f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004333d
call fcn.14004cdd8
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x50], r12b
lea rcx, [rsp + 0x50]
call fcn.1400287e8
lea rdx, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], rbx
cmovae rdx, qword [rbp + 0x2b0]
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], rsi
mov byte [rbp + 0x70], r12b
lea rcx, [rbp + 0x70]
call fcn.140002b2c
mov r9d, 8
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x2d0]
lea rcx, [0x14006e6b0]
call fcn.14004a4dc
nop
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x1b0], r12
mov qword [rbp + 0x1b8], r12
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 + 0xa0], r12
mov qword [rbp + 0xa8], rsi
mov byte [rbp + 0x90], r12b
lea rcx, [rbp + 0x90]
call fcn.140002b2c
nop
lea r8, [rbp + 0x1a0]
lea rdx, [rbp + 0x90]
lea rcx, [0x14006e3c0]
call fcn.140016de0
nop
mov rdx, qword [rbp + 0x2e8]
cmp rdx, rbx
jb 0x14004325a
inc rdx
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043255
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043344
call fcn.14004cdd8
mov qword [rbp + 0x2e0], r12
mov qword [rbp + 0x2e8], rsi
mov byte [rbp + 0x2d0], r12b
mov rdx, qword [rbp + 0x308]
cmp rdx, rbx
jb 0x1400432b0
inc rdx
mov rcx, qword [rbp + 0x2f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400432aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004334b
call fcn.14004cdd8
nop
mov rdx, qword [rbp + 0x2c8]
cmp rdx, rbx
jb 0x1400432ec
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400432e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043352
call fcn.14004cdd8
lea rcx, [rbp + 0x2a0]
call fcn.1400374f0
test eax, eax
jne 0x140043470
jmp 0x140042ae8
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]
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 + 0x2a8]
test rcx, rcx
je 0x1400433a2
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x14004339b
mov rbx, qword [rbp + 0x2a8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x14004339b
mov rcx, qword [rbp + 0x2a8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0x298]
test rdi, rdi
je 0x1400433de
mov eax, r13d
lock xadd dword [rdi + 8], eax
add eax, r13d
jne 0x1400433de
mov rbx, qword [rbp + 0x298]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1400433de
mov rcx, qword [rbp + 0x298]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140043414
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14004340f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140043453
mov rcx, r8
call fcn.14004cdd8
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], r12b
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14004cef0
lea r11, [rsp + 0x420]
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