Function at 0x180003d40
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
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rdi, rcx
mov ebx, edx
mov ecx, 0x4000
call qword [sym.imp.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, [rsp + 0x60]
mov rdx, rdi
call fcn.180005f70
lea rcx, [rsp + 0x60]
call fcn.180005f80
mov r8d, 0x4000
lea rcx, [rsp + 0x60]
mov rdx, rsi
mov ebx, eax
call fcn.1800060e0
mov edx, 0x200000
lea rcx, [rsp + 0x60]
call fcn.180002850
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1800028c0
mov r8d, 0x4000
lea rdx, [0x1800114c0]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_strncmp]
test eax, eax
jne 0x180003e09
mov rdx, rsi
mov ecx, 0x4000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r9d, 2
lea r8, [0x1800114c4]
mov edx, 0x4000
mov rcx, rsi
call fcn.18000afc0
mov r8, rsi
lea rdx, [0x180011348]
lea rcx, [rsp + 0x60]
call fcn.180002940
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x180003e8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
lea ecx, [r13 + 0x35]
mov r8d, eax
call fcn.180002de0
lea rcx, [rsp + 0x60]
call fcn.1800029f0
lea rcx, [rsp + 0x60]
mov edx, eax
call fcn.1800029e0
mov rcx, rax
lea r8d, [r13 + 0x17]
call fcn.180001c60
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
lea rcx, [rsp + 0x60]
call fcn.1800029b0
add rsp, 0x220
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
mov qword [rsp + 0x250], r12
mov qword [rsp + 0x258], r14
mov qword [rsp + 0x268], r15
nop dword [rax]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0xc]
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 - 0x20], 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 0x180003f5a
mov eax, dword [0x1800114e8]
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 [0x1800114d8]
movzx eax, word [0x1800114ec]
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 + 0xc]
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.180002940
jmp 0x180003fd9
movups xmm0, xmmword [str._ns__td20_:d20_:d20__d20__d20__d20__td46I__tF]
mov eax, dword [rbp]
lea rcx, [rbp - 0x50]
movups xmm1, xmmword [0x180011500]
mov dword [rbp + 0x160], eax
mov eax, dword [rbp - 4]
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp + 0x164], eax
movsd xmm0, qword [0x180011510]
movzx eax, word [0x180011518]
movsd qword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x28], ax
call sub.msvcrt.dll__strrev
mov r8, qword [rbp + 0x160]
lea rcx, [rsp + 0x60]
mov rdx, rax
mov r9d, r12d
lea rax, [rbp + 0xc]
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.180002940
lea rdx, [rbp - 0x20]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180003eb0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x60]
call fcn.1800029f0
lea rcx, [rsp + 0x60]
mov edx, eax
call fcn.1800029e0
mov rcx, rax
mov r8d, reloc.WS2_32.dll_shutdown
call fcn.180001c60
lea rcx, [rsp + 0x60]
call fcn.1800029b0
mov r15, qword [rsp + 0x268]
mov r14, qword [rsp + 0x258]
mov r12, qword [rsp + 0x250]
add rsp, 0x220
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret