Function at 0x180002cb0
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 fcn.18000fc98
mov r8d, ebx
lea rcx, [rbp - 0x50]
mov rdx, rdi
call fcn.180005c80
lea rcx, [rbp - 0x50]
call fcn.180005c90
mov r8d, 0x4000
lea rcx, [rbp - 0x50]
mov rdx, rsi
mov ebx, eax
call fcn.180005d40
mov edx, 0x200000
lea rcx, [rsp + 0x60]
call fcn.180001790
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1800017c0
mov r8d, 0x4000
lea rdx, [0x180011dbc]
mov rcx, rsi
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x180002d79
mov rdx, rsi
mov ecx, 0x4000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r9d, 2
lea r8, [0x180011e20]
mov edx, 0x4000
mov rcx, rsi
call fcn.18000bd70
mov r8, rsi
lea rdx, [0x180011e24]
lea rcx, [rsp + 0x60]
call fcn.180001800
lea rdx, [rbp]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x180002dfc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
lea ecx, [r13 + 0x35]
mov r8d, eax
call fcn.180001d60
lea rcx, [rsp + 0x60]
call fcn.1800017f0
lea rcx, [rsp + 0x60]
mov ebx, eax
call fcn.180001870
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.180001760
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 0x180002eca
mov eax, dword [0x180011e48]
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 [0x180011e38]
movzx eax, word [0x180011e4c]
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.180001800
jmp 0x180002f49
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 [0x180011e60]
mov dword [rbp + 0x198], eax
mov eax, dword [rbp + 0x1c]
movups xmmword [rbp - 0x38], xmm0
mov dword [rbp + 0x19c], eax
movsd xmm0, qword [0x180011e70]
movzx eax, word [0x180011e78]
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.180001800
lea rdx, [rbp]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180002e20
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x60]
call fcn.1800017f0
lea rcx, [rsp + 0x60]
mov ebx, eax
call fcn.180001870
mov rcx, rax
mov r8d, reloc.WS2_32.dll_shutdown
mov edx, ebx
call qword [rbp + 0x190]
lea rcx, [rsp + 0x60]
call fcn.180001760
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