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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x248]
sub rsp, 0x348
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1800380b0]
xor rax, rsp
mov qword [rbp + 0x230], rax
movzx esi, r9b
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x48], r8
mov rbx, rdx
mov qword [rsp + 0x50], rdx
mov qword [rbp - 0x28], 7
xor edi, edi
mov qword [rbp - 0x30], rdi
mov word [rbp - 0x40], di
cmp word [rcx], di
jne 0x1800021c0
mov r8d, edi
jmp 0x1800021ce
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], di
jne 0x1800021c4
mov rdx, rcx
lea rcx, [rbp - 0x40]
call fcn.180001980
nop
lea rcx, [rbp - 0x40]
call fcn.180002a90
test eax, eax
jne 0x1800021fc
lea r8d, [rax + 1]
lea rdx, [0x1800235f4]
lea rcx, [rbp - 0x40]
call fcn.1800016d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdi
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rdi
mov word [rbp - 0x60], di
mov r8d, 1
lea rdx, [0x1800236e8]
lea rcx, [rbp - 0x60]
call fcn.180001980
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
cmp word [rbx], 0
jne 0x18000224f
mov r8, rdi
jmp 0x18000225e
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x180002253
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180001980
nop
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.180002ad0
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x18000229d
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.180001ad0
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x1800022ca
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.180001ad0
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rdi
mov word [rbp - 0x80], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.180001840
nop
mov r8d, 3
lea rdx, [0x1800236e0]
lea rcx, [rbp - 0x80]
call fcn.1800016d0
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x18000253a
nop
test byte [rbp - 0x20], 0x10
je 0x1800023eb
cmp word [rbp + 0xc], 0x2e
je 0x18000251b
mov qword [rsp + 0x78], 7
xor eax, eax
mov qword [rsp + 0x70], rax
mov word [rsp + 0x60], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.180001840
nop
cmp word [rbp + 0xc], 0
jne 0x18000237c
xor r8d, r8d
jmp 0x18000238f
lea rax, [rbp + 0xc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180002384
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1800016d0
test sil, sil
je 0x1800023c5
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
movzx r9d, sil
mov r8, qword [rsp + 0x48]
mov rdx, rbx
call fcn.180002160
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x18000251b
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.180001ad0
jmp 0x18000251b
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x60]
call fcn.180001cd0
nop
lea rcx, [rbp - 0x60]
call fcn.180002f90
xor al, al
mov byte [rsp + 0x21], al
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
cmp rbx, rsi
je 0x180002460
cmp qword [rbx + 0x18], 8
jb 0x180002423
mov rdi, qword [rbx]
jmp 0x180002426
mov rdi, rbx
lea rcx, [rbp - 0x60]
call fcn.1800027c0
sub rdi, rax
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x180002445
add rax, 2
test ecx, ecx
jne 0x180002432
test edx, edx
je 0x180002459
add rbx, 0x20
cmp rbx, rsi
jne 0x180002417
movzx eax, byte [rsp + 0x21]
jmp 0x18000245b
mov al, 1
mov rdi, qword [rsp + 0x40]
test al, al
je 0x1800024f7
mov qword [rsp + 0x78], 7
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.180001840
nop
cmp word [rbp + 0xc], bx
jne 0x18000249e
mov r8d, ebx
jmp 0x1800024bb
lea rax, [rbp + 0xc]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800024b0
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1800016d0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.180002840
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x1800024f7
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.180001ad0
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x180002511
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.180001ad0
movzx esi, byte [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180002330
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x180002554
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.180001ad0
mov qword [rbp - 0x68], 7
xor ebx, ebx
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800025ae
movzx r9d, byte [rsp + 0x21]
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
call fcn.180001fb0
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0x28]
call fcn.1800027d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbx
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x1800025c8
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.180001ad0
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.18000b260
add rsp, 0x348
pop rdi
pop rsi
pop rbx
pop rbp
ret