Function at 0x140005f60
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rsi, rdx
mov r15, rcx
cmp qword [0x140032f88], 0x10
setae r11b
lea rbx, [0x140032f70]
mov r8, qword [0x140032f70]
jb 0x140005fbb
movzx eax, byte [r8]
mov r9, r8
jmp 0x140005fc2
movzx eax, r8b
mov r9, rbx
xor al, 0x5c
movsx ecx, al
mov word [rsp + 0x30], cx
xor edx, edx
mov eax, 1
mov r10, qword [0x140032f80]
div r10
movsx r9d, byte [rdx + r9]
movzx eax, r9w
xor ax, 0x2a
mov word [rsp + 0x32], ax
xor r12d, r12d
mov word [rsp + 0x34], r12w
test r11b, r11b
je 0x140006003
movsx eax, byte [r8]
jmp 0x14000600a
movsx eax, r8b
mov r8, rbx
xor ax, cx
mov word [rsp + 0x30], ax
xor edx, edx
mov eax, 1
div r10
movzx eax, byte [rdx + r8]
xor al, 0x2a
movsx ecx, al
xor cx, r9w
mov word [rsp + 0x32], cx
mov byte [rsp + 0x36], r12b
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r12w
mov r8d, 2
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.140024270
nop
lea r8, [rbp - 0x48]
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.1400248b0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400060b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400060ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400274f4
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140006110
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000610b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000610b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400274f4
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
cmp r14, 0xffffffffffffffff
je 0x140006527
mov r13d, 0x11b
lea r10, [0x140032fd0]
test byte [rbp - 0x20], 0x10
je 0x1400064c2
mov ecx, 0x2e
xor edx, edx
call fcn.140001b50
movzx r9d, ax
mov word [rsp + 0x38], ax
xor ecx, ecx
lea edx, [rcx + 1]
call fcn.140001b50
mov word [rsp + 0x3a], ax
lea edx, [rcx + 2]
movzx ecx, word [0x14002ba78]
call fcn.140001b50
mov word [rsp + 0x3c], ax
xor eax, eax
mov word [rsp + 0x3e], ax
mov edx, r12d
nop dword [rax]
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x38]
lea rcx, [rcx + rax*2]
lea eax, [rdx + r13]
xor word [rcx], ax
inc edx
cmp edx, 3
jb 0x140006190
mov word [rsp + 0x3e], r12w
lea rax, [rbp + 0xc]
lea r8, [rsp + 0x38]
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400061d4
add rax, 2
test ecx, ecx
jne 0x1400061c0
test edx, edx
je 0x140006509
mov word [rsp + 0x48], r9w
mov ecx, 0x2e
lea edx, [rcx - 0x2d]
call fcn.140001b50
mov word [rsp + 0x4a], ax
xor ecx, ecx
lea edx, [rcx + 2]
call fcn.140001b50
mov word [rsp + 0x4c], ax
lea edx, [rcx + 3]
movzx ecx, word [0x14002ba7e]
call fcn.140001b50
mov word [rsp + 0x4e], ax
mov edx, 4
movzx ecx, word [0x14002ba80]
call fcn.140001b50
mov word [rsp + 0x50], ax
xor eax, eax
mov word [rsp + 0x52], ax
mov edx, r12d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x48]
lea rcx, [rcx + rax*2]
lea eax, [rdx + r13]
xor word [rcx], ax
inc edx
cmp edx, 5
jb 0x140006240
mov word [rsp + 0x52], r12w
lea rax, [rbp + 0xc]
lea r8, [rsp + 0x48]
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140006284
add rax, 2
test ecx, ecx
jne 0x140006270
test edx, edx
je 0x140006509
cmp qword [0x140032fe8], 0x10
setae r9b
mov rcx, r10
cmovae rcx, qword [0x140032fd0]
movsx r8d, byte [rcx]
movzx eax, r8w
xor ax, 0x5c
mov word [rsp + 0x40], ax
mov word [rsp + 0x42], r12w
mov rax, r10
test r9b, r9b
cmovne rax, qword [0x140032fd0]
movzx eax, byte [rax]
xor al, 0x5c
movsx ecx, al
xor cx, r8w
mov word [rsp + 0x40], cx
mov byte [rsp + 0x44], 0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov r8d, 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140024270
nop
lea r8, [rsp + 0x78]
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.1400248b0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14000635f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000635a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006553
call fcn.1400274f4
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
lea rax, [rbp + 0xc]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140006380
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400063d4
lea rdi, [rcx + rdx]
mov qword [rsp + 0x68], rdi
lea rbx, [rsp + 0x58]
cmp r8, 8
cmovae rbx, qword [rsp + 0x58]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
lea rdx, [rbp + 0xc]
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r12w
lea rax, [rsp + 0x58]
jmp 0x1400063e7
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xc]
lea rcx, [rsp + 0x58]
call fcn.1400261b0
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140006454
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000644f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000655a
call fcn.1400274f4
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.140005f60
test al, al
jne 0x140006561
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140006509
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400064bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400065a2
call fcn.1400274f4
jmp 0x140006509
mov r9, qword [rsi]
mov r10, qword [rsi + 8]
cmp r9, r10
je 0x140006509
nop
mov r8, r9
cmp qword [r9 + 0x18], 8
jb 0x1400064dd
mov r8, qword [r9]
lea rax, [rbp + 0xc]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400064f8
add rax, 2
test ecx, ecx
jne 0x1400064e4
test edx, edx
je 0x1400065b5
add r9, 0x20
cmp r9, r10
jne 0x1400064d0
lea rdx, [rbp - 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140006131
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140027490
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400065ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400065a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400274f4
mov al, 1
jmp 0x140006529
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
jmp 0x140006529