Function at 0x1401f3ed0
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.1402c8f60
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x140415a10]
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.1402b6e28
lea r8, [0x140366f80]
mov edx, 0x800
lea rcx, [rbp + 0x11f0]
call fcn.1402b9308
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 0x1401f4264
test byte [rbp - 0x60], 0x10
je 0x1401f40b2
test r13b, r13b
je 0x1401f4241
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, word [0x140345c60]
jne 0x1401f3fb5
cmp ax, word [0x140345c62]
je 0x1401f4241
cmp cx, word [0x14034c85c]
jne 0x1401f3fd8
cmp ax, word [0x14034c85e]
jne 0x1401f3fd8
movzx eax, word [rbp - 0x30]
cmp ax, word [0x14034c860]
je 0x1401f4241
mov r8, qword [r14]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402b6e28
lea r8, [0x140345f98]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402b9308
lea r8, [rbp - 0x34]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402b9308
lea rax, [rbp + 0x1f0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f4024
xor eax, eax
mov qword [rsp + 0x50], rax
test ebx, ebx
jne 0x1401f4047
lea rax, [0x140346ce0]
mov qword [rsp + 0x48], rax
jmp 0x1401f4070
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x1f0]
mov rcx, qword [rsp + 0x48]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401fde50
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 0x1401f423c
mov rcx, qword [rsp + 0x48]
jmp 0x1401f4237
mov edx, 0x2e
lea rcx, [rbp - 0x34]
call fcn.1402ba31c
mov r14, rax
test rax, rax
je 0x1401f4223
mov rbx, qword [r12]
mov rdi, qword [rbx + 8]
mov rsi, rbx
cmp byte [rdi + 0x19], 0
jne 0x1401f4102
nop dword [rax]
mov rdx, r14
mov rcx, qword [rdi + 0x20]
call fcn.1402b71dc
test eax, eax
jns 0x1401f40f6
mov rdi, qword [rdi + 0x10]
jmp 0x1401f40fc
mov rsi, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x1401f40e0
cmp rsi, qword [r12]
je 0x1401f4124
mov rdx, qword [rsi + 0x20]
mov rcx, r14
call fcn.1402b71dc
test eax, eax
js 0x1401f4124
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x68]
jmp 0x1401f4132
mov rax, qword [r12]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
cmp qword [rax], rbx
je 0x1401f4219
mov r14, qword [rsp + 0x58]
mov r8, qword [r14]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402b6e28
lea r8, [0x140345f98]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402b9308
lea r8, [rbp - 0x34]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402b9308
lea rax, [rbp + 0x1f0]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f4190
xor eax, eax
mov qword [rsp + 0x40], rax
test ebx, ebx
jne 0x1401f41b3
lea rax, [0x140346ce0]
mov qword [rsp + 0x38], rax
jmp 0x1401f41dc
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x1f0]
mov rcx, qword [rsp + 0x38]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1401fde50
nop
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x38]
lea rdx, [rbp - 0x78]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400e8550
nop
cmp dword [rsp + 0x40], 0
jle 0x1401f423c
mov rcx, qword [rsp + 0x38]
jmp 0x1401f4237
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x58]
test r15, r15
je 0x1401f4241
lock inc dword [r15 + 0x728]
jmp 0x1401f4241
call fcn.1402b7350
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 0x1401f3f84
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov rcx, qword [rbp + 0x21f0]
xor rcx, rsp
call fcn.1402b6d40
add rsp, 0x2308
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret