Function at 0x140104020
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x200
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14019d010]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r13, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rbp + 0x70], rcx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x80], xmm0
mov rdx, rcx
lea rcx, [rbp + 0x80]
call fcn.140105190
test eax, eax
jne 0x140104530
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov r15, qword [rbp + 0x88]
test r15, r15
je 0x1401040ac
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x88]
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x90], xmm0
test r15, r15
je 0x1401040cc
lock inc dword [r15 + 8]
mov r15, qword [rbp + 0x88]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
mov r12, 0xffffffffffffffff
test r15, r15
je 0x140104126
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x14010411f
mov rbx, qword [rbp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010411f
mov r15, qword [rbp + 0x88]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 8]
jmp 0x140104126
mov r15, qword [rbp + 0x88]
cmp qword [rbp + 0x80], 0
je 0x140104449
mov rdi, qword [rbp + 0x90]
nop dword [rax + rax]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140103860
mov rax, qword [rsp + 0x50]
mov edx, dword [rsp + 0x58]
test edx, edx
je 0x140104169
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14010450c
cmp eax, 3
jne 0x140104232
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 8
jb 0x140104181
mov rcx, qword [rdi + 0x20]
mov r9d, 0xffffffff
mov r8d, 9
lea rdx, [rbp + 0xb0]
call fcn.1401231b4
test eax, eax
jne 0x14010451d
cmp qword [rbp + 0xb8], 0
je 0x140104232
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 8
jb 0x1401041be
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x30]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140105590
nop
lea rdi, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdi, qword [rbp - 0x30]
mov rbx, r12
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1401041f2
call fcn.140122ea0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rbx
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp + 0x30]
call fcn.1400da7f0
mov rdx, r13
lea rcx, [rbp + 0x30]
call fcn.140104020
nop
lea rcx, [rbp - 0x30]
call fcn.1400d93d0
jmp 0x140104428
mov rsi, qword [r13]
mov r14, qword [r13 + 8]
cmp rsi, r14
je 0x140104428
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 8
jb 0x140104252
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140103240
cmp rax, r11
je 0x1401042ab
nop word [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14010427f
cmp cx, 0x2f
jne 0x140104288
add rax, 2
cmp rax, r11
jne 0x140104270
cmp rax, r11
je 0x1401042ab
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x1401042ab
cmp cx, 0x2f
je 0x1401042ab
mov r10, rdx
cmp rax, rdx
jne 0x140104290
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov r8, r11
mov rdx, r10
lea rcx, [rsp + 0x60]
call fcn.1401054b0
nop
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.140104fa0
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rax, qword [rbp - 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1401042ff
mov rdx, qword [rsi]
sub rdx, rax
movzx ebx, byte [rax]
movzx ecx, byte [rax + rdx]
sub ebx, ecx
jne 0x140104314
inc rax
test ecx, ecx
jne 0x140104302
lea rcx, [rbp - 0x10]
call fcn.1400d93d0
nop
lea rcx, [rsp + 0x60]
call fcn.1400e42a0
test ebx, ebx
jne 0x14010441b
mov rbx, qword [rsi + 0x20]
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 8
jb 0x140104343
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x30]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140105590
xor edx, edx
xor r8d, r8d
cmp qword [rsp + 0x38], rdx
jbe 0x1401043a5
mov rax, qword [0x1401a1248]
movzx ecx, word [rax + 0x80]
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
xor byte [r8 + rax], cl
inc edx
lea r8, [r8 + 1]
movsxd rax, edx
cmp rax, qword [rsp + 0x38]
jb 0x140104372
movups xmm6, xmmword [rsp + 0x28]
movups xmmword [rbp - 0x80], xmm6
movups xmm7, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x70], xmm7
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
call fcn.1400d93d0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140104405
movups xmmword [rdx], xmm6
movups xmmword [rdx + 0x10], xmm7
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
add qword [rbx + 8], 0x20
jmp 0x140104412
lea r8, [rbp - 0x80]
mov rcx, rbx
call fcn.140105680
nop
lea rcx, [rbp - 0x80]
call fcn.1400d93d0
add rsi, 0x28
cmp rsi, r14
jne 0x140104243
lea rcx, [rbp + 0x90]
call fcn.140103c80
mov rdi, qword [rbp + 0x90]
test rdi, rdi
jne 0x140104140
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x140104492
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14010448b
mov rbx, qword [rbp + 0x98]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010448b
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
call qword [rax + 8]
mov r15, qword [rbp + 0x88]
test r15, r15
je 0x1401044ce
mov eax, r12d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1401044ce
mov rbx, qword [rbp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x1401044ce
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, rdi
call fcn.1400e42a0
xor eax, eax
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140105b00
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rdi + 0x20]
lea rcx, str.directory_entry::status
call fcn.1401037f0
int3
lea r8, [rdi + 0x20]
mov edx, eax
lea rcx, str.file_size
call fcn.1401037f0
nop
mov r8, rdi
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.1401037f0
int3