Function at 0x140005c24
Capabilities:
Encode data using xor
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r14, rdx
mov rsi, rcx
lea rdi, [0x14003a258]
cmp qword [0x14003a270], 0x10
setae r11b
mov rax, rdi
mov r9, qword [0x14003a258]
cmovae rax, r9
mov al, byte [rax]
xor al, 0x5c
movsx eax, al
mov word [rsp + 0x20], ax
mov rcx, rdi
xor r15d, r15d
test r11b, r11b
cmovne rcx, r9
xor edx, edx
lea ebx, [rdx + 1]
mov eax, ebx
mov r10, qword [0x14003a268]
div r10
mov al, byte [rdx + rcx]
xor al, 0x2a
movsx eax, al
mov word [rsp + 0x22], ax
mov word [rsp + 0x24], r15w
mov byte [rsp + 0x26], bl
mov r8d, r15d
mov rcx, rdi
test r11b, r11b
cmovne rcx, r9
xor edx, edx
mov rax, r8
div r10
movsx eax, byte [rdx + rcx]
xor word [rsp + r8*2 + 0x20], ax
add r8, rbx
cmp r8, 2
jb 0x140005cbb
mov byte [rsp + 0x26], r15b
mov qword [rbp - 0x80], r15
mov edi, 7
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], 2
mov eax, dword [rsp + 0x20]
mov dword [rbp - 0x80], eax
mov word [rbp - 0x7c], r15w
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x140005d13
mov r8, qword [rsi]
mov r9, qword [rsi + 0x10]
lea rcx, [rbp - 0x80]
call fcn.140026668
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rdi
mov word [rax], r15w
lea rcx, [rbp - 0x80]
call fcn.1400042f8
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
lea rcx, [rsp + 0x40]
call fcn.1400042f8
cmp rdi, 0xffffffffffffffff
jne 0x140005d7b
xor al, al
jmp 0x140005f45
test byte [rbp - 0x60], 0x10
je 0x140005ee3
mov eax, dword [0x14002e580]
mov dword [rsp + 0x28], eax
cmp word [0x14002e582], r15w
je 0x140005dce
mov r8d, r15d
lea r9, [rsp + 0x28]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
sub ax, cx
add ax, 0x33
xor word [r9], ax
add r8d, ebx
lea r9, [r9 + 2]
cmp r8d, 2
jl 0x140005da1
lea rax, [rbp - 0x34]
lea r8, [rsp + 0x28]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x140005dee
add rax, 2
test edx, edx
jne 0x140005dda
test ecx, ecx
je 0x140005f22
mov eax, dword [0x14002fb58]
mov dword [rsp + 0x2c], eax
movzx eax, word [0x14002fb5c]
mov word [rsp + 0x30], ax
mov r8d, r15d
lea r9, [rsp + 0x2c]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
sub ax, cx
add ax, 0x33
xor word [r9], ax
add r8d, ebx
lea r9, [r9 + 2]
cmp r8d, 3
jl 0x140005e14
lea rax, [rbp - 0x34]
lea r8, [rsp + 0x2c]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x140005e61
add rax, 2
test edx, edx
jne 0x140005e4d
test ecx, ecx
je 0x140005f22
lea rax, [0x14003a278]
cmp qword [0x14003a290], 0x10
cmovae rax, qword [0x14003a278]
mov al, byte [rax]
xor al, 0x5c
movsx eax, al
mov word [rsp + 0x34], ax
mov word [rsp + 0x36], r15w
mov byte [rsp + 0x38], bl
lea r8, [rsp + 0x34]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140005f80
nop
lea r8, [rbp - 0x34]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140024d74
nop
lea rcx, [rsp + 0x60]
call fcn.1400042f8
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.140005c24
test al, al
jne 0x140005f6b
lea rcx, [rbp - 0x80]
call fcn.1400042f8
jmp 0x140005f22
mov rax, qword [r14]
jmp 0x140005f1c
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140005ef5
mov rdx, qword [rax]
lea rcx, [rbp - 0x34]
sub rdx, rcx
movzx r8d, word [rcx]
movzx r9d, word [rcx + rdx]
sub r8d, r9d
jne 0x140005f13
add rcx, 2
test r9d, r9d
jne 0x140005efc
test r8d, r8d
je 0x140005f3a
add rax, 0x20
cmp rax, qword [r14 + 8]
jne 0x140005ee8
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140005d7b
mov bl, r15b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140029500
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x80]
call fcn.1400042f8
jmp 0x140005f43