Function at 0x1400790ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [r11 - 0x2f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov r12, r9
mov r13, r8
mov r9, rdx
mov r14, rcx
lea rax, [0x1400cf018]
mov r15, qword [rbp + 0x6f]
mov rbx, qword [rbp + 0x57]
mov rcx, qword [0x1400cf018]
cmp rcx, rax
je 0x140079175
test byte [rcx + 0x1c], 1
je 0x140079175
cmp byte [rcx + 0x19], 5
jb 0x140079175
mov r10, qword [rbp + 0x87]
mov rax, qword [r10 + 0x10]
lea r8, str._NULL_
mov rdx, r8
test r15, r15
cmovne rdx, r15
test rbx, rbx
cmovne r8, rbx
mov qword [r11 - 0x60], rax
mov qword [r11 - 0x68], r10
mov eax, dword [rbp + 0x7f]
mov dword [rsp + 0x58], eax
mov qword [r11 - 0x78], rdx
mov rax, qword [rbp + 0x67]
mov qword [r11 - 0x80], rax
mov rax, qword [rbp + 0x5f]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r9
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400758dc
mov rax, qword [0x1400d1e50]
lea rcx, [0x1400d1e50]
mov rax, qword [rax + 0x18]
call qword [str._E_n_]
add rax, 0x18
mov qword [rbp - 0x29], rax
mov ecx, 0x60
call fcn.1400a25e4
mov rsi, rax
mov qword [rbp - 0x19], rax
xor edi, edi
mov eax, 0x8007000e
test rsi, rsi
cmove edi, eax
mov rcx, qword [0x1400cf018]
lea rax, [0x1400cf018]
cmp rcx, rax
je 0x1400791fc
test byte [rcx + 0x1c], 2
je 0x1400791fc
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x1400791fc
mov edx, 0x3f
mov qword [rsp + 0x20], rsi
mov r9d, edi
lea r8, [0x1400b95e0]
mov rcx, qword [rcx + 0x10]
call fcn.14000adac
test edi, edi
js 0x140079765
xor edx, edx
lea r8d, [rdx + 0x60]
mov rcx, rsi
call sub.msvcrt.dll_memset
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x7f]
mov dword [rsp + 0x28], eax
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8, r13
mov rdx, qword [r14 + 0x10]
mov rcx, qword [rbp + 0x3f]
call fcn.140078b58
mov edi, eax
xor r12d, r12d
test eax, eax
js 0x140079765
test rbx, rbx
je 0x140079289
cmp r12w, word [rbx]
je 0x140079289
lea edx, [r12 + 0x2e]
lea rcx, [rbp - 0x29]
call fcn.14001f4e0
or r13, 0xffffffffffffffff
mov rax, r13
inc rax
cmp word [rbx + rax*2], r12w
jne 0x14007926b
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140004550
jmp 0x140079356
mov rax, qword [0x1400d1e50]
lea rcx, [0x1400d1e50]
mov rax, qword [rax + 0x18]
call qword [str._E_n_]
add rax, 0x18
mov qword [rbp - 0x11], rax
lea r8, [rbp - 0x11]
mov rdx, qword [r14]
lea rcx, [0x1400d24f0]
call fcn.14005d5e0
cmp al, 1
jne 0x140079327
lea r8, [0x1400b09e0]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x11]
call fcn.14002e7dc
nop
mov rbx, qword [rbp - 9]
cmp dword [rbx - 0x10], r12d
je 0x1400792fe
mov edx, 0x2e
lea rcx, [rbp - 0x29]
call fcn.14001f4e0
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140004550
nop
lea rdx, [rbx - 0x18]
or r13, 0xffffffffffffffff
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14007932b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str._E_n_]
jmp 0x14007932b
or r13, 0xffffffffffffffff
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140079352
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str._E_n_]
mov rsi, qword [rbp - 0x19]
test r15, r15
je 0x140079385
mov edx, 0x3f
lea rcx, [rbp - 0x29]
call fcn.14001f4e0
mov rax, r13
inc rax
cmp word [r15 + rax*2], r12w
jne 0x14007936c
mov r8d, eax
mov rdx, r15
lea rcx, [rbp - 0x29]
call fcn.140004550
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov r8, rax
mov qword [rsi], rax
test rax, rax
mov eax, 0x8007000e
cmove edi, eax
mov rcx, qword [0x1400cf018]
lea r15, [0x1400cf018]
cmp rcx, r15
je 0x1400793ef
test byte [rcx + 0x1c], 2
je 0x1400793ef
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x1400793ef
mov edx, 0x40
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400b95e0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a990
test edi, edi
js 0x14007976c
mov rax, qword [0x1400d1e50]
lea rcx, [0x1400d1e50]
mov rax, qword [rax + 0x18]
call qword [str._E_n_]
add rax, 0x18
mov qword [rbp - 0x21], rax
mov r8d, 1
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
mov edx, 0x80
sub ecx, edx
or ecx, r8d
jge 0x140079439
lea rcx, [rbp - 0x21]
call fcn.140004ec8
mov rbx, qword [rbp + 0x5f]
test rbx, rbx
jne 0x140079447
mov eax, r12d
jmp 0x140079454
mov rax, r13
inc rax
cmp word [rbx + rax*2], r12w
jne 0x14007944a
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.140004550
lea rdx, [0x1400b8eb0]
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14007946d
mov r8d, eax
lea rcx, [rbp - 0x21]
call fcn.140004550
mov rdx, qword [r14]
test rdx, rdx
jne 0x140079490
mov eax, r12d
jmp 0x14007949d
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140079493
mov r8d, eax
lea rcx, [rbp - 0x21]
call fcn.140004550
mov edx, 0x3a
lea rcx, [rbp - 0x21]
call fcn.14001f4e0
mov r15, qword [rbp + 0x67]
test r15, r15
jne 0x1400794c5
mov eax, r12d
jmp 0x1400794d2
mov rax, r13
inc rax
cmp word [r15 + rax*2], r12w
jne 0x1400794c8
mov r8d, eax
mov rdx, r15
lea rcx, [rbp - 0x21]
call fcn.140004550
mov qword [rsp + 0x20], r15
mov r9, qword [r14]
mov r8, rbx
lea rdx, str._ls::_ls:_ls
lea rcx, [rbp - 0x21]
call fcn.14000912c
mov rbx, qword [rbp - 0x21]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov r8, rax
mov qword [rsi + 0x28], rax
test rax, rax
mov eax, 0x8007000e
cmove edi, eax
mov rcx, qword [0x1400cf018]
lea r15, [0x1400cf018]
cmp rcx, r15
je 0x14007956b
test byte [rcx + 0x1c], 2
je 0x14007956b
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x14007956b
mov edx, 0x41
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400b95e0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a990
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14007958e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str._E_n_]
mov rsi, qword [rbp - 0x19]
test edi, edi
js 0x14007976c
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x140079617
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1400795a6
test rax, rax
je 0x140079617
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov r8, rax
mov qword [rsi + 0x30], rax
test rax, rax
mov ebx, 0x8007000e
cmove edi, ebx
mov rcx, qword [0x1400cf018]
cmp rcx, r15
je 0x14007961c
test byte [rcx + 0x1c], 2
je 0x14007961c
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x14007961c
mov edx, 0x42
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400b95e0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a990
jmp 0x14007961c
mov ebx, 0x8007000e
test edi, edi
js 0x14007976c
mov rcx, qword [r14 + 0x30]
test rcx, rcx
je 0x14007969a
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140079630
test rax, rax
je 0x14007969a
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov r8, rax
mov qword [rsi + 0x10], rax
test rax, rax
cmove edi, ebx
mov rcx, qword [0x1400cf018]
cmp rcx, r15
je 0x14007969a
test byte [rcx + 0x1c], 2
je 0x14007969a
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x14007969a
mov edx, 0x43
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400b95e0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a990
test edi, edi
js 0x14007976c
mov rax, qword [r14 + 0x38]
mov qword [rsi + 8], rax
mov eax, dword [r14 + 0x40]
mov dword [rsi + 0x18], eax
mov eax, dword [r14 + 0x48]
mov dword [rsi + 0x1c], eax
mov eax, dword [r14 + 0x4c]
mov dword [rsi + 0x20], eax
mov eax, dword [r14 + 0x50]
mov dword [rsi + 0x38], eax
mov eax, dword [r14 + 0x54]
mov dword [rsi + 0x3c], eax
mov eax, dword [r14 + 0x58]
mov dword [rsi + 0x40], eax
mov eax, dword [r14 + 0x5c]
mov dword [rsi + 0x44], eax
lea rbx, [r14 + 0x70]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [0x1400ad970]
mov rcx, rbx
call sub.msvcrt.dll_memcmp
lea rcx, [r14 + 0x60]
test eax, eax
cmovne rcx, rbx
movups xmm0, xmmword [rcx]
movdqu xmmword [rsi + 0x48], xmm0
mov eax, dword [rbp + 0x77]
mov dword [rsi + 0x58], eax
test eax, eax
je 0x14007974c
mov dword [rsp + 0x28], r13d
lea rax, str.video_mpeg
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, qword [r14]
mov edx, 1
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
nop dword [rax + rax]
cmp eax, 2
jne 0x14007974c
mov eax, dword [r14 + 0x88]
mov dword [rsi + 0x5c], eax
jmp 0x140079750
mov dword [rsi + 0x5c], r12d
lea rdx, [rbp - 0x19]
mov rbx, qword [rbp + 0x87]
mov rcx, rbx
call fcn.14008711c
jmp 0x1400797c5
lea r15, [0x1400cf018]
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rcx, qword [rsi]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov rbx, qword [rbp + 0x87]
or r13, 0xffffffffffffffff
mov rcx, qword [0x1400cf018]
cmp rcx, r15
je 0x14007980c
test byte [rcx + 0x1c], 1
je 0x14007980c
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x14007980c
mov rax, qword [rbx + 0x10]
mov edx, 0x44
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400b95e0]
mov rcx, qword [rcx + 0x10]
call fcn.14000adac
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140079833
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str._E_n_]
mov eax, edi
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret