Function at 0x1400aa1b0
Capabilities:
Enumerate files on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x5310
call fcn.1400ad9b0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x5350], rbx
mov qword [rsp + 0x5358], rsi
mov rax, qword [0x1400e9010]
xor rax, rsp
mov qword [rsp + 0x5300], rax
mov ebx, edx
mov r15, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], edx
lea rax, vtable.MFX::MFXVector_class_MFX::PluginDescriptionRecord_.0
mov qword [rcx], rax
xor r12d, r12d
mov qword [rcx + 8], r12
mov dword [rcx + 0x10], r12d
lea rax, vtable.MFX::MFXPluginStorageBase.0
mov qword [rcx], rax
mov dword [rcx + 0x18], edx
lea rax, vtable.MFX::MFXPluginsInFS.0
mov qword [rcx], rax
mov word [rcx + 0x20], r12w
mov r8d, 0x1000
lea rdx, [rsp + 0x3300]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400aa4bb
lea edx, [rax + 0x5c]
lea rcx, [rsp + 0x3300]
call sub.VCRUNTIME140.dll_wcsrchr
lea rcx, [rsp + 0x3300]
test rax, rax
cmovne rcx, rax
lea rax, [rsp + 0x3300]
mov r13, rcx
sub r13, rax
sar r13, 1
inc r13d
mov dword [rsp + 0x28], r13d
lea eax, [r13 + 0x2a]
cmp eax, 0x1000
jae 0x1400aa4bb
mov edx, 0x1000
sub edx, r13d
add rcx, 2
lea r8, str.________________________________
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x3300]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x1400aa4bb
mov rdi, rax
nop dword [rax]
test byte [rsp + 0x60], 0x10
je 0x1400aa49b
lea rcx, [rsp + 0x8c]
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400aa300
cmp rax, 0x20
jne 0x1400aa49b
xor edx, edx
mov r8d, 0x3040
lea rcx, [rsp + 0x2b0]
call sub.VCRUNTIME140.dll_memset
mov word [rsp + 0x32f0], 1
mov dword [rsp + 0x2cc], ebx
mov r14d, r12d
mov edi, r12d
mov dword [rsp + 0x50], r12d
mov eax, edi
lea rsi, [rsp + 0x8c]
lea rsi, [rsi + rax*2]
lea r8, [rsp + 0x50]
lea rdx, [0x1400bc7b8]
mov rcx, rsi
call fcn.1400ab0e0
cmp eax, 1
jne 0x1400aa3a3
mov ecx, dword [rsp + 0x50]
test ecx, ecx
jne 0x1400aa38c
lea rdx, [0x1400bc7c0]
mov rcx, rsi
call sub.VCRUNTIME140.dll_wcsstr
cmp rsi, rax
jne 0x1400aa3a3
mov ecx, dword [rsp + 0x50]
mov eax, r14d
mov byte [rsp + rax + 0x2d0], cl
inc r14d
add edi, 2
cmp edi, 0x20
jne 0x1400aa340
jmp 0x1400aa3ad
cmp r14d, 0x10
jne 0x1400aa496
mov eax, r13d
lea rdi, [rax + rax]
mov edx, 0x1000
sub edx, r13d
lea rcx, [rsp + 0x3300]
add rcx, rdi
lea r8, [rsp + 0x8c]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s
mov edx, 0xfe0
sub edx, r13d
lea rcx, [rsp + 0x3340]
add rcx, rdi
lea r8, [0x1400bc7c8]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s
lea r8, [rsp + 0x3300]
mov edx, 0x1000
lea rcx, [rsp + 0x2f0]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s
mov edx, 0xfdf
sub edx, r13d
lea rcx, [rsp + 0x3342]
add rcx, rdi
lea r8, str.plugin.cfg
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s
mov qword [rsp + 0x48], r12
lea r8, [0x1400bc7cc]
lea rdx, [rsp + 0x3300]
lea rcx, [rsp + 0x48]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400aa496
lea r8, [rsp + 0x2b0]
mov rcx, r15
call fcn.1400aaa80
test al, al
je 0x1400aa48c
lea rdx, [rsp + 0x2b0]
mov rcx, r15
call fcn.1400aacc0
nop
jmp 0x1400aa48c
mov rcx, qword [rsp + 0x48]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rdi, qword [rsp + 0x20]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400aa2e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rax, r15
mov rcx, qword [rsp + 0x5300]
xor rcx, rsp
call fcn.1400a6140
lea r11, [rsp + 0x5310]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret