Function at 0x18001a0c4
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov r8d, dword [0x180033bc8]
mov rbp, rcx
mov rcx, qword [0x1800339a8]
xor edx, edx
xor r8, 0x63699ac7
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp rax, rbx
mov r12, rax
je 0x18001a27f
mov r8d, dword [0x180033bc8]
mov rcx, qword [0x1800339a8]
mov esi, 0x63699bce
xor r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp rax, rbx
mov rdi, rax
je 0x18001a26d
mov r8d, dword [0x180033bc8]
xor edx, edx
mov rcx, rax
xor r8, rsi
call sub.ntdll.dll_memset
mov rax, qword [0x180033bd0]
lea r13, [0x180000000]
lea rcx, [rax + r13 + 0x3751f]
call fcn.180007288
cmp rax, rbx
mov r12, rax
je 0x18001a25b
or eax, 0xffffffff
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x1d8], eax
mov dword [rsp + 0x1dc], eax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x18001a1e9
lea rdx, [rsp + 0x1d8]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
movabs r11, 0xc92a69c000
mov rcx, rsi
add qword [rsp + 0x1d8], r11
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8w, 0x5c
xor edx, edx
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_StrRChrA]
mov rcx, r12
mov r14d, ebx
mov byte [rax], bl
mov eax, dword [rbp]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
movzx r15d, al
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
movzx esi, al
mov dword [rbp], eax
mov rax, qword [0x180033bd0]
lea rdx, [rax + r13 + 0x37e69]
mov dword [rsp + 0x1d0], esi
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
mov r13, rax
jne 0x18001a2de
mov rcx, qword [0x1800339a8]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x1800339a8]
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebx
jne 0x18001a2de
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r13, rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x1dc], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x1d8], eax
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, ebx
jg 0x18001a29c
mov ebp, ebx
cmp ebp, r15d
jbe 0x18001a307
cmp ebp, esi
ja 0x18001a3a7
cmp ebp, r15d
je 0x18001a30d
cmp ebp, esi
jne 0x18001a35c
lea rcx, [rsp + 0x6c]
mov dx, 0x2e
call qword [sym.imp.SHLWAPI.dll_StrChrA]
mov rsi, rax
lea rax, [rsp + 0x6c]
sub esi, eax
cmp r14d, ebx
mov eax, ebx
je 0x18001a335
lea eax, [rsi - 4]
cmp eax, esi
cmova eax, ebx
mov ecx, 4
lea rdx, [rsp + rax + 0x6c]
cmp esi, ecx
cmova esi, ecx
mov ecx, r14d
add rcx, rdi
mov r8d, esi
call sub.ntdll.dll_memcpy
add r14d, esi
mov esi, dword [rsp + 0x1d0]
lea rdx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebx
jne 0x18001a388
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r13, rax
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, ebx
jg 0x18001a35c
add ebp, 1
jmp 0x18001a2f7
mov rax, qword [rsp + 0x1c8]
mov qword [rax], rdi
jmp 0x18001a3c0
cmp al, 0x30
jge 0x18001a3bc
add al, 0x20
mov byte [rdi], al
add rdi, 1
mov al, byte [rdi]
cmp al, bl
jne 0x18001a3b4
mov rcx, r13
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x18001a26d