Function at 0x1400fba70
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x888]
sub rsp, 0x960
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x850], rax
mov r14, rcx
mov qword [rbp - 0x78], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor esi, esi
mov qword [rsp + 0x68], rsi
mov dword [rbp - 0x80], 0x104
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x220]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryW]
lea r8, [0x14034c088]
mov edx, 0x104
lea rcx, [rbp + 0x220]
call fcn.1402bf098
lea r8, [rbp + 0x220]
mov edx, 0x104
lea rcx, [rbp + 0x430]
call fcn.1402bcbb8
lea r8, [0x1403526ec]
mov edx, 0x104
lea rcx, [rbp + 0x430]
call fcn.1402bf098
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
or r15, 0xffffffffffffffff
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
cmp rax, r15
je 0x1400fbca1
test byte [rbp - 0x30], 0x10
je 0x1400fbc7f
movzx ecx, word [rbp - 4]
movzx eax, word [rbp - 2]
cmp cx, word [0x14034bd50]
jne 0x1400fbb79
cmp ax, word [0x14034bd52]
je 0x1400fbc7f
cmp cx, word [0x1403526fc]
jne 0x1400fbb9c
cmp ax, word [0x1403526fe]
jne 0x1400fbb9c
movzx eax, word [rbp]
cmp ax, word [0x140352700]
je 0x1400fbc7f
lea rcx, [rbp - 4]
mov rax, r15
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400fbba3
lea rdx, [rbp + 0x220]
mov rcx, r15
nop word [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1400fbbc0
add ecx, 2
add eax, ecx
movsxd rbx, eax
lea rcx, [rbx + rbx]
call fcn.1402bd120
mov r14, rax
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x220]
mov rdx, rbx
mov rcx, rax
call fcn.1402bcbb8
lea r8, [rbp - 4]
mov rdx, rbx
mov rcx, r14
call fcn.1402bf098
lea rax, [rsp + 0x40]
cmp rax, rdi
jae 0x1400fbc50
lea rax, [rsp + 0x40]
cmp r12, rax
ja 0x1400fbc50
lea rbx, [rsp + 0x40]
sub rbx, r12
sar rbx, 3
cmp rdi, rsi
jne 0x1400fbc42
lea rcx, [rsp + 0x58]
call fcn.1400bb350
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
test rdi, rdi
je 0x1400fbc76
mov rax, qword [r12 + rbx*8]
mov qword [rdi], rax
jmp 0x1400fbc76
cmp rdi, rsi
jne 0x1400fbc6e
lea rcx, [rsp + 0x58]
call fcn.1400bb350
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
test rdi, rdi
je 0x1400fbc76
mov qword [rdi], r14
add rdi, 8
mov qword [rsp + 0x60], rdi
lea rdx, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400fbb51
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r14, qword [rbp - 0x78]
mov eax, dword [0x140431aa0]
lea rsi, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1400fbcd9
or eax, 1
mov dword [0x140431aa0], eax
mov qword [0x140431ab0], rsi
mov qword [0x140431ab8], 0xffffffff80000003
lea rcx, [0x140305080]
call fcn.1402be804
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str..DEFAULTSoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov rcx, qword [0x140431ab8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r13, [0x14034d1a0]
test eax, eax
jne 0x1400fbf4b
lea ecx, [rax + 0x10]
call fcn.1402bcb4c
mov rbx, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400fbf4b
mov rcx, qword [rsp + 0x40]
mov qword [rax], rsi
mov qword [rax + 8], rcx
mov qword [rsp + 0x70], r13
xor eax, eax
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x70]
lea rdx, str.Startup
mov rcx, rbx
call fcn.1400d9fd0
test al, al
je 0x1400fbf2c
xor r8d, r8d
lea rdx, str._USERPROFILE_
lea rcx, [rsp + 0x70]
call fcn.140205020
test al, al
je 0x1400fbf2c
xor ecx, ecx
mov r13d, ecx
sub rdi, r12
sar rdi, 3
test rdi, rdi
je 0x1400fbf25
lea rax, [r14 + 0xa10]
mov r14, r12
mov r12, rax
jmp 0x1400fbda6
xor ecx, ecx
mov rsi, qword [r14]
test rsi, rsi
jne 0x1400fbdb7
mov ebx, ecx
mov qword [rsp + 0x50], rsi
jmp 0x1400fbdd7
mov rbx, r15
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1400fbdc0
mov qword [rsp + 0x50], 0
test ebx, ebx
jne 0x1400fbde5
lea rax, [0x14034d1a0]
mov qword [rsp + 0x48], rax
jmp 0x1400fbe0a
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rsp + 0x48]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.140203bb0
nop
mov r8d, 0xd
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x70]
call fcn.140204810
nop
mov r8, rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.1400d4050
nop
cmp dword [rbp - 0x50], 0
jle 0x1400fbe4e
mov rcx, qword [rbp - 0x58]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x50], 0
jle 0x1400fbe5f
mov rcx, qword [rsp + 0x48]
call fcn.1402bd0e0
mov rsi, qword [rbp - 0x68]
test rsi, rsi
jne 0x1400fbe73
xor eax, eax
mov ebx, eax
mov qword [rsp + 0x38], rax
jmp 0x1400fbe8b
mov rbx, r15
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1400fbe76
xor eax, eax
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1400fbe99
lea rax, [0x14034d1a0]
mov qword [rsp + 0x30], rax
jmp 0x1400fbebe
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
movzx eax, byte [0x14043124a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rbp - 0x48]
mov rcx, r12
call fcn.1400eac70
nop
cmp dword [rsp + 0x38], 0
jle 0x1400fbefa
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x60], 0
jle 0x1400fbf09
mov rcx, qword [rbp - 0x68]
call fcn.1402bd0e0
inc r13d
add r14, 8
movsxd rax, r13d
cmp rax, rdi
jb 0x1400fbda4
mov r12, qword [rsp + 0x58]
mov rbx, qword [rbp - 0x70]
lea r13, [0x14034d1a0]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rsp + 0x78], 0
jle 0x1400fbf4b
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
lea rax, [rbp + 0x640]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov edx, 0x4018
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1400fc00f
lea rax, [rbp + 0x640]
nop dword [rax]
inc r15
cmp word [rax + r15*2], 0
jne 0x1400fbf80
mov qword [rsp + 0x38], 0
test r15d, r15d
jne 0x1400fbfa0
mov qword [rsp + 0x30], r13
jmp 0x1400fbfca
mov edx, r15d
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, r15d
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x640]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, r15d
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
mov rcx, qword [rbp - 0x78]
add rcx, 0xa10
movzx eax, byte [0x14043124a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rbp - 0x48]
call fcn.1400eac70
nop
cmp dword [rsp + 0x38], 0
jle 0x1400fc00f
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
nop
test r12, r12
je 0x1400fc01c
mov rcx, r12
call fcn.14021ae20
mov al, 1
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x960]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret