Function at 0x140052c80
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 [0x1403a0088]
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 0x140052eab
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x140052eab
mov rbx, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, rbx
sar rax, 5
xor r14d, r14d
test rax, rax
je 0x140052e85
cmp rbx, qword [rdi + 8]
je 0x140052e85
test ebp, ebp
je 0x140052e85
cmp qword [rbx + 0x18], 8
jb 0x140052d14
mov r9, qword [rbx]
jmp 0x140052d17
mov r9, rbx
mov r8, r15
lea rdx, [0x14031dae0]
lea rcx, [rsp + 0x280]
call fcn.14004bce0
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 0x140052e51
cmp qword [rbx + 0x18], 8
jb 0x140052d70
mov rdx, qword [rbx]
jmp 0x140052d73
mov rdx, rbx
xor r8d, r8d
lea rcx, [rsp + 0x2cc]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
jne 0x140052e2a
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 0x140052da0
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 0x140052e44
lea rdx, [rsp + 0x2a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140052e47
jmp 0x140052d64
mov ebp, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rsp + 0x298]
cmp r8, 8
jb 0x140052e77
inc r8
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0x280]
call fcn.14004e100
add rbx, 0x20
cmp rbx, qword [rdi + 8]
jne 0x140052d00
mov rcx, qword [rdi]
test rcx, rcx
je 0x140052edd
mov rdx, qword [rdi + 8]
call fcn.140056290
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
sub r8, rdx
sar r8, 5
call fcn.140056110
jmp 0x140052ed2
mov rcx, qword [rdi]
test rcx, rcx
je 0x140052edd
mov rdx, qword [rdi + 8]
call fcn.140056290
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
sub r8, rdx
sar r8, 5
call fcn.140056110
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.140125a70
add rsp, 0x508
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret