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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x210
mov qword [rsp + 0x68], 0xffffffffffffffff
mov dword [rsp + 0xa0], 0
mov ecx, 0x4000
call fcn.180035368
mov qword [rsp + 0x50], rax
mov rdi, qword [rsp + 0x50]
xor eax, eax
mov ecx, 0x4000
rep stosb byte [rdi], al
mov r8d, dword [rsp + 0x228]
mov rdx, qword [rsp + 0x220]
lea rcx, [rsp + 0xa8]
call fcn.1800168d8
lea rcx, [rsp + 0xa8]
call fcn.18001691c
mov dword [rsp + 0x70], eax
mov r8d, 0x4000
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xa8]
call fcn.180016ad4
mov edx, 0x200000
lea rcx, [rsp + 0x80]
call fcn.18000cbd0
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.18000cc08
mov r8d, 0x4000
lea rdx, [0x18005e3b4]
mov rcx, qword [rsp + 0x50]
call fcn.180036d50
test eax, eax
jne 0x180011163
mov rdx, qword [rsp + 0x50]
mov ecx, 0x4000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r9d, 2
lea r8, [0x18005e3b8]
mov edx, 0x4000
mov rcx, qword [rsp + 0x50]
call fcn.1800362dc
mov r8, qword [rsp + 0x50]
lea rdx, [0x18005e3bc]
lea rcx, [rsp + 0x80]
call fcn.18000cc4c
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x180011206
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_gethostbyname
call fcn.18000dd84
lea rcx, [rsp + 0x80]
call fcn.18000cc3c
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0x80]
call fcn.18000cd70
mov r8d, reloc.WS2_32.dll_shutdown
mov ecx, dword [rsp + 0x74]
mov edx, ecx
mov rcx, rax
call qword [rsp + 0x230]
mov rcx, qword [rsp + 0x50]
call fcn.180035328
lea rcx, [rsp + 0x80]
call fcn.18000cb94
jmp 0x18001138d
mov rcx, qword [rsp + 0x50]
call fcn.180035328
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe4]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0xc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov eax, dword [rsp + 0xd0]
and eax, 0x10
cmp eax, 0x10
jne 0x1800112ac
movzx eax, word [rsp + 0x64]
movzx ecx, word [rsp + 0x62]
movzx edx, word [rsp + 0x60]
movzx edi, word [rsp + 0x58]
movzx r8d, word [rsp + 0x5e]
movzx r9d, word [rsp + 0x5a]
mov dword [rsp + 0x78], r9d
lea r10, [rsp + 0xfc]
mov qword [rsp + 0x40], r10
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edi
mov r9d, r8d
mov eax, dword [rsp + 0x78]
mov r8d, eax
lea rdx, str.D_t0_t_02d__02d__02d__02d:_02d:_02d_t_s_n
lea rcx, [rsp + 0x80]
call fcn.18000cc4c
jmp 0x180011326
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0xec]
mov dword [rsp + 0x9c], eax
movzx eax, word [rsp + 0x64]
movzx ecx, word [rsp + 0x62]
movzx edx, word [rsp + 0x60]
movzx edi, word [rsp + 0x58]
movzx r8d, word [rsp + 0x5e]
movzx r9d, word [rsp + 0x5a]
lea r10, [rsp + 0xfc]
mov qword [rsp + 0x48], r10
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r8d
mov r8, qword [rsp + 0x98]
lea rdx, str.F_t_I64d_t_02d__02d__02d__02d:_02d:_02d_t_s_n
lea rcx, [rsp + 0x80]
call fcn.18000cc4c
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180011210
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x80]
call fcn.18000cc3c
mov dword [rsp + 0x7c], eax
lea rcx, [rsp + 0x80]
call fcn.18000cd70
mov r8d, reloc.WS2_32.dll_shutdown
mov ecx, dword [rsp + 0x7c]
mov edx, ecx
mov rcx, rax
call qword [rsp + 0x230]
lea rcx, [rsp + 0x80]
call fcn.18000cb94
add rsp, 0x210
pop rdi
ret