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

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x148]
sub rsp, 0x248
mov rdi, rcx
mov r14, r8
mov ecx, 0x4000
mov ebx, edx
call sub.msvcrt.dll_malloc
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
mov rsi, rax
call sub.msvcrt.dll_memset
mov r8d, ebx
lea rcx, [rbp - 0x50]
mov rdx, rdi
call fcn.1800032e0
lea rcx, [rbp - 0x50]
call fcn.1800032f0
mov r8d, 0x4000
lea rcx, [rbp - 0x50]
mov rdx, rsi
mov ebx, eax
call fcn.1800033b0
mov edx, 0x200000
lea rcx, [rsp + 0x60]
call fcn.1800016c0
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1800016f0
mov r8d, 0x4000
lea rdx, [0x18000c404]
mov rcx, rsi
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x1800024b9
mov rdx, rsi
mov ecx, 0x4000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r9d, 2
lea r8, [0x18000c468]
mov edx, 0x4000
mov rcx, rsi
call fcn.180006be0
mov r8, rsi
lea rdx, [0x18000c46c]
lea rcx, [rsp + 0x60]
call fcn.180001720
lea rdx, [rbp]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x18000253c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
lea ecx, [r13 + 0x35]
mov r8d, eax
call fcn.180001bc0
lea rcx, [rsp + 0x60]
call fcn.180003330
lea rcx, [rsp + 0x60]
mov ebx, eax
call fcn.180001790
mov rcx, rax
lea r8d, [r13 + 0x17]
mov edx, ebx
call r14
mov rcx, rsi
call sub.msvcrt.dll_free
lea rcx, [rsp + 0x60]
call fcn.180001690
add rsp, 0x248
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rsi
call sub.msvcrt.dll_free
mov qword [rsp + 0x280], r12
mov qword [rsp + 0x240], r15
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x14]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [rsp + 0x50]
xor ecx, ecx
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test byte [rbp], 0x10
movzx ebx, word [rsp + 0x5c]
movzx edi, word [rsp + 0x5a]
movzx esi, word [rsp + 0x58]
movzx r14d, word [rsp + 0x50]
movzx r15d, word [rsp + 0x56]
movzx r12d, word [rsp + 0x52]
je 0x18000260a
mov eax, dword [0x18000c490]
lea rcx, [rsp + 0x78]
movups xmm0, xmmword [str._ns__td20_:d20_:d20__d20__d20__d20__t0_tD]
mov dword [rbp - 0x68], eax
movups xmm1, xmmword [0x18000c480]
movzx eax, word [0x18000c494]
movups xmmword [rsp + 0x78], xmm0
mov word [rbp - 0x64], ax
movups xmmword [rbp - 0x78], xmm1
call sub.msvcrt.dll__strrev
mov rdx, rax
lea rcx, [rsp + 0x60]
lea rax, [rbp + 0x2c]
mov r9d, r15d
mov qword [rsp + 0x40], rax
mov r8d, r12d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
call fcn.180001720
jmp 0x180002689
movups xmm0, xmmword [str._ns__td20_:d20_:d20__d20__d20__d20__td46I__tF]
mov eax, dword [rbp + 0x20]
lea rcx, [rbp - 0x38]
movups xmm1, xmmword [0x18000c4a8]
mov dword [rbp + 0x198], eax
mov eax, dword [rbp + 0x1c]
movups xmmword [rbp - 0x38], xmm0
mov dword [rbp + 0x19c], eax
movsd xmm0, qword [0x18000c4b8]
movzx eax, word [0x18000c4c0]
movsd qword [rbp - 0x18], xmm0
movups xmmword [rbp - 0x28], xmm1
mov word [rbp - 0x10], ax
call sub.msvcrt.dll__strrev
mov r8, qword [rbp + 0x198]
lea rcx, [rsp + 0x60]
mov rdx, rax
mov r9d, r12d
lea rax, [rbp + 0x2c]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r15d
call fcn.180001720
lea rdx, [rbp]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180002560
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x60]
call fcn.180003330
lea rcx, [rsp + 0x60]
mov ebx, eax
call fcn.180001790
mov rcx, rax
mov r8d, 0x16
mov edx, ebx
call qword [rbp + 0x190]
lea rcx, [rsp + 0x60]
call fcn.180001690
mov r15, qword [rsp + 0x240]
mov r12, qword [rsp + 0x280]
add rsp, 0x248
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret