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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x330], rbx
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rdx
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x70], rcx
lea rax, [0x140323de0]
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x38], rax
lea edx, [rax + 1]
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 1
lea r8, [0x14032967c]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400d1690
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x58]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x60]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x58]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x58]
call fcn.1401ea290
nop
cmp dword [rsp + 0x50], 0
jle 0x1401a61b1
mov rcx, qword [rsp + 0x48]
call fcn.140298600
nop
cmp dword [rsp + 0x38], 0
jle 0x1401a61c2
mov rcx, qword [rsp + 0x30]
call fcn.140298600
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x1401a621a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1401a64c4
mov rcx, rdi
call fcn.1401aba90
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x1401a621a
xor bl, bl
jmp 0x1401a65d5
or rsi, 0xffffffffffffffff
nop
test byte [rbp - 0x60], 0x10
je 0x1401a631c
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, word [0x140322fd0]
jne 0x1401a6248
cmp ax, word [0x140322fd2]
je 0x1401a6491
cmp cx, word [0x14032968c]
jne 0x1401a626b
cmp ax, word [0x14032968e]
jne 0x1401a626b
movzx eax, word [rbp - 0x30]
cmp ax, word [0x140329690]
je 0x1401a6491
lea rax, [rbp - 0x34]
mov rbx, rsi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401a6272
xor eax, eax
mov qword [rsp + 0x70], rax
test ebx, ebx
jne 0x1401a6295
lea rax, [0x140323de0]
mov qword [rsp + 0x68], rax
jmp 0x1401a62bb
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x34]
mov rcx, qword [rsp + 0x68]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401ea290
nop
lea r8, [rsp + 0x68]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400d1690
nop
cmp dword [rsp + 0x70], 0
jle 0x1401a62ec
mov rcx, qword [rsp + 0x68]
call fcn.140298600
lea rdx, [rsp + 0x48]
mov rcx, qword [rbp - 0x70]
call fcn.1401a60c0
test al, al
je 0x1401a64a7
cmp dword [rsp + 0x50], 0
jle 0x1401a648c
mov rcx, qword [rsp + 0x48]
call fcn.140298600
jmp 0x1401a648c
lea rax, [rbp - 0x34]
mov rbx, rsi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401a6323
xor eax, eax
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1401a6346
lea rax, [0x140323de0]
mov qword [rsp + 0x30], rax
jmp 0x1401a636c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x34]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400d1690
nop
cmp dword [rsp + 0x38], 0
jle 0x1401a639c
mov rcx, qword [rsp + 0x30]
call fcn.140298600
xor r8d, r8d
lea rdx, [rbp - 0x80]
call fcn.1401a5f90
movzx eax, al
test eax, eax
jne 0x1401a6478
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1401a645c
lea rcx, [rbp - 0x80]
call fcn.1401aba90
mov rdi, qword [rbp - 0x80]
test rdi, rdi
jne 0x1401a63df
xor eax, eax
mov ebx, eax
mov qword [rsp + 0x28], rax
jmp 0x1401a63f7
mov rbx, rsi
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401a63e2
xor eax, eax
mov qword [rsp + 0x28], rax
test ebx, ebx
jne 0x1401a6405
lea rax, [0x140323de0]
mov qword [rsp + 0x20], rax
jmp 0x1401a642a
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x20]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401ea290
nop
xor r8d, r8d
lea rdx, [rsp + 0x20]
call fcn.1401a5f90
movzx ebx, al
cmp dword [rsp + 0x28], 0
jle 0x1401a6458
mov rcx, qword [rsp + 0x20]
call fcn.140298600
test ebx, ebx
jne 0x1401a6478
mov rbx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8, rbx
lea rcx, str.Error__d:__ls_r_n
call fcn.1401a2060
nop
cmp dword [rbp - 0x78], 0
jle 0x1401a6487
mov rcx, qword [rbp - 0x80]
call fcn.140298600
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x40]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1401a64cb
jmp 0x1401a6220
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp dword [rsp + 0x50], 0
jle 0x1401a64c4
mov rcx, qword [rsp + 0x48]
call fcn.140298600
xor bl, bl
jmp 0x1401a65d5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rdi]
test rbx, rbx
jne 0x1401a64f0
xor eax, eax
mov esi, eax
mov qword [rsp + 0x28], rax
jmp 0x1401a6505
inc rsi
cmp word [rbx + rsi*2], 0
jne 0x1401a64f0
xor eax, eax
mov qword [rsp + 0x28], rax
test esi, esi
jne 0x1401a6513
lea rax, [0x140323de0]
mov qword [rsp + 0x20], rax
jmp 0x1401a6538
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.1401e9030
movsxd r9, esi
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
mov r8, rbx
mov rcx, qword [rsp + 0x20]
call fcn.14029b4d8
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.1401ea290
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
call fcn.1401a5f90
movzx edi, al
cmp dword [rsp + 0x28], 0
jle 0x1401a6566
mov rcx, qword [rsp + 0x20]
call fcn.140298600
test edi, edi
jne 0x1401a65cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x78]
cmp eax, 5
jne 0x1401a65b5
mov rcx, rbx
call fcn.1401aba90
mov rdx, qword [rbx]
lea rcx, [rsp + 0x48]
call fcn.1401e6fd0
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
call fcn.1401a5f90
movzx edi, al
cmp dword [rsp + 0x50], 0
jle 0x1401a65b1
mov rcx, qword [rsp + 0x48]
call fcn.140298600
test edi, edi
jne 0x1401a65cf
mov rbx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8, rbx
lea rcx, str.Error__d:__ls_r_n
call fcn.1401a2060
cmp edi, 1
sete bl
cmp dword [rsp + 0x60], 0
jle 0x1401a65e6
mov rcx, qword [rsp + 0x58]
call fcn.140298600
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x330]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret