Function at 0x18008dad0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x420
mov qword [rsp + 0x3f0], 0xfffffffffffffffe
mov rax, qword [0x180284030]
xor rax, rsp
mov qword [rsp + 0x418], rax
mov rcx, qword [rsp + 0x438]
call fcn.18008fa70
movzx eax, al
test eax, eax
jne 0x18008db3f
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x5c4
lea rdx, [0x1801b2140]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18008db3f
int3
lea rcx, [rsp + 0x30]
call fcn.18008fc00
nop
mov rdx, qword [rsp + 0x430]
lea rcx, [rsp + 0x30]
call fcn.18008fbd0
lea rcx, [rsp + 0x30]
call fcn.18008fb10
movzx eax, al
test eax, eax
jne 0x18008de40
lea rcx, [rsp + 0x30]
call fcn.18008fb70
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180001820
nop
mov dword [rsp + 0xa0], 0
lea rax, [rsp + 0xa4]
mov rdi, rax
xor eax, eax
mov ecx, 0x24c
rep stosb byte [rdi], al
lea rdx, str..
lea rcx, [rsp + 0x360]
call fcn.1800334a0
nop
lea r8, [rsp + 0x360]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.180033cc0
nop
lea rcx, [rsp + 0x360]
call fcn.18000165e
lea rcx, [rsp + 0x68]
call fcn.18000122b
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0xffffffffffffffff
jne 0x18008dc53
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x380], 1
lea rcx, [rsp + 0x68]
call fcn.18000165e
nop
lea rcx, [rsp + 0x48]
call fcn.18000165e
nop
lea rcx, [rsp + 0x30]
call fcn.18008fc40
movzx eax, byte [rsp + 0x380]
jmp 0x18008de5a
movzx eax, word [rsp + 0xcc]
cmp eax, 0x2e
jne 0x18008dc65
jmp 0x18008ddef
lea rdx, [rsp + 0xcc]
lea rcx, [rsp + 0x2f0]
call fcn.1800334a0
nop
lea rdx, [0x1801b19f4]
lea rcx, [rsp + 0x388]
call fcn.1800334a0
nop
lea r8, [rsp + 0x388]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3a8]
call fcn.180033cc0
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x400], rax
lea r8, [rsp + 0x2f0]
mov rdx, qword [rsp + 0x400]
lea rcx, [rsp + 0x3c8]
call fcn.180033cc0
mov qword [rsp + 0x408], rax
mov rax, qword [rsp + 0x408]
mov qword [rsp + 0x410], rax
mov rdx, qword [rsp + 0x410]
lea rcx, [rsp + 0x2f0]
call fcn.180001d6b
nop
lea rcx, [rsp + 0x3c8]
call fcn.18000165e
nop
lea rcx, [rsp + 0x3a8]
call fcn.18000165e
nop
lea rcx, [rsp + 0x388]
call fcn.18000165e
mov eax, dword [rsp + 0xa0]
and eax, 0x10
test eax, eax
je 0x18008dd74
lea rcx, [rsp + 0x2f0]
call fcn.18000122b
mov rdx, rax
lea rcx, [0x1801b2164]
call fcn.180038160
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x30]
call fcn.18008fbd0
jmp 0x18008dde2
lea rcx, [rsp + 0x310]
call fcn.18008f5d0
nop
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x318]
call fcn.180001d6b
mov dword [rsp + 0x310], 0
lea rcx, [rsp + 0x2f0]
call fcn.18000122b
mov rdx, rax
lea rcx, [0x1801b216c]
call fcn.180038160
lea rdx, [rsp + 0x310]
mov rcx, qword [rsp + 0x438]
call fcn.18008fab0
nop
lea rcx, [rsp + 0x310]
call fcn.180084800
nop
lea rcx, [rsp + 0x2f0]
call fcn.18000165e
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18008dc53
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x30]
call fcn.18008fb50
nop
lea rcx, [rsp + 0x68]
call fcn.18000165e
nop
lea rcx, [rsp + 0x48]
call fcn.18000165e
jmp 0x18008db5c
mov byte [rsp + 0x3e8], 1
lea rcx, [rsp + 0x30]
call fcn.18008fc40
movzx eax, byte [rsp + 0x3e8]
mov rcx, qword [rsp + 0x418]
xor rcx, rsp
call fcn.1800d65d0
add rsp, 0x420
pop rdi
ret