Function at 0x180002650
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 0x1800026b0
mov r8d, edi
jmp 0x1800026be
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], di
jne 0x1800026b4
mov rdx, rcx
lea rcx, [rbp - 0x40]
call fcn.180001980
nop
lea rcx, [rbp - 0x40]
call fcn.180002f80
test eax, eax
jne 0x1800026ec
lea r8d, [rax + 1]
lea rdx, [0x180027614]
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, [0x1800277c0]
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 0x18000273f
mov r8, rdi
jmp 0x18000274e
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x180002743
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.180002fc0
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x18000278d
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 0x1800027ba
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, [0x180027618]
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 0x180002a2a
nop
test byte [rbp - 0x20], 0x10
je 0x1800028db
cmp word [rbp + 0xc], 0x2e
je 0x180002a0b
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 0x18000286c
xor r8d, r8d
jmp 0x18000287f
lea rax, [rbp + 0xc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180002874
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1800016d0
test sil, sil
je 0x1800028b5
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.180002650
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x180002a0b
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.180001ad0
jmp 0x180002a0b
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x60]
call fcn.1800021b0
nop
lea rcx, [rbp - 0x60]
call fcn.180003480
xor al, al
mov byte [rsp + 0x21], al
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
cmp rbx, rsi
je 0x180002950
cmp qword [rbx + 0x18], 8
jb 0x180002913
mov rdi, qword [rbx]
jmp 0x180002916
mov rdi, rbx
lea rcx, [rbp - 0x60]
call fcn.180002cb0
sub rdi, rax
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x180002935
add rax, 2
test ecx, ecx
jne 0x180002922
test edx, edx
je 0x180002949
add rbx, 0x20
cmp rbx, rsi
jne 0x180002907
movzx eax, byte [rsp + 0x21]
jmp 0x18000294b
mov al, 1
mov rdi, qword [rsp + 0x40]
test al, al
je 0x1800029e7
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 0x18000298e
mov r8d, ebx
jmp 0x1800029ab
lea rax, [rbp + 0xc]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800029a0
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1800016d0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.180002d30
nop
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x1800029e7
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.180001ad0
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x180002a01
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 0x180002820
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x180002a44
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 0x180002a9e
movzx r9d, byte [rsp + 0x21]
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
call fcn.180002490
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0x28]
call fcn.180002cc0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbx
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x180002ab8
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.180001ad0
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.18000b7f0
add rsp, 0x348
pop rdi
pop rsi
pop rbx
pop rbp
ret