Function at 0x140103880
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x210
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1401a4028]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov r15, rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x180], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rdx, rcx
lea rcx, [rsp + 0x1a0]
call fcn.1401030b0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x190], xmm0
mov rbx, qword [rsp + 0x1a8]
test rbx, rbx
je 0x1401038ff
lock inc dword [rbx + 8]
movaps xmm0, xmmword [rsp + 0x1a0]
movdqa xmmword [rsp + 0x190], xmm0
mov rbx, qword [rsp + 0x1a8]
test rbx, rbx
je 0x140103921
lock inc dword [rbx + 8]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x1b0], xmm1
mov rbx, qword [rsp + 0x1a8]
mov rdi, 0xffffffffffffffff
test rbx, rbx
je 0x14010396b
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14010396b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010396b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
nop dword [rax + rax]
mov r13, qword [rsp + 0x190]
cmp r13, qword [rsp + 0x1b0]
je 0x140103d25
lea rdx, [rsp + 0x48]
mov rcx, r13
call fcn.140102c90
mov edx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
test edx, edx
je 0x1401039af
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140103dee
cmp eax, 3
jne 0x140103abe
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 8
jb 0x1401039c7
mov rcx, qword [r13 + 0x20]
mov r9d, 0xffffffff
mov r8d, 9
lea rdx, [rsp + 0x1c0]
call fcn.140124050
test eax, eax
jne 0x140103dfe
cmp qword [rsp + 0x1c8], 0
je 0x140103abe
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 8
jb 0x140103a06
mov rcx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x30]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x120], xmm0
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0xe0]
call fcn.1400f8b40
or r14d, 0xc0
lea rcx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 0x10
cmovae rcx, qword [rsp + 0xe0]
mov qword [rsp + 0xc0], rcx
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140103a70
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x140]
call fcn.1400efbd0
bts r14d, 8
mov rdx, r15
lea rcx, [rsp + 0x140]
call fcn.140103880
nop
lea rcx, [rsp + 0xe0]
call fcn.1400d96a0
jmp 0x140103d13
mov rsi, qword [r15]
mov r12, qword [r15 + 8]
cmp rsi, r12
je 0x140103d07
lea rdi, [r13 + 0x20]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140103adf
mov rcx, qword [rdi]
lea r15, [rdi + 0x10]
mov rax, qword [r15]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140102770
cmp rax, r11
je 0x140103b3b
nop word [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140103b0f
cmp cx, 0x2f
jne 0x140103b18
add rax, 2
cmp rax, r11
jne 0x140103b00
cmp rax, r11
je 0x140103b3b
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140103b3b
cmp cx, 0x2f
je 0x140103b3b
mov r10, rdx
cmp rax, rdx
jne 0x140103b20
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov r8, r11
mov rdx, r10
lea rcx, [rsp + 0x68]
call fcn.140102500
or r14d, 0xe
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x68]
call fcn.1401059a0
or r14d, 1
lea rax, [rsp + 0x100]
cmp qword [rsp + 0x118], 0x10
cmovae rax, qword [rsp + 0x100]
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140103ba9
mov rdx, qword [rsi]
sub rdx, rax
nop dword [rax]
movzx ebx, byte [rax]
movzx ecx, byte [rax + rdx]
sub ebx, ecx
jne 0x140103bc2
inc rax
test ecx, ecx
jne 0x140103bb0
lea rcx, [rsp + 0x100]
call fcn.1400d96a0
nop
lea rcx, [rsp + 0x68]
call fcn.1400e5330
test ebx, ebx
jne 0x140103cfe
mov rbx, qword [rsi + 0x20]
cmp qword [rdi + 0x18], 8
jb 0x140103bf0
mov rdi, qword [rdi]
mov rax, qword [r15]
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], rax
movaps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0x130], xmm0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x28]
call fcn.1400f8b40
or r14d, 0x30
xor edi, edi
mov r9d, edi
cmp qword [rsp + 0x38], rdi
jbe 0x140103c74
mov r8d, edi
nop dword [rax]
mov rax, qword [0x1401a82a8]
movzx edx, word [rax + 0x80]
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
xor byte [r8 + rcx], dl
inc r9d
lea r8, [r8 + 1]
movsxd rax, r9d
cmp rax, qword [rsp + 0x38]
jb 0x140103c40
movups xmm6, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x88], xmm6
movups xmm7, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x98], xmm7
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], dil
lea rcx, [rsp + 0x28]
call fcn.1400d96a0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140103ce0
movups xmmword [rdx], xmm6
movups xmmword [rdx + 0x10], xmm7
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], 0xf
mov byte [rsp + 0x88], 0
add qword [rbx + 8], 0x20
jmp 0x140103cf1
lea r8, [rsp + 0x88]
mov rcx, rbx
call fcn.1401061a0
nop
lea rcx, [rsp + 0x88]
call fcn.1400d96a0
add rsi, 0x28
jmp 0x140103ac5
mov rdi, 0xffffffffffffffff
mov r15, qword [rsp + 0x58]
lea rcx, [rsp + 0x190]
call fcn.140103230
jmp 0x140103970
mov rcx, qword [rsp + 0x198]
test rcx, rcx
je 0x140103d69
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140103d69
mov rbx, qword [rsp + 0x198]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140103d69
mov rcx, qword [rsp + 0x198]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rbx, qword [rsp + 0x1a8]
test rbx, rbx
je 0x140103d9e
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140103d9e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140103d9e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rsi, qword [rsp + 0x60]
jmp 0x140103dad
mov rcx, rsi
call fcn.1400e5330
xor eax, eax
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140106970
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea r8, [r13 + 0x20]
lea rcx, str.directory_entry::status
call fcn.140102c20
lea r8, [r13 + 0x20]
mov edx, eax
lea rcx, str.file_size
call fcn.140102c20
int3