Function at 0x180002920
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 [0x18003c0b0]
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 0x180002980
mov r8d, edi
jmp 0x18000298e
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], di
jne 0x180002984
mov rdx, rcx
lea rcx, [rbp - 0x40]
call fcn.180001d10
nop
lea rcx, [rbp - 0x40]
call fcn.180003000
test eax, eax
jne 0x1800029bc
lea r8d, [rax + 1]
lea rdx, [0x180027664]
lea rcx, [rbp - 0x40]
call fcn.180001a60
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, [0x1800277d8]
lea rcx, [rbp - 0x60]
call fcn.180001d10
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
cmp word [rbx], 0
jne 0x180002a0f
mov r8, rdi
jmp 0x180002a1e
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x180002a13
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180001d10
nop
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.180003040
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x180002a5d
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.180001ee0
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rdi
mov word [rsp + 0x60], di
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x180002a8a
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.180001ee0
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.180001bd0
nop
mov r8d, 3
lea rdx, [0x1800277d0]
lea rcx, [rbp - 0x80]
call fcn.180001a60
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 0x180002cfa
nop
test byte [rbp - 0x20], 0x10
je 0x180002bab
cmp word [rbp + 0xc], 0x2e
je 0x180002cdb
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.180001bd0
nop
cmp word [rbp + 0xc], 0
jne 0x180002b3c
xor r8d, r8d
jmp 0x180002b4f
lea rax, [rbp + 0xc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180002b44
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x60]
call fcn.180001a60
test sil, sil
je 0x180002b85
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.180002920
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x180002cdb
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.180001ee0
jmp 0x180002cdb
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x60]
call fcn.1800025f0
nop
lea rcx, [rbp - 0x60]
call fcn.180003500
xor al, al
mov byte [rsp + 0x21], al
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
cmp rbx, rsi
je 0x180002c20
cmp qword [rbx + 0x18], 8
jb 0x180002be3
mov rdi, qword [rbx]
jmp 0x180002be6
mov rdi, rbx
lea rcx, [rbp - 0x60]
call fcn.180001e60
sub rdi, rax
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x180002c05
add rax, 2
test ecx, ecx
jne 0x180002bf2
test edx, edx
je 0x180002c19
add rbx, 0x20
cmp rbx, rsi
jne 0x180002bd7
movzx eax, byte [rsp + 0x21]
jmp 0x180002c1b
mov al, 1
mov rdi, qword [rsp + 0x40]
test al, al
je 0x180002cb7
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.180001bd0
nop
cmp word [rbp + 0xc], bx
jne 0x180002c5e
mov r8d, ebx
jmp 0x180002c7b
lea rax, [rbp + 0xc]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180002c70
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x60]
call fcn.180001a60
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.180002db0
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x180002cb7
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.180001ee0
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x180002cd1
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.180001ee0
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 0x180002af0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x180002d14
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.180001ee0
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 0x180002d6e
movzx r9d, byte [rsp + 0x21]
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
call fcn.180001290
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0x28]
call fcn.180001e70
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbx
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x180002d88
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.180001ee0
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.18000b7e0
add rsp, 0x348
pop rdi
pop rsi
pop rbx
pop rbp
ret