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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rdi, rcx
mov r15d, 0x4000
mov ecx, r15d
mov r14, r8
mov ebx, edx
call sub.msvcrt.dll_malloc
mov r8d, r15d
xor edx, edx
mov rcx, rax
mov rsi, rax
call sub.msvcrt.dll_memset
mov r8d, ebx
lea rcx, [rbp - 0x50]
mov rdx, rdi
call fcn.180005a80
lea rcx, [rbp - 0x50]
call fcn.180005a90
mov r8d, r15d
lea rcx, [rbp - 0x50]
mov rdx, rsi
mov ebx, eax
call fcn.180005b1c
mov edx, 0x200000
lea rcx, [rsp + 0x60]
call fcn.18000270c
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.18000273c
mov r8d, r15d
lea rdx, [0x1800108c8]
mov rcx, rsi
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x180003a88
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r9d, 2
lea r8, [0x1800108cc]
mov edx, r15d
mov rcx, rsi
call fcn.18000a6f0
mov r8, rsi
lea rdx, [0x1800106c4]
lea rcx, [rsp + 0x60]
call fcn.180002770
lea rdx, [rbp]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x180003af6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
lea ecx, [r13 + 0x35]
mov r8d, eax
call fcn.180002bf0
lea rcx, [rsp + 0x60]
call fcn.18000276c
lea rcx, [rsp + 0x60]
mov ebx, eax
call fcn.1800027cc
mov rcx, rax
lea r8d, [r13 + 0x17]
mov edx, ebx
call r14
mov rcx, rsi
call fcn.18000847a
jmp 0x180003c6c
mov rcx, rsi
call fcn.18000847a
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 0x180003ba8
mov eax, dword [0x1800108f0]
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 [0x1800108e0]
movzx eax, word [0x1800108f4]
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.180002770
jmp 0x180003c27
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 [0x180010908]
mov dword [rbp + 0x198], eax
mov eax, dword [rbp + 0x1c]
movups xmmword [rbp - 0x38], xmm0
mov dword [rbp + 0x19c], eax
movsd xmm0, qword [0x180010918]
movzx eax, word [0x180010920]
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.180002770
lea rdx, [rbp]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180003afe
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x60]
call fcn.18000276c
lea rcx, [rsp + 0x60]
mov ebx, eax
call fcn.1800027cc
mov rcx, rax
mov r8d, reloc.WS2_32.dll_shutdown
mov edx, ebx
call qword [rbp + 0x190]
lea rcx, [rsp + 0x60]
call fcn.1800026e8
mov rbx, qword [rsp + 0x280]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret