Function at 0x1400e1d0c
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1401d1010]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1400e1d56
mov rcx, qword [rdx]
lea r8, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
xor r12d, r12d
test eax, eax
je 0x1400e21ad
cmp dword [rsp + 0x48], 0xffffffff
je 0x1400e21ad
test byte [rsp + 0x48], 0x10
je 0x1400e21ad
mov r8, qword [rsi + 8]
mov rdx, qword [rsi]
call fcn.14004f680
mov rax, qword [rsi]
mov qword [rsi + 8], rax
movdqa xmm0, xmmword [0x140195bf0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r12w
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14000cac8
movdqa xmm0, xmmword [0x140195bf0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
lea rdx, [0x1401183ac]
lea rcx, [rsp + 0x48]
call fcn.14000c968
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.1400077b0
test al, al
sete r14b
mov r13d, 0x1000
mov rax, qword [rsp + 0x60]
cmp rax, 8
jb 0x1400e1e37
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
cmp rax, r13
jb 0x1400e1e31
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400e1e31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r14b, r14b
je 0x1400e1ec5
movdqa xmm0, xmmword [0x140195bf0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r12w
lea rdx, [0x1401183ac]
lea rcx, [rsp + 0x28]
call fcn.14000c968
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.14000ca54
nop
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x1400e1ec5
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
cmp rax, r13
jb 0x1400e1ebf
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400e1ebf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x1400e1ed3
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14000ca54
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e1f73
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
cmp ecx, 1
ja 0x1400e218a
mov rax, qword [rbp - 0x78]
cmp rax, 8
jb 0x1400e1f52
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, r13
jb 0x1400e1f4c
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400e1f4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140107ad0
add rsp, 0x680
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test byte [rbp - 0x70], 0x10
jne 0x1400e2113
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14000cc2c
nop
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r12w
lea rdx, [0x1401183ac]
lea rcx, [rsp + 0x28]
call fcn.14000c968
nop
mov r8b, 1
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.1400077b0
test al, al
sete bl
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x1400e2003
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
cmp rax, r13
jb 0x1400e1ffd
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x1400e2175
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test bl, bl
je 0x1400e208d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r12w
lea rdx, [0x1401183ac]
lea rcx, [rsp + 0x28]
call fcn.14000c968
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.14000ca54
nop
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x1400e208d
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
cmp rax, r13
jb 0x1400e2087
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x1400e217c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rax, [rbp - 0x44]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400e2095
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x48]
call fcn.14000ca54
mov rax, qword [rsi + 8]
cmp qword [rsi + 0x10], rax
je 0x1400e20cb
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14000cc2c
add qword [rsi + 8], 0x20
jmp 0x1400e20dc
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, rsi
call fcn.14006a724
nop
mov rax, qword [rsp + 0x60]
cmp rax, 8
jb 0x1400e2113
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
cmp rax, r13
jb 0x1400e210d
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x1400e2183
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400e1f73
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rbp - 0x78]
cmp rax, 8
jb 0x1400e1f52
nop
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, r13
jb 0x1400e1f4c
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400e1f4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8d, eax
lea rcx, [rbp + 0x1e0]
call fcn.1400e26b4
lea rdx, [0x140196ae8]
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov r9, rdi
lea rcx, [rbp + 0x1e0]
call fcn.1400e25bc
lea rdx, [0x140196ae8]
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3