Function at 0x1400a5110
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
movsxd rsi, edx
mov rdi, rcx
mov rdx, rcx
mov rbx, r8
lea rcx, [0x140245e44]
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x1400a516a
mov rcx, rbx
call fcn.1400a4040
mov rcx, rbx
call fcn.1400a5400
jmp 0x1400a53dd
xor edx, edx
lea rcx, [rbp + 0x3a0]
mov r8d, 0x20a
call sub.VCRUNTIME140.dll_memset
cmp esi, 0x104
jge 0x1400a53d8
cmp word [rdi + rsi*2 - 4], 0x5c
lea rcx, [0x140248330]
lea rdx, str._s
mov r8, rdi
cmove rdx, rcx
lea rcx, [rbp + 0x3a0]
call fcn.1400a4640
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400a53d8
mov qword [rsp + 0x6e8], r14
movabs rsi, 0xd6bf94d5e57a42bd
movabs r14, 0x19db1ded53e8000
nop
xor eax, eax
lea rcx, [rsp + 0x3c]
mov dword [rsp + 0x20], eax
mov edx, 4
lea rax, [rbp + 0x17c]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400a5210
mov rax, qword [rax]
mov qword [rcx], rax
mov eax, dword [rbp + 0x154]
mov ecx, dword [rbp + 0x158]
shl rcx, 0x20
or rcx, rax
mov rax, rsi
sub rcx, r14
mul rcx
shr rdx, 0x17
mov ecx, edx
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [rbp + 0x160]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x15c]
shl rcx, 0x20
or rcx, rax
mov rax, rsi
sub rcx, r14
mul rcx
shr rdx, 0x17
mov ecx, edx
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [rbp + 0x168]
mov dword [rsp + 0x2c], eax
mov eax, dword [rbp + 0x164]
shl rcx, 0x20
or rcx, rax
mov rax, rsi
sub rcx, r14
mul rcx
shr rdx, 0x17
mov ecx, edx
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [rbp + 0x150]
mov dword [rsp + 0x30], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [rbp + 0x16c]
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [rbp + 0x170]
mov dword [rsp + 0x34], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov rdx, qword [rbx + 8]
mov dword [rsp + 0x38], eax
cmp rdx, qword [rbx + 0x10]
je 0x1400a53a2
lea rax, [rsp + 0x20]
mov ecx, 4
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x1400a5331
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov eax, dword [rax + 0x20]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
mov dword [rdx + 0x20], eax
add qword [rbx + 8], 0x224
jmp 0x1400a53af
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.1400a46a0
lea rdx, [rbp + 0x150]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400a51f0
mov r14, qword [rsp + 0x6e8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.1401d0310
mov rbx, qword [rsp + 0x6f8]
add rsp, 0x6c0
pop rdi
pop rsi
pop rbp
ret