Function at 0x1400532d0
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x508
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov r13, r9
mov r12, r8
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x28], rdx
mov ebp, 1
test rcx, rcx
je 0x1400534fb
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x1400534fb
mov rbx, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, rbx
sar rax, 5
xor r14d, r14d
test rax, rax
je 0x1400534d5
cmp rbx, qword [rdi + 8]
je 0x1400534d5
test ebp, ebp
je 0x1400534d5
cmp qword [rbx + 0x18], 8
jb 0x140053364
mov r9, qword [rbx]
jmp 0x140053367
mov r9, rbx
mov r8, r15
lea rdx, [0x140322b10]
lea rcx, [rsp + 0x280]
call fcn.14004bec0
nop
lea rcx, [rsp + 0x280]
cmp qword [rsp + 0x298], 8
cmovae rcx, qword [rsp + 0x280]
lea rdx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400534a1
cmp qword [rbx + 0x18], 8
jb 0x1400533c0
mov rdx, qword [rbx]
jmp 0x1400533c3
mov rdx, rbx
xor r8d, r8d
lea rcx, [rsp + 0x2cc]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
jne 0x14005347a
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0x2a0]
mov edx, 4
nop
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1400533f0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov r8, r13
mov rdx, r15
lea rcx, [rsp + 0x30]
call r12
test eax, eax
je 0x140053494
lea rdx, [rsp + 0x2a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140053497
jmp 0x1400533b4
mov ebp, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rsp + 0x298]
cmp r8, 8
jb 0x1400534c7
inc r8
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0x280]
call fcn.14004e2e0
add rbx, 0x20
cmp rbx, qword [rdi + 8]
jne 0x140053350
mov rcx, qword [rdi]
test rcx, rcx
je 0x14005352d
mov rdx, qword [rdi + 8]
call fcn.1400568e0
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
sub r8, rdx
sar r8, 5
call fcn.140056760
jmp 0x140053522
mov rcx, qword [rdi]
test rcx, rcx
je 0x14005352d
mov rdx, qword [rdi + 8]
call fcn.1400568e0
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
sub r8, rdx
sar r8, 5
call fcn.140056760
xor r14d, r14d
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov eax, ebp
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x508
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret