Function at 0x1400b8cd0
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 [0x14027ef78]
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 0x1400b8db1
lea rcx, [rax + 1]
test rcx, rcx
jne 0x1400b8d8c
mov qword [rsp + 0xd0], rbx
lea rax, [rsp + 0xc0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xc0]
mov word [rax], bx
jmp 0x1400b8da1
cmp rdx, rcx
jae 0x1400b8db1
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 0x1400b8df9
call fcn.14000e050
int3
mov qword [rdi + 0x10], rax
cmp qword [rdi + 0x18], 8
jb 0x1400b8e09
mov rcx, qword [rdi]
jmp 0x1400b8e0c
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 0x1400b90fa
nop word [rax + rax]
movzx ecx, word [rsp + 0x14c]
movzx eax, word [rsp + 0x14e]
cmp cx, word [0x14022a8b4]
jne 0x1400b8e76
cmp ax, word [0x14022a8b6]
je 0x1400b90d3
cmp cx, word [0x1401fd918]
jne 0x1400b8e9d
cmp ax, word [0x1401fd91a]
jne 0x1400b8e9d
movzx eax, word [rsp + 0x150]
cmp ax, word [0x1401fd91c]
je 0x1400b90d3
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 0x1400b8ed0
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.14004afe0
nop
cmp rax, 0xffffffffffffffff
jne 0x1400b8f74
mov rcx, qword [0x14027fe70]
lea rax, [0x14027fe70]
cmp rcx, rax
je 0x1400b90d3
test dword [rcx + 0x44], 0x1000000
je 0x1400b90d3
cmp byte [rcx + 0x41], 2
jb 0x1400b90d3
mov edx, 0xd
lea r8, [0x140200e38]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
jmp 0x1400b90d3
mov rdx, rax
mov rcx, rsi
test byte [rsp + 0x120], 0x10
je 0x1400b90ae
call fcn.1400b9180
test eax, eax
jne 0x1400b90d3
lea r8, [0x140223690]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14002cd80
nop
lea r8, [rsp + 0x14c]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140039b10
nop
lea r8, [0x140223690]
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140039b10
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1400b8ff5
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 0x1400b9025
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.1400b8cd0
nop
mov r8, qword [rsp + 0xf8]
cmp r8, 8
jb 0x1400b90d3
inc r8
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0xe0]
call fcn.14000c430
jmp 0x1400b90d3
mov r8, qword [rsp + 0x20]
call fcn.1400ba310
jmp 0x1400b90d3
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 0x1400b8e50
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 0x1400b9120
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 0x1400b9154
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.14017e000
add rsp, 0x380
pop rdi
pop rsi
pop rbx
ret