Function at 0x1400eca70
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x320], rbx
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov qword [rsp + 0x60], rdx
mov rbx, rcx
xor dil, dil
xor eax, eax
mov qword [rsp + 0x28], rax
lea edx, [rax + 1]
lea rcx, [rsp + 0x20]
call fcn.1401ff260
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
mov r9d, 1
lea r8, [0x14034e8b4]
mov rcx, qword [rsp + 0x20]
call fcn.1402bd21c
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x28], 0
jle 0x1400ecb20
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400ecd22
lea rax, vtable.Core::Collection_class_Core::String_.0
mov qword [rsp + 0x30], rax
xor edi, edi
mov r15d, edi
mov dword [rsp + 0x38], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea r13, [0x140348ca0]
mov r14, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
nop dword [rax]
test byte [rsp + 0x70], 0x10
je 0x1400eccad
movzx ecx, word [rbp - 0x64]
movzx eax, word [rbp - 0x62]
cmp cx, word [0x140347c20]
jne 0x1400ecb99
cmp ax, word [0x140347c22]
je 0x1400eccad
cmp cx, word [0x14034e8ac]
jne 0x1400ecbbc
cmp ax, word [0x14034e8ae]
jne 0x1400ecbbc
movzx eax, word [rbp - 0x60]
cmp ax, word [0x14034e8b0]
je 0x1400eccad
lea rax, [rbp - 0x64]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400ecbc4
mov qword [rsp + 0x28], 0
test ebx, ebx
jne 0x1400ecbe2
mov qword [rsp + 0x20], r13
jmp 0x1400ecc08
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x64]
mov rcx, qword [rsp + 0x20]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140200570
nop
mov ecx, 0x20
call fcn.1402b968c
mov rbx, rax
test rax, rax
je 0x1400ecc35
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0
jmp 0x1400ecc38
mov rbx, rdi
mov edx, dword [rsp + 0x2c]
lea rcx, [rbx + 0x10]
call fcn.1401ff260
movsxd r9, dword [rsp + 0x2c]
mov eax, dword [rbx + 0x18]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
call fcn.1402bd21c
mov edx, dword [rsp + 0x2c]
lea rcx, [rbx + 0x10]
call fcn.140200570
xor edi, edi
mov qword [rsp + 0x48], rbx
test r15d, r15d
jne 0x1400ecc87
mov qword [rbx + 8], rdi
mov rsi, rbx
mov qword [rsp + 0x40], rbx
jmp 0x1400ecc8e
mov qword [r14], rbx
mov qword [rbx + 8], r14
mov r14, rbx
mov qword [rbx], rdi
inc r15d
mov dword [rsp + 0x38], r15d
cmp dword [rsp + 0x28], 0
jle 0x1400eccad
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400ecb70
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
sete dil
mov edx, r15d
mov rcx, qword [rsp + 0x60]
call fcn.140118ec0
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140118d80
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
test rsi, rsi
je 0x1400ecd22
nop
mov rbx, qword [rsi]
cmp dword [rsi + 0x18], 0
jle 0x1400ecd12
mov rcx, qword [rsi + 0x10]
call fcn.1402b9c20
mov rcx, rsi
call fcn.1402177e0
mov rsi, rbx
test rbx, rbx
jne 0x1400ecd00
cmp dword [rsp + 0x58], 0
jle 0x1400ecd33
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
movzx eax, dil
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret