Function at 0x1400d3ca0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x308], rax
mov r15, r8
mov r14, rdx
mov rbx, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rbp + 0x2b0], r12
lea rax, [rbp + 0x2b0]
mov qword [rsp + 0x50], rax
mov rdx, rcx
lea rcx, [rbp + 0x2b0]
call fcn.1400cf828
lea edi, [r12 + 1]
mov dword [rsp + 0x30], edi
mov eax, edi
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea r8d, [r12 + 3]
lea rdx, [0x1403a06c0]
lea rcx, [rbp - 0x80]
call fcn.140013184
nop
lea r8, [rbp - 0x80]
mov rdx, rbx
lea rcx, [rbp + 0x2e8]
call fcn.14017b720
nop
lea rcx, [rbp - 0x80]
call fcn.14000dd24
xor edx, edx
mov ecx, 0x601
call fcn.1400d3ba4
lea rdx, [rbp + 0x2e8]
test al, al
je 0x1400d3da6
lea rcx, [rbp - 0x40]
call fcn.1400765a0
nop
lea rcx, [rax + 0x28]
cmp qword [rcx + 0x18], 7
jbe 0x1400d3d81
mov rcx, qword [rcx]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x60]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
lea rcx, [rbp - 0x40]
jmp 0x1400d3dcf
lea rcx, [rbp + 0x10]
call fcn.1400765a0
nop
lea rcx, [rax + 0x28]
cmp qword [rcx + 0x18], 7
jbe 0x1400d3dbe
mov rcx, qword [rcx]
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
lea rcx, [rbp + 0x10]
call fcn.140222560
cmp rdi, 0xffffffffffffffff
je 0x1400d404c
mov esi, dword [rbp + 0x60]
and esi, 0x10
jbe 0x1400d3e02
lea rdx, [rbp + 0x8c]
lea rcx, [0x1403a06c8]
call fcn.140278dec
test rax, rax
jne 0x1400d402d
lea rcx, [rbp + 0x2b8]
call fcn.1400a11c8
nop
mov r8d, dword [rbp + 0x68]
mov edx, dword [rbp + 0x64]
lea rcx, [rsp + 0x58]
call fcn.14021e5e0
nop
mov rdx, rax
lea rcx, [rbp + 0x2b8]
call fcn.14021e5c0
nop
lea rcx, [rsp + 0x58]
call fcn.14000cb30
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14021e5d0
nop
mov rax, qword [rsp + 0x40]
cmp qword [rbp + 0x2b8], rax
setl bl
lea rcx, [rsp + 0x40]
call fcn.14000cb30
test bl, bl
je 0x1400d3e73
xor edx, edx
lea rcx, [rbp + 0x2b8]
call fcn.14021e5d0
mov r8d, dword [rbp + 0x78]
mov edx, dword [rbp + 0x74]
lea rcx, [rsp + 0x50]
call fcn.14021e5e0
nop
mov rdx, rax
lea rcx, [rbp + 0x2c0]
call fcn.14021e5c0
nop
lea rcx, [rsp + 0x50]
call fcn.14000cb30
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.14021e5d0
nop
mov rax, qword [rsp + 0x48]
cmp qword [rbp + 0x2c0], rax
setl bl
lea rcx, [rsp + 0x48]
call fcn.14000cb30
test bl, bl
je 0x1400d3ed7
xor edx, edx
lea rcx, [rbp + 0x2c0]
call fcn.14021e5d0
test byte [rbp + 0x60], 0x10
je 0x1400d3ee7
or qword [rbp + 0x2c8], 0xffffffffffffffff
jmp 0x1400d3efe
mov ecx, dword [rbp + 0x7c]
shl rcx, 0x20
mov eax, dword [rbp + 0x80]
add rcx, rax
mov qword [rbp + 0x2c8], rcx
lea rax, [rsp + 0x38]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp + 0x2b0]
mov qword [rsp + 0x38], rax
lea rcx, [rax + 0x20]
call fcn.140014550
lock inc dword [rax]
lea rax, [rsp + 0x38]
mov qword [rbp - 0x58], rax
mov rcx, qword [rbp + 0x2d8]
mov rax, qword [rsp + 0x38]
mov qword [rbp + 0x2d8], rax
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x38]
call fcn.1400ab22c
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea rax, [rbp + 0x8c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400d3f67
lea rdx, [rbp + 0x8c]
lea rcx, [rsp + 0x60]
call fcn.140013184
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x2d0]
call fcn.1400c2f50
nop
lea rcx, [rsp + 0x60]
call fcn.14000dd24
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0x2e0], eax
mov rbx, r15
test esi, esi
cmovne rbx, r14
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x1400d3fd1
lea rdx, [rbp + 0x2b8]
mov rcx, rax
call fcn.1400b27f8
add qword [rbx + 8], 0x30
jmp 0x1400d3fe4
lea r8, [rbp + 0x2b8]
mov rdx, rax
mov rcx, rbx
call fcn.1400d43ec
nop
lea rax, [rbp + 0x2d8]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x2d8]
call fcn.1400ab22c
nop
lea rax, [rbp + 0x2d0]
mov qword [rbp - 0x48], rax
lea rcx, [rbp + 0x2d0]
call fcn.1400ab22c
nop
lea rcx, [rbp + 0x2c0]
call fcn.14000cb30
nop
lea rcx, [rbp + 0x2b8]
call fcn.14000cb30
lea rdx, [rbp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400d3dde
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp + 0x2e8]
call fcn.14000dd24
nop
lea rcx, [rbp + 0x2b0]
call fcn.1400ab22c
mov rcx, qword [rbp + 0x308]
xor rcx, rsp
call fcn.1402194b0
add rsp, 0x410
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret