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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x14006a030]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r12, rcx
xor edi, edi
lea r8d, [rdi + 0x11]
lea rdx, str._n_nrecent_folder:
call fcn.140004650
lea r9, [rbp - 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400554c0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140002802
mov r14, qword [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [r14 + rbx*2], di
jne 0x140002422
movabs r15, 0x7ffffffffffffffe
cmp rbx, r15
ja 0x140002839
mov qword [rsp + 0x48], 7
cmp rbx, 8
jae 0x140002470
mov qword [rsp + 0x40], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.14002fd70
mov word [rsp + rbx + 0x30], di
jmp 0x140002520
mov rax, rbx
or rax, 7
cmp rax, r15
jbe 0x14000248c
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400024be
mov r15, rax
mov ecx, 0xa
cmp rax, rcx
cmovb r15, rcx
lea rcx, [r15 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140002833
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400024ea
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002833
mov rcx, rax
call fcn.14002e19c
test rax, rax
je 0x140002845
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400024fc
test rcx, rcx
je 0x1400024f9
call fcn.14002e19c
mov rsi, rax
jmp 0x1400024fc
mov rsi, rdi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r15
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.14002fd70
mov word [rbx + rsi], di
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x140002561
lea rax, [rcx + 2]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 8
cmovae rax, qword [rsp + 0x30]
mov dword [rax + rcx*2], 0x2a005c
mov word [rax + rcx*2 + 4], di
lea rax, [rsp + 0x30]
jmp 0x140002582
mov qword [rsp + 0x20], 2
lea r9, [0x1400617f4]
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rsp + 0x30]
call fcn.140005760
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000260f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000260a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000283f
call fcn.14002e428
movdqa xmm0, xmmword [0x1400619f0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], di
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140002663
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000265e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002845
call fcn.14002e428
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
cmp rsi, 0xffffffffffffffff
je 0x1400027f8
test byte [rbp + 0x20], 0x10
lea ebx, [rdi + 1]
cmovne ebx, edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x60]
call fcn.140003be0
nop
lea r9, [rbp + 0x4c]
cmp word [rbp + 0x4c], 0
je 0x1400026cf
add r9, 2
cmp word [r9], 0
jne 0x1400026c4
lea r8, [rbp + 0x4c]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.140004200
nop
lea rcx, [rbp - 0x60]
call fcn.140003af0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, r12
call fcn.140004650
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140002748
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002743
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000282d
call fcn.14002e428
mov r8d, 1
lea rdx, [0x1400617fc]
mov rcx, r12
call fcn.140004650
lea rdx, [rbp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140002775
mov edi, ebx
jmp 0x140002680
mov r8d, 0x17
lea rdx, str._n_nrecent_folder_count:
mov rcx, r12
call fcn.140004650
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140004770
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, r12
call fcn.140004650
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400027ef
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000282d
call fcn.14002e428
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.14002dee0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140037554
int3
call fcn.140001240
int3
call fcn.1400012e0
nop
call fcn.140037554
nop
call fcn.140037554
int3