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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x380
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x1402adcf8]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rax, r8
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0xc0]
call fcn.14000c670
nop
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
cmp rax, rdx
jne 0x1400b8d81
lea rcx, [rax + 1]
test rcx, rcx
jne 0x1400b8d5c
mov qword [rsp + 0xd0], rbx
lea rax, [rsp + 0xc0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xc0]
mov word [rax], bx
jmp 0x1400b8d71
cmp rdx, rcx
jae 0x1400b8d81
mov rdx, rcx
lea rcx, [rsp + 0xc0]
call fcn.14000d530
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0xc0]
cmp rdx, 8
cmovae rcx, qword [rsp + 0xc0]
mov edx, 0x2a
mov word [rcx + rax*2], dx
mov rax, qword [rsp + 0xd0]
inc rax
mov qword [rsp + 0xd0], rax
mov word [rcx + rax*2], bx
mov rax, qword [rdi + 0x10]
dec rax
cmp qword [rdi + 0x10], rax
jae 0x1400b8dc9
call fcn.14000e050
int3
mov qword [rdi + 0x10], rax
cmp qword [rdi + 0x18], 8
jb 0x1400b8dd9
mov rcx, qword [rdi]
jmp 0x1400b8ddc
mov rcx, rdi
mov word [rcx + rax*2], bx
lea rcx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rcx, qword [rsp + 0xc0]
lea rdx, [rsp + 0x120]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
je 0x1400b90ca
nop word [rax + rax]
movzx ecx, word [rsp + 0x14c]
movzx eax, word [rsp + 0x14e]
cmp cx, word [0x1402587a4]
jne 0x1400b8e46
cmp ax, word [0x1402587a6]
je 0x1400b90a3
cmp cx, word [0x140228918]
jne 0x1400b8e6d
cmp ax, word [0x14022891a]
jne 0x1400b8e6d
movzx eax, word [rsp + 0x150]
cmp ax, word [0x14022891c]
je 0x1400b90a3
lea rax, [rsp + 0x48]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
lea rax, [rsp + 0x14c]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400b8ea0
lea rdx, [rsp + 0x14c]
lea rcx, [rsp + 0x48]
call fcn.140009360
nop
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.14000c670
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14004aff0
nop
cmp rax, 0xffffffffffffffff
jne 0x1400b8f44
mov rcx, qword [0x1402aebf0]
lea rax, [0x1402aebf0]
cmp rcx, rax
je 0x1400b90a3
test dword [rcx + 0x44], 0x1000000
je 0x1400b90a3
cmp byte [rcx + 0x41], 2
jb 0x1400b90a3
mov edx, 0xd
lea r8, [0x14022be38]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
jmp 0x1400b90a3
mov rdx, rax
mov rcx, rsi
test byte [rsp + 0x120], 0x10
je 0x1400b907e
call fcn.1400b9150
test eax, eax
jne 0x1400b90a3
lea r8, [0x140251580]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14002cd90
nop
lea r8, [rsp + 0x14c]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140039b20
nop
lea r8, [0x140251580]
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140039b20
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1400b8fc5
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.14000c430
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x1400b8ff5
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.14000c430
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x88]
call fcn.14000c670
mov r8, qword [rsp + 0x20]
lea rdx, [rsp + 0x88]
mov rcx, rsi
call fcn.1400b8ca0
nop
mov r8, qword [rsp + 0xf8]
cmp r8, 8
jb 0x1400b90a3
inc r8
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0xe0]
call fcn.14000c430
jmp 0x1400b90a3
mov r8, qword [rsp + 0x20]
call fcn.1400ba2e0
jmp 0x1400b90a3
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x1400b8e20
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop
mov r8, qword [rsp + 0xd8]
cmp r8, 8
jb 0x1400b90f0
inc r8
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xc0]
call fcn.14000c430
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], bx
mov r8, qword [rdi + 0x18]
cmp r8, 8
jb 0x1400b9124
inc r8
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.14000c430
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
xor eax, eax
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.1401a8cb0
add rsp, 0x380
pop rdi
pop rsi
pop rbx
ret