Function at 0x180003db0
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.180006180
lea rcx, [rbp - 0x50]
call fcn.180006190
mov r8d, 0x4000
lea rcx, [rbp - 0x50]
mov rdx, rsi
mov ebx, eax
call fcn.180006250
mov edx, 0x200000
lea rcx, [rsp + 0x60]
call fcn.1800028a0
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1800028d0
mov r8d, 0x4000
lea rdx, [0x1800108a0]
mov rcx, rsi
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x180003e79
mov rdx, rsi
mov ecx, 0x4000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r9d, 2
lea r8, [0x1800108a4]
mov edx, 0x4000
mov rcx, rsi
call fcn.18000b560
mov r8, rsi
lea rdx, [0x1800106a4]
lea rcx, [rsp + 0x60]
call fcn.180002900
lea rdx, [rbp]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x180003efc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
lea ecx, [r13 + 0x35]
mov r8d, eax
call fcn.180002e50
lea rcx, [rsp + 0x60]
call fcn.1800061d0
lea rcx, [rsp + 0x60]
mov ebx, eax
call fcn.180002990
mov rcx, rax
lea r8d, [r13 + 0x17]
mov edx, ebx
call r14
mov rcx, rsi
call fcn.1800092ec
lea rcx, [rsp + 0x60]
call fcn.180002870
add rsp, 0x248
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rsi
call fcn.1800092ec
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 0x180003fca
mov eax, dword [0x1800108c8]
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 [0x1800108b8]
movzx eax, word [0x1800108cc]
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.180002900
jmp 0x180004049
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 [0x1800108e0]
mov dword [rbp + 0x198], eax
mov eax, dword [rbp + 0x1c]
movups xmmword [rbp - 0x38], xmm0
mov dword [rbp + 0x19c], eax
movsd xmm0, qword [0x1800108f0]
movzx eax, word [0x1800108f8]
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.180002900
lea rdx, [rbp]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180003f20
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x60]
call fcn.1800061d0
lea rcx, [rsp + 0x60]
mov ebx, eax
call fcn.180002990
mov rcx, rax
mov r8d, reloc.WS2_32.dll_shutdown
mov edx, ebx
call qword [rbp + 0x190]
lea rcx, [rsp + 0x60]
call fcn.180002870
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