Function at 0x1400ce384
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, r8
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
or rdi, 0xffffffffffffffff
cmp rcx, rdi
jne 0x1400ce4bd
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1400ce3d6
mov rcx, qword [rdx]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, rdi
jne 0x1400ce4dd
mov qword [rsp + 0x20], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1401dc090]
movdqu xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x20], r15w
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1400e22e4
test al, al
je 0x1400ce43f
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400ce481
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce47c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ce62a
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
cmp rsi, rdi
jne 0x1400ce4dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
test ecx, 0xffffffee
jne 0x1400ce4b3
cmp eax, 0x13
mov al, r15b
jne 0x1400ce4b5
mov al, 1
mov byte [rbx + 0x64], al
jmp 0x1400ce5f7
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400ce4dd
mov rsi, rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x1400ce4b5
mov rdx, r14
mov rcx, rbx
call fcn.140004958
mov qword [rsp + 0x20], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x6c]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x1400ce4fb
mov r8, rdi
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.1400041b8
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400e3c30
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400ce568
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce563
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ce624
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
mov ecx, dword [rsp + 0x5c]
shl rcx, 0x20
mov eax, dword [rsp + 0x60]
add rcx, rax
mov qword [rbx + 0x20], rcx
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0x28], eax
mov rax, qword [rsp + 0x44]
mov qword [rbx + 0x48], rax
mov rax, qword [rsp + 0x4c]
mov qword [rbx + 0x50], rax
mov rax, qword [rsp + 0x54]
mov qword [rbx + 0x58], rax
lea rcx, [rbx + 0x30]
lea rdx, [rsp + 0x54]
call fcn.14010129c
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x44]
call fcn.14010129c
lea rcx, [rbx + 0x40]
lea rdx, [rsp + 0x4c]
call fcn.14010129c
test dword [rsp + 0x40], 0x400
je 0x1400ce5f1
cmp dword [rsp + 0x64], 0xa0000003
mov al, 1
je 0x1400ce5f4
mov al, r15b
mov byte [rbx + 0x2e], al
mov dword [rbx + 0x60], r15d
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
int3
int3