Function at 0x1400f94e0
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 [0x140415a10]
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, [0x140345f98]
mov edx, 0x104
lea rcx, [rbp + 0x220]
call fcn.1402b9308
lea r8, [rbp + 0x220]
mov edx, 0x104
lea rcx, [rbp + 0x430]
call fcn.1402b6e28
lea r8, [0x14034c84c]
mov edx, 0x104
lea rcx, [rbp + 0x430]
call fcn.1402b9308
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 0x1400f9711
test byte [rbp - 0x30], 0x10
je 0x1400f96ef
movzx ecx, word [rbp - 4]
movzx eax, word [rbp - 2]
cmp cx, word [0x140345c60]
jne 0x1400f95e9
cmp ax, word [0x140345c62]
je 0x1400f96ef
cmp cx, word [0x14034c85c]
jne 0x1400f960c
cmp ax, word [0x14034c85e]
jne 0x1400f960c
movzx eax, word [rbp]
cmp ax, word [0x14034c860]
je 0x1400f96ef
lea rcx, [rbp - 4]
mov rax, r15
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400f9613
lea rdx, [rbp + 0x220]
mov rcx, r15
nop word [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1400f9630
add ecx, 2
add eax, ecx
movsxd rbx, eax
lea rcx, [rbx + rbx]
call fcn.1402b7390
mov r14, rax
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x220]
mov rdx, rbx
mov rcx, rax
call fcn.1402b6e28
lea r8, [rbp - 4]
mov rdx, rbx
mov rcx, r14
call fcn.1402b9308
lea rax, [rsp + 0x40]
cmp rax, rdi
jae 0x1400f96c0
lea rax, [rsp + 0x40]
cmp r12, rax
ja 0x1400f96c0
lea rbx, [rsp + 0x40]
sub rbx, r12
sar rbx, 3
cmp rdi, rsi
jne 0x1400f96b2
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 0x1400f96e6
mov rax, qword [r12 + rbx*8]
mov qword [rdi], rax
jmp 0x1400f96e6
cmp rdi, rsi
jne 0x1400f96de
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 0x1400f96e6
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 0x1400f95c1
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r14, qword [rbp - 0x78]
mov eax, dword [0x140429a00]
lea rsi, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1400f9749
or eax, 1
mov dword [0x140429a00], eax
mov qword [0x1404299e0], rsi
mov qword [0x1404299e8], 0xffffffff80000003
lea rcx, [0x1402fed90]
call fcn.1402b8a74
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 [0x1404299e8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r13, [0x140346ce0]
test eax, eax
jne 0x1400f99bb
lea ecx, [rax + 0x10]
call fcn.1402b6dbc
mov rbx, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400f99bb
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.1400d8ae0
test al, al
je 0x1400f999c
xor r8d, r8d
lea rdx, str._USERPROFILE_
lea rcx, [rsp + 0x70]
call fcn.1401ff2c0
test al, al
je 0x1400f999c
xor ecx, ecx
mov r13d, ecx
sub rdi, r12
sar rdi, 3
test rdi, rdi
je 0x1400f9995
lea rax, [r14 + 0xa08]
mov r14, r12
mov r12, rax
jmp 0x1400f9816
xor ecx, ecx
mov rsi, qword [r14]
test rsi, rsi
jne 0x1400f9827
mov ebx, ecx
mov qword [rsp + 0x50], rsi
jmp 0x1400f9847
mov rbx, r15
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1400f9830
mov qword [rsp + 0x50], 0
test ebx, ebx
jne 0x1400f9855
lea rax, [0x140346ce0]
mov qword [rsp + 0x48], rax
jmp 0x1400f987a
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rsp + 0x48]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401fde50
nop
mov r8d, 0xd
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x70]
call fcn.1401feab0
nop
mov r8, rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.1400d2ba0
nop
cmp dword [rbp - 0x50], 0
jle 0x1400f98be
mov rcx, qword [rbp - 0x58]
call fcn.1402b7350
nop
cmp dword [rsp + 0x50], 0
jle 0x1400f98cf
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
mov rsi, qword [rbp - 0x68]
test rsi, rsi
jne 0x1400f98e3
xor eax, eax
mov ebx, eax
mov qword [rsp + 0x38], rax
jmp 0x1400f98fb
mov rbx, r15
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1400f98e6
xor eax, eax
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1400f9909
lea rax, [0x140346ce0]
mov qword [rsp + 0x30], rax
jmp 0x1400f992e
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rbp - 0x48]
mov rcx, r12
call fcn.1400e8550
nop
cmp dword [rsp + 0x38], 0
jle 0x1400f996a
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
nop
cmp dword [rbp - 0x60], 0
jle 0x1400f9979
mov rcx, qword [rbp - 0x68]
call fcn.1402b7350
inc r13d
add r14, 8
movsxd rax, r13d
cmp rax, rdi
jb 0x1400f9814
mov r12, qword [rsp + 0x58]
mov rbx, qword [rbp - 0x70]
lea r13, [0x140346ce0]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rsp + 0x78], 0
jle 0x1400f99bb
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
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 0x1400f9a7f
lea rax, [rbp + 0x640]
nop dword [rax]
inc r15
cmp word [rax + r15*2], 0
jne 0x1400f99f0
mov qword [rsp + 0x38], 0
test r15d, r15d
jne 0x1400f9a10
mov qword [rsp + 0x30], r13
jmp 0x1400f9a3a
mov edx, r15d
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, r15d
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x640]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, r15d
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
mov rcx, qword [rbp - 0x78]
add rcx, 0xa08
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rbp - 0x48]
call fcn.1400e8550
nop
cmp dword [rsp + 0x38], 0
jle 0x1400f9a7f
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
nop
test r12, r12
je 0x1400f9a8c
mov rcx, r12
call fcn.1402150f0
mov al, 1
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.1402b6d40
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