Function at 0x1401f4290
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 - 0x21d8]
mov eax, 0x22d8
call fcn.1402c8f60
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
movzx r14d, r9b
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x50], rdx
mov r13, rcx
mov r15, qword [rbp + 0x2240]
mov rdi, qword [rbp + 0x2248]
mov r8, qword [rdx]
mov edx, 0x800
lea rcx, [rbp + 0x11c0]
call fcn.1402b6e28
lea r8, [0x140366f80]
mov edx, 0x800
lea rcx, [rbp + 0x11c0]
call fcn.1402b9308
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x11c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1401f459c
nop word [rax + rax]
test byte [rsp + 0x70], 0x10
je 0x1401f4470
test r14b, r14b
je 0x1401f457d
movzx ecx, word [rbp - 0x64]
movzx eax, word [rbp - 0x62]
cmp cx, word [0x140345c60]
jne 0x1401f4372
cmp ax, word [0x140345c62]
je 0x1401f457d
cmp cx, word [0x14034c85c]
jne 0x1401f4395
cmp ax, word [0x14034c85e]
jne 0x1401f4395
movzx eax, word [rbp - 0x60]
cmp ax, word [0x14034c860]
je 0x1401f457d
mov r8, qword [rbx]
mov edx, 0x800
lea rcx, [rbp + 0x1c0]
call fcn.1402b6e28
lea r8, [0x140345f98]
mov edx, 0x800
lea rcx, [rbp + 0x1c0]
call fcn.1402b9308
lea r8, [rbp - 0x64]
mov edx, 0x800
lea rcx, [rbp + 0x1c0]
call fcn.1402b9308
lea rax, [rbp + 0x1c0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f43e1
xor eax, eax
mov qword [rsp + 0x48], rax
test ebx, ebx
jne 0x1401f4404
lea rax, [0x140346ce0]
mov qword [rsp + 0x40], rax
jmp 0x1401f442d
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x1c0]
mov rcx, qword [rsp + 0x40]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
mov rax, qword [r13]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
movzx r9d, r14b
mov r8, rsi
lea rdx, [rsp + 0x40]
mov rcx, r13
call qword [rax + 0x10]
nop
cmp dword [rsp + 0x48], 0
jle 0x1401f4578
mov rcx, qword [rsp + 0x40]
jmp 0x1401f4573
cmp dword [rsi + 0xc], 0
je 0x1401f449b
mov rdx, qword [rsi]
lea rcx, [rbp - 0x64]
call fcn.1402b71dc
test eax, eax
je 0x1401f449b
test rdi, rdi
je 0x1401f457d
lock inc dword [rdi + 0x728]
jmp 0x1401f457d
mov r8, qword [rbx]
mov edx, 0x800
lea rcx, [rbp + 0x1c0]
call fcn.1402b6e28
lea r8, [0x140345f98]
mov edx, 0x800
lea rcx, [rbp + 0x1c0]
call fcn.1402b9308
lea r8, [rbp - 0x64]
mov edx, 0x800
lea rcx, [rbp + 0x1c0]
call fcn.1402b9308
lea rax, [rbp + 0x1c0]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f44f0
xor eax, eax
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1401f4513
lea rax, [0x140346ce0]
mov qword [rsp + 0x30], rax
jmp 0x1401f453c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x1c0]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.1400e8550
nop
cmp dword [rsp + 0x38], 0
jle 0x1401f4578
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov rbx, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401f4340
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.1402b6d40
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret