Function at 0x1401f65f0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2208]
mov eax, 0x2308
call fcn.1402cb740
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x21f0], rax
movzx r13d, r9b
mov r12, r8
mov r14, rdx
mov qword [rsp + 0x58], rdx
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov rdi, qword [rbp + 0x2270]
mov qword [rsp + 0x60], rdi
mov r15, qword [rbp + 0x2278]
mov r8, qword [rdx]
mov edx, 0x800
lea rcx, [rbp + 0x11f0]
call fcn.1402b96f8
lea r8, [0x140369790]
mov edx, 0x800
lea rcx, [rbp + 0x11f0]
call fcn.1402bbbd8
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x11f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x1401f6984
test byte [rbp - 0x60], 0x10
je 0x1401f67d2
test r13b, r13b
je 0x1401f6961
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, word [0x140347c20]
jne 0x1401f66d5
cmp ax, word [0x140347c22]
je 0x1401f6961
cmp cx, word [0x14034e8ac]
jne 0x1401f66f8
cmp ax, word [0x14034e8ae]
jne 0x1401f66f8
movzx eax, word [rbp - 0x30]
cmp ax, word [0x14034e8b0]
je 0x1401f6961
mov r8, qword [r14]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402b96f8
lea r8, [0x140347f58]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402bbbd8
lea r8, [rbp - 0x34]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402bbbd8
lea rax, [rbp + 0x1f0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f6744
xor eax, eax
mov qword [rsp + 0x50], rax
test ebx, ebx
jne 0x1401f6767
lea rax, [0x140348ca0]
mov qword [rsp + 0x48], rax
jmp 0x1401f6790
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x1f0]
mov rcx, qword [rsp + 0x48]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.140200570
nop
mov rax, qword [rsi]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
movzx r9d, r13b
mov r8, r12
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [rax + 0x18]
nop
cmp dword [rsp + 0x50], 0
jle 0x1401f695c
mov rcx, qword [rsp + 0x48]
jmp 0x1401f6957
mov edx, 0x2e
lea rcx, [rbp - 0x34]
call fcn.1402bcbec
mov r14, rax
test rax, rax
je 0x1401f6943
mov rbx, qword [r12]
mov rdi, qword [rbx + 8]
mov rsi, rbx
cmp byte [rdi + 0x19], 0
jne 0x1401f6822
nop dword [rax]
mov rdx, r14
mov rcx, qword [rdi + 0x20]
call fcn.1402b9aac
test eax, eax
jns 0x1401f6816
mov rdi, qword [rdi + 0x10]
jmp 0x1401f681c
mov rsi, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x1401f6800
cmp rsi, qword [r12]
je 0x1401f6844
mov rdx, qword [rsi + 0x20]
mov rcx, r14
call fcn.1402b9aac
test eax, eax
js 0x1401f6844
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x68]
jmp 0x1401f6852
mov rax, qword [r12]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
cmp qword [rax], rbx
je 0x1401f6939
mov r14, qword [rsp + 0x58]
mov r8, qword [r14]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402b96f8
lea r8, [0x140347f58]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402bbbd8
lea r8, [rbp - 0x34]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402bbbd8
lea rax, [rbp + 0x1f0]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f68b0
xor eax, eax
mov qword [rsp + 0x40], rax
test ebx, ebx
jne 0x1401f68d3
lea rax, [0x140348ca0]
mov qword [rsp + 0x38], rax
jmp 0x1401f68fc
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x1f0]
mov rcx, qword [rsp + 0x38]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.140200570
nop
movzx eax, byte [0x14042c16a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x38]
lea rdx, [rbp - 0x78]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400e97f0
nop
cmp dword [rsp + 0x40], 0
jle 0x1401f695c
mov rcx, qword [rsp + 0x38]
jmp 0x1401f6957
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x58]
test r15, r15
je 0x1401f6961
lock inc dword [r15 + 0x728]
jmp 0x1401f6961
call fcn.1402b9c20
mov rbx, qword [rsp + 0x30]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov rsi, qword [rsp + 0x78]
jne 0x1401f66a4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov rcx, qword [rbp + 0x21f0]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0x2308
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret