Function at 0x140019290
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2240]
mov eax, 0x2340
call fcn.14001edd0
sub rsp, rax
mov rax, qword [0x14002c180]
xor rax, rsp
mov qword [rbp + 0x2230], rax
mov dword [rsp + 0x30], r9d
mov r15, r8
mov r14, rdx
mov qword [rsp + 0x50], rdx
cmp qword [rdx + 0x10], 0
je 0x1400197ed
lea r8, str._libvpl.dll
lea rcx, [rbp + 0x1d0]
call fcn.140012e90
nop
lea r8, str._libmfx64_gen.dll
mov rdx, r14
lea rcx, [rbp + 0x1f0]
call fcn.140012e90
nop
lea r8, str._libmfxhw64.dll
mov rdx, r14
lea rcx, [rbp + 0x210]
call fcn.140012e90
nop
movzx eax, byte [rbp + 0x22a0]
xor eax, 1
add eax, 2
mov dword [rsp + 0x34], eax
xor edi, edi
mov r13d, edi
nop dword [rax]
mov eax, r13d
shl rax, 5
lea rcx, [rbp + 0x1d0]
add rcx, rax
cmp qword [rcx + 0x18], 7
jbe 0x14001935b
mov rcx, qword [rcx]
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400197c2
nop dword [rax]
nop word [rax + rax]
lea rdx, str.libmfx.dll
lea rcx, [rbp - 0x54]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
jne 0x1400197a4
lea rdx, str.libvpl.dll
lea rcx, [rbp - 0x54]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
jne 0x1400197a4
lea rdx, str.libvpld.dll
lea rcx, [rbp - 0x54]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
jne 0x1400197a4
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov rsi, r14
cmp qword [r14 + 0x18], 7
jbe 0x1400193ea
mov rsi, qword [r14]
mov rbx, qword [r14 + 0x10]
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
ja 0x1400198ae
cmp rbx, 7
ja 0x140019423
mov qword [rsp + 0x68], rbx
mov ecx, 7
mov qword [rsp + 0x70], rcx
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x58], xmm0
jmp 0x1400194e4
mov qword [rsp + 0x70], 7
mov rdi, rbx
or rdi, 7
cmp rdi, rax
jbe 0x14001944b
mov rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14001947b
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400198a8
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400194aa
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400198a8
mov rcx, rax
call fcn.14001e810
mov rcx, rax
test rax, rax
je 0x14001985a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400194b8
test rcx, rcx
je 0x1400194b6
call fcn.14001e810
jmp 0x1400194b8
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rdi
lea r8, [rbx*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov rax, rcx
sub rax, rbx
cmp rax, 1
jb 0x140019511
lea rax, [rbx + 1]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
cmp rcx, 7
cmova rax, qword [rsp + 0x58]
mov dword [rax + rbx*2], 0x2f
jmp 0x140019532
mov qword [rsp + 0x20], 1
lea r9, [0x140023100]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x58]
call fcn.1400134e0
lea rax, [rbp - 0x54]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140019540
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x140019594
lea rax, [rsi + rdi]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rcx, 7
cmova rbx, qword [rsp + 0x58]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
lea rdx, [rbp - 0x54]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rdi]
xor edi, edi
mov word [rbx + rax*2], di
jmp 0x1400195af
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x54]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.1400134e0
xor edi, edi
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x230]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x140019626
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1400197a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14001961c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001985a
call fcn.14001ea8c
jmp 0x1400197a4
mov r11, qword [r15]
mov rax, qword [r11]
cmp rax, r11
je 0x1400196aa
lea rcx, [rbp + 0x230]
mov r10, 0xffffffffffffffff
nop
inc r10
cmp word [rcx + r10*2], 0
jne 0x140019640
nop dword [rax + rax]
mov r8, qword [rax + 0x10]
mov r9, r8
cmp qword [r8 + 0x18], 7
jbe 0x140019661
mov r9, qword [r8]
mov r8, qword [r8 + 0x10]
cmp r8, r10
jne 0x140019696
lea rcx, [rbp + 0x230]
test r8, r8
je 0x1400196a1
lea rdx, [rbp + 0x230]
sub r9, rdx
movzx edx, word [rcx]
cmp word [r9 + rcx], dx
jne 0x140019696
add rcx, 2
sub r8, 1
jne 0x140019680
jmp 0x1400196a1
mov rcx, qword [rax]
mov rax, rcx
cmp rcx, r11
jne 0x140019650
cmp rax, r11
jne 0x1400195db
mov ecx, 0x1fe0
call fcn.14001e810
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140019755
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov dword [rax + 0x20], edi
mov dword [rax + 0x24], 0xffffffff
mov qword [rax + 0x28], rdi
xor eax, eax
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
movups xmmword [rbx + 0x70], xmm0
movups xmmword [rbx + 0x80], xmm0
mov qword [rbx + 0x90], rax
lea rcx, [rbx + 0x98]
lea rax, [0x14001c960]
mov qword [rsp + 0x20], rax
lea r9, [0x14001c8c0]
mov edx, 0x3d0
mov r8d, 4
call fcn.14001eea0
xor eax, eax
mov dword [rbx + 0xfd8], eax
lea rcx, [rbx + 0xfdc]
xor edx, edx
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
nop
jmp 0x140019758
mov rbx, rdi
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x140019821
lea rdx, [rbp + 0x230]
mov rcx, rbx
call fcn.1400148b0
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x20], eax
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.14001a3a0
nop
mov r8, qword [rsp + 0x70]
cmp r8, 7
jbe 0x1400197a4
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140019f80
lea rdx, [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140019380
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
inc r13d
cmp r13d, dword [rsp + 0x34]
jb 0x140019340
lea r9, [0x140014440]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rbp + 0x1d0]
call fcn.14001ef10
nop
mov rcx, r14
call fcn.140019fd0
xor eax, eax
mov rcx, qword [rbp + 0x2230]
xor rcx, rsp
call fcn.14001e7f0
mov rbx, qword [rsp + 0x2380]
add rsp, 0x2340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140019866
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019861
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019861
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ea8c
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], di
lea r9, [0x140014440]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rbp + 0x1d0]
call fcn.14001ef10
nop
mov rcx, r14
call fcn.140019fd0
mov eax, 0xfffffffc
jmp 0x1400197f7
call fcn.1400012e0
int3
call fcn.140002160
int3