Function at 0x1400aa410
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x730]
sub rsp, 0x830
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x880], rbx
mov rax, qword [0x1402adcf8]
xor rax, rsp
mov qword [rbp + 0x720], rax
mov esi, r8d
mov rdi, rdx
mov r13, rcx
xor ebx, ebx
mov r14d, ebx
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x350]
call fcn.1401ab060
lea rcx, [rbp + 0x350]
call fcn.14002dce0
nop
mov r8, rdi
mov rdx, r13
lea rcx, [rbp + 0x350]
call fcn.14002de40
test al, al
jne 0x1400aa4d4
lea rsi, [0x1402aebf0]
mov rcx, qword [0x1402aebf0]
cmp rcx, rsi
je 0x1400aa4ca
test byte [rcx + 0x44], 2
je 0x1400aa4ca
cmp byte [rcx + 0x41], 4
jb 0x1400aa4ca
lea edx, [rbx + 0x27]
mov r9, rdi
lea r8, [0x140228490]
mov rcx, qword [rcx + 0x38]
call fcn.14007a460
mov ebx, 0x57
jmp 0x1400aaccb
mov ecx, 0xb0
mov r15d, 0x20af0
test esi, esi
cmove r15d, ecx
add r15, r13
lea rcx, [r15 + 0x6f0]
call fcn.14008d370
lea rcx, [rbp + 0x350]
call fcn.14002e340
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], 7
mov word [rbp - 8], bx
or rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400aa520
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140009360
nop
lea rsi, [0x1402aebf0]
mov rcx, qword [0x1402aebf0]
cmp rcx, rsi
je 0x1400aa57a
test byte [rcx + 0x44], 2
je 0x1400aa57a
cmp byte [rcx + 0x41], 4
jb 0x1400aa57a
lea r9, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae r9, qword [rbp - 8]
mov edx, 0x28
lea r8, [0x140228490]
mov rcx, qword [rcx + 0x38]
call fcn.14002c9a0
lea r8, [0x140228910]
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x70]
call fcn.14002cd90
cmp qword [rax + 0x18], 8
jb 0x1400aa599
mov rax, qword [rax]
lea rdx, [rbp + 0x4d0]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov r12, rax
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x1400aa5c8
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14000c430
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], bx
cmp r12, 0xffffffffffffffff
je 0x1400aaca1
mov rcx, qword [0x1402aebf0]
cmp rcx, rsi
je 0x1400aa610
test byte [rcx + 0x44], 2
je 0x1400aa610
cmp byte [rcx + 0x41], 4
jb 0x1400aa610
mov edx, 0x29
lea r8, [0x140228490]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], bx
lea rax, [rbp + 0x4fc]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400aa630
lea rdx, [rbp + 0x4fc]
lea rcx, [rbp - 0x28]
call fcn.140009360
nop
lea rdx, [rbp - 0x28]
mov r9, qword [rbp - 0x28]
mov r10, qword [rbp - 0x10]
cmp r10, 8
cmovae rdx, r9
mov r11, qword [rbp - 0x18]
cmp r11, 1
jne 0x1400aa6a3
mov rcx, r11
lea r8, [0x1402587a4]
movzx eax, word [r8]
cmp word [rdx], ax
jne 0x1400aa690
add rdx, 2
add r8, 2
sub rcx, 1
jne 0x1400aa674
jmp 0x1400aabee
mov ecx, 1
cmp word [rdx], ax
cmovb ecx, edi
test ecx, ecx
je 0x1400aabee
lea rax, [rbp - 0x28]
cmp r10, 8
cmovae rax, r9
cmp r11, 2
jne 0x1400aa6ec
mov rdx, r11
lea r8, [0x140228918]
nop
movzx ecx, word [r8]
cmp word [rax], cx
jne 0x1400aa6d9
add rax, 2
add r8, 2
sub rdx, 1
jne 0x1400aa6c0
jmp 0x1400aa6e8
mov edx, 1
cmp word [rax], cx
cmovb edx, edi
test edx, edx
jne 0x1400aa6ec
mov al, 1
jmp 0x1400aa6ee
xor al, al
test al, al
jne 0x1400aabee
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov r8d, 1
lea rdx, [0x140251580]
lea rcx, [rsp + 0x50]
call fcn.140009360
nop
lea rdx, [r13 + 0x68]
lea r8, [rbp - 8]
lea rcx, [rsp + 0x28]
call fcn.1400a78a0
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400a7800
nop
lea r8, [rbp - 0x28]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14004b9d0
mov rdi, rax
lea rax, [rbp - 0x28]
cmp rax, rdi
je 0x1400aa7aa
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x1400aa77c
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.14000c430
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], bx
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x1400aa7c4
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.14000c430
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], bx
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x1400aa7ee
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.14000c430
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], bx
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1400aa81b
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.14000c430
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x1400aa84b
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14000c430
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x1d0]
call fcn.1401ab060
lea rcx, [rbp + 0x1d0]
call fcn.14002dce0
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
xor r8d, r8d
lea rcx, [rbp + 0x1d0]
call fcn.14002e440
test al, al
je 0x1400aab9a
mov rcx, qword [0x1402aebf0]
cmp rcx, rsi
je 0x1400aa8cc
test byte [rcx + 0x44], 2
je 0x1400aa8cc
cmp byte [rcx + 0x41], 4
jb 0x1400aa8cc
lea r9, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r9, qword [rbp - 0x28]
mov edx, 0x2a
lea r8, [0x140228490]
mov rcx, qword [rcx + 0x38]
call fcn.14002c9a0
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x120]
call fcn.14008a860
lea rax, vtable.MigratingFile.0
mov qword [rbp + 0x120], rax
mov dword [rbp + 0x198], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1b0], xmm1
mov qword [rbp + 0x1c0], r15
lea rax, vtable.SparseFragmentsFilter.0
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x120]
call fcn.14008a8d0
mov r8b, 1
lea rdx, [rbp + 0x120]
mov rcx, r15
call fcn.14008e8f0
test eax, eax
je 0x1400aab38
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x20]
call fcn.1401ab060
lea rcx, [0x140000000]
lea rax, [rcx + 0x250f28]
mov qword [rbp + 0x20], rax
lea rax, [rcx + 0x250fd0]
mov qword [rbp + 0x30], rax
or r14d, 2
mov dword [rsp + 0x20], r14d
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0xb4], 0x80
mov qword [rbp + 0x28], rbx
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0xb8]
call fcn.14000ddf0
nop
lea rax, [rbp + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x2c], edx
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x1c], edx
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1c], edx
lea rax, [rbp + 0x38]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x38]
call fcn.14000ced0
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x38], rax
mov qword [rbp + 0xa0], rbx
mov dword [rbp + 0xa8], ebx
lea rdx, str.File
lea rcx, [rbp + 0x30]
call fcn.1400104d0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
mov rcx, rax
call fcn.140010930
mov rcx, rax
lea rdx, str._cannot
call fcn.1400104d0
lea rdx, str.be_placed__n
lea rcx, [rbp + 0x30]
call fcn.1400104d0
mov rax, qword [0x1402aebf0]
cmp rax, rsi
je 0x1400aaae8
test byte [rax + 0x44], 2
je 0x1400aaae8
cmp byte [rax + 0x41], 5
jb 0x1400aaae8
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x20]
call fcn.140005ee0
or r14d, 1
cmp qword [rax + 0x18], 8
jb 0x1400aaac9
mov rax, qword [rax]
mov edx, 0x2b
mov r9, rax
lea r8, [0x140228490]
mov rcx, qword [0x1402aebf0]
mov rcx, qword [rcx + 0x38]
call fcn.14002c9a0
test r14b, 1
je 0x1400aab10
and r14d, 0xfffffffe
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1400aab10
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.14000c430
nop
lea rcx, [rbp + 0xb8]
call fcn.140005f10
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xb8], rax
lea rcx, [rbp + 0xb8]
call fcn.140186204
nop
lea rcx, [rbp + 0x1b8]
call fcn.14002d3f0
lea rcx, [rbp + 0x1b0]
call fcn.14002d3f0
lea rcx, [rbp + 0x1a8]
call fcn.14002d3f0
lea rcx, [rbp + 0x1a0]
call fcn.14002d3f0
lea rcx, [rbp + 0x158]
call fcn.14002d890
lea rcx, [rbp + 0x148]
call fcn.14002d890
lea rcx, [rbp + 0x138]
call fcn.14002d890
lea rcx, [rbp + 0x128]
call fcn.14002d890
jmp 0x1400aabd6
mov rcx, qword [0x1402aebf0]
cmp rcx, rsi
je 0x1400aabd6
test byte [rcx + 0x44], 2
je 0x1400aabd6
cmp byte [rcx + 0x41], 4
jb 0x1400aabd6
lea r9, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r9, qword [rbp - 0x28]
mov edx, 0x2c
lea r8, [0x140228490]
mov rcx, qword [rcx + 0x38]
call fcn.14002c9a0
nop
lea rcx, [rbp + 0x1d0]
call fcn.14002fb90
mov r10, qword [rbp - 0x10]
mov r9, qword [rbp - 0x28]
or rdi, 0xffffffffffffffff
cmp r10, 8
jb 0x1400aac3b
lea rax, [r10 + 1]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x1400aac6d
add rax, rax
cmp rax, 0x1000
jb 0x1400aac33
test byte [rbp - 0x28], 0x1f
jne 0x1400aac67
mov rax, qword [r9 - 8]
cmp rax, r9
jae 0x1400aac61
sub r9, rax
cmp r9, 8
jb 0x1400aac5b
cmp r9, 0x27
ja 0x1400aac55
mov r9, rax
mov rcx, r9
call fcn.1401a8b54
lea rdx, [rbp + 0x4d0]
mov rcx, r12
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
cmp eax, 1
jne 0x1400aac73
jmp 0x1400aa610
call fcn.1401b6c28
int3
call fcn.1401b6c28
int3
call fcn.1401b6c28
int3
call fcn.1401b6c28
int3
call fcn.1401b6c28
int3
mov rcx, qword [0x1402aebf0]
cmp rcx, rsi
je 0x1400aaca1
test byte [rcx + 0x44], 2
je 0x1400aaca1
cmp byte [rcx + 0x41], 4
jb 0x1400aaca1
mov edx, 0x2d
lea r8, [0x140228490]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
nop
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x1400aacbb
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.14000c430
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], 7
mov word [rbp - 8], bx
lea rcx, [rbp + 0x350]
call fcn.14002fb90
mov eax, ebx
mov rcx, qword [rbp + 0x720]
xor rcx, rsp
call fcn.1401a8cb0
mov rbx, qword [rsp + 0x880]
add rsp, 0x830
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret