Function at 0x180001d50
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x180017008]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov rax, qword [0x180018ee0]
mov r15, rcx
cmp dword [rax + 0x10], 0x64
jge 0x1800020b2
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x250
call fcn.180003580
mov r8, r15
lea rdx, str._s
lea rcx, [rbp + 0x380]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1800020b2
mov qword [rsp + 0x6c8], rbx
mov qword [rsp + 0x6d0], rsi
mov qword [rsp + 0x6d8], rdi
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x208
call fcn.180003580
lea r9, [rsp + 0x4c]
mov r8, r15
lea rdx, str._s_s
lea rcx, [rbp + 0x170]
call qword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [rsp + 0x20]
and eax, 0x10
je 0x180001e42
cmp word [rsp + 0x4c], 0x2e
je 0x180001e42
lea rcx, [rbp + 0x170]
call fcn.180001d50
jmp 0x180002067
test eax, eax
jne 0x180002067
cmp dword [rsp + 0x3c], eax
ja 0x180002067
cmp dword [rsp + 0x40], 0xa00000
ja 0x180002067
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov r8d, 4
lea rdx, str..exe
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x180002067
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov r8d, 4
lea rdx, str..cxr
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x180002067
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov r8d, 4
lea rdx, str..dll
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x180002067
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov r8d, 4
lea rdx, str..dln
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x180002067
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov r8d, 4
lea rdx, str..bin
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x180002067
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov r8d, 4
lea rdx, str..log
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x180002067
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov r8d, 4
lea rdx, str..csv
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x180002067
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov r8d, 4
lea rdx, str..ndx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x180002067
lea rcx, [rbp + 0x170]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x180001fc0
mov rbx, qword [0x180018ee0]
lea esi, [rax*2 + 2]
test rbx, rbx
je 0x180002057
test esi, esi
je 0x180002057
mov edx, 0x18
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x180002057
mov dword [rax + 0x10], esi
mov ecx, 0x40
movsxd rsi, esi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi + 8], rax
test rsi, rsi
je 0x18000203f
test rax, rax
jne 0x18000202d
call fcn.1800046f8
mov dword [rax], 0x16
call fcn.1800045d8
jmp 0x180002057
mov r8, rsi
lea rdx, [rbp + 0x170]
mov rcx, rax
call fcn.180003e50
mov rax, qword [rbx + 8]
test rax, rax
jne 0x18000204d
mov qword [rbx], rdi
jmp 0x180002050
mov qword [rax], rdi
inc dword [rbx + 0x10]
mov qword [rbx + 8], rdi
mov edx, dword [rsp + 0x40]
lea rcx, [rbp + 0x170]
call fcn.180001b10
mov rax, qword [0x180018ee0]
cmp dword [rax + 0x10], 0x64
jge 0x18000208a
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180001df0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x6d8]
mov eax, 1
mov rsi, qword [rsp + 0x6d0]
mov rbx, qword [rsp + 0x6c8]
jmp 0x1800020b4
xor eax, eax
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.180002480
add rsp, 0x6a0
pop r15
pop r14
pop rbp
ret