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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xad8]
sub rsp, 0xbd8
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0xac0], rax
movzx esi, r9b
mov byte [rsp + 0x40], r9b
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x28], rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor eax, eax
mov qword [rbp - 0x68], rax
lea edx, [rax + 1]
lea rcx, [rbp - 0x70]
call fcn.1401e9030
mov eax, dword [rbp - 0x68]
inc eax
movsxd rdx, eax
mov r9d, 1
lea r8, [0x14032967c]
mov rcx, qword [rbp - 0x70]
call fcn.14029b4d8
mov edx, 1
lea rcx, [rbp - 0x70]
call fcn.1401ea290
nop
lea r8, [rbp - 0x70]
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.1400d1690
nop
cmp dword [rbp - 0x68], 0
jle 0x14015b194
mov rcx, qword [rbp - 0x70]
call fcn.140298600
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
jne 0x14015b1b7
xor bl, bl
jmp 0x14015b5d2
lea rdx, [0x140323de0]
nop
test sil, sil
je 0x14015b2d6
test byte [rbp + 0x70], 0x10
je 0x14015b2d6
movzx ecx, word [rbp + 0x9c]
movzx eax, word [rbp + 0x9e]
cmp cx, word [0x140322fd0]
jne 0x14015b1f7
cmp ax, word [0x140322fd2]
je 0x14015b2d6
cmp cx, word [0x14032968c]
jne 0x14015b21d
cmp ax, word [0x14032968e]
jne 0x14015b21d
movzx eax, word [rbp + 0xa0]
cmp ax, word [0x140329690]
je 0x14015b2d6
lea rax, [rbp + 0x9c]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14015b230
xor eax, eax
mov qword [rsp + 0x78], rax
test ebx, ebx
jne 0x14015b24c
mov qword [rsp + 0x70], rdx
jmp 0x14015b275
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x9c]
mov rcx, qword [rsp + 0x70]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401ea290
nop
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.1400d1690
nop
cmp dword [rsp + 0x78], 0
jle 0x14015b2a5
mov rcx, qword [rsp + 0x70]
call fcn.140298600
movzx r9d, sil
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.14015b0f0
nop
cmp dword [rbp - 0x18], 0
jle 0x14015b2ca
mov rcx, qword [rbp - 0x20]
call fcn.140298600
lea rdx, [0x140323de0]
mov rbx, qword [rsp + 0x68]
test dword [rbp + 0x70], 0x400
je 0x14015b5ab
lea rax, [rbp + 0x9c]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14015b2f0
xor esi, esi
mov qword [rsp + 0x60], rsi
test ebx, ebx
jne 0x14015b30c
mov qword [rsp + 0x58], rdx
jmp 0x14015b335
mov edx, ebx
lea rcx, [rsp + 0x58]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x60]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x9c]
mov rcx, qword [rsp + 0x58]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x58]
call fcn.1401ea290
nop
lea r8, [rsp + 0x58]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400d1690
nop
cmp dword [rsp + 0x60], 0
jle 0x14015b365
mov rcx, qword [rsp + 0x58]
call fcn.140298600
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x88
lea r8d, [r9 + 3]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14015b592
xor eax, eax
mov qword [rsp + 0x38], rax
lea rax, [rbp]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x800
lea rax, [rbp + 0x2c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x900a8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14015b588
cmp dword [rbp + 0x2c0], 0xa000000c
jne 0x14015b588
movzx edi, word [rbp + 0x2ce]
shr edi, 1
movzx eax, word [rbp + 0x2cc]
shr rax, 1
lea rbx, [rbp + 0x2d4]
lea rbx, [rbx + rax*2]
lea rax, [0x140323de0]
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x50], rax
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.1401e9030
mov r8d, edi
add r8, r8
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call fcn.140298710
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.1401ea290
lea rcx, [0x140323de0]
mov qword [rbp - 0x60], rcx
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rax
mov edx, dword [rbp - 0x74]
lea rcx, [rbp - 0x60]
call fcn.1401e9030
movsxd r9, dword [rbp - 0x74]
mov eax, dword [rbp - 0x58]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x60]
call fcn.14029b4d8
mov edx, dword [rbp - 0x74]
lea rcx, [rbp - 0x60]
call fcn.1401ea290
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x50]
call fcn.1401e9030
movsxd r9, dword [rsp + 0x54]
mov eax, dword [rbp - 0x48]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x50]
call fcn.14029b4d8
mov edx, dword [rsp + 0x54]
lea rcx, [rbp - 0x50]
call fcn.1401ea290
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 8]
call fcn.1400d2fb0
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x18]
call fcn.14015b640
nop
mov rdx, rax
mov rcx, qword [rbp - 0x30]
call fcn.14015b870
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x58]
mov rcx, qword [rbp - 0x30]
call fcn.14015b8d0
nop
cmp dword [rbp + 0x40], 0
jle 0x14015b525
mov rcx, qword [rbp + 0x38]
call fcn.140298600
cmp dword [rbp + 0x30], 0
jle 0x14015b534
mov rcx, qword [rbp + 0x28]
call fcn.140298600
cmp dword [rbp + 0x20], 0
jle 0x14015b544
mov rcx, qword [rbp + 0x18]
call fcn.140298600
nop
cmp dword [rbp + 0x10], 0
jle 0x14015b554
mov rcx, qword [rbp + 8]
call fcn.140298600
nop
cmp dword [rbp - 0x48], 0
jle 0x14015b563
mov rcx, qword [rbp - 0x50]
call fcn.140298600
cmp dword [rbp - 0x58], 0
jle 0x14015b573
mov rcx, qword [rbp - 0x60]
call fcn.140298600
nop
cmp dword [rsp + 0x50], 0
jle 0x14015b584
mov rcx, qword [rsp + 0x48]
call fcn.140298600
mov rdi, qword [rbp - 0x38]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp - 0x78], 0
jle 0x14015b5a1
mov rcx, qword [rbp - 0x80]
call fcn.140298600
mov rbx, qword [rsp + 0x68]
movzx esi, byte [rsp + 0x40]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
lea rdx, [0x140323de0]
jne 0x14015b1c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
cmp dword [rbp - 8], 0
jle 0x14015b5e1
mov rcx, qword [rbp - 0x10]
call fcn.140298600
movzx eax, bl
mov rcx, qword [rbp + 0xac0]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0xbd8
pop rdi
pop rsi
pop rbx
pop rbp
ret