Function at 0x14007949c
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 0x140079565
test byte [rcx + 0x1c], 1
je 0x140079565
cmp byte [rcx + 0x19], 5
jb 0x140079565
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.140075ccc
mov rax, qword [0x1400d1e50]
lea rcx, [0x1400d1e50]
mov rax, qword [rax + 0x18]
call qword [case.0x1400688bc.0]
add rax, 0x18
mov qword [rbp - 0x29], rax
mov ecx, 0x60
call fcn.1400a2aa4
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 0x1400795ec
test byte [rcx + 0x1c], 2
je 0x1400795ec
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x1400795ec
mov edx, 0x3f
mov qword [rsp + 0x20], rsi
mov r9d, edi
lea r8, [0x1400b96d0]
mov rcx, qword [rcx + 0x10]
call fcn.14000adac
test edi, edi
js 0x140079b55
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.140078f48
mov edi, eax
xor r12d, r12d
test eax, eax
js 0x140079b55
test rbx, rbx
je 0x140079679
cmp r12w, word [rbx]
je 0x140079679
lea edx, [r12 + 0x2e]
lea rcx, [rbp - 0x29]
call fcn.14001f690
or r13, 0xffffffffffffffff
mov rax, r13
inc rax
cmp word [rbx + rax*2], r12w
jne 0x14007965b
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140004550
jmp 0x140079746
mov rax, qword [0x1400d1e50]
lea rcx, [0x1400d1e50]
mov rax, qword [rax + 0x18]
call qword [case.0x1400688bc.0]
add rax, 0x18
mov qword [rbp - 0x11], rax
lea r8, [rbp - 0x11]
mov rdx, qword [r14]
lea rcx, [0x1400d24f0]
call fcn.14005d920
cmp al, 1
jne 0x140079717
lea r8, [0x1400b0ad0]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x11]
call fcn.14002e98c
nop
mov rbx, qword [rbp - 9]
cmp dword [rbx - 0x10], r12d
je 0x1400796ee
mov edx, 0x2e
lea rcx, [rbp - 0x29]
call fcn.14001f690
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 0x14007971b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
jmp 0x14007971b
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 0x140079742
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
mov rsi, qword [rbp - 0x19]
test r15, r15
je 0x140079775
mov edx, 0x3f
lea rcx, [rbp - 0x29]
call fcn.14001f690
mov rax, r13
inc rax
cmp word [r15 + rax*2], r12w
jne 0x14007975c
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 0x1400797df
test byte [rcx + 0x1c], 2
je 0x1400797df
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x1400797df
mov edx, 0x40
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400b96d0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a990
test edi, edi
js 0x140079b5c
mov rax, qword [0x1400d1e50]
lea rcx, [0x1400d1e50]
mov rax, qword [rax + 0x18]
call qword [case.0x1400688bc.0]
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 0x140079829
lea rcx, [rbp - 0x21]
call fcn.140004ec8
mov rbx, qword [rbp + 0x5f]
test rbx, rbx
jne 0x140079837
mov eax, r12d
jmp 0x140079844
mov rax, r13
inc rax
cmp word [rbx + rax*2], r12w
jne 0x14007983a
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.140004550
lea rdx, [0x1400b8fa0]
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14007985d
mov r8d, eax
lea rcx, [rbp - 0x21]
call fcn.140004550
mov rdx, qword [r14]
test rdx, rdx
jne 0x140079880
mov eax, r12d
jmp 0x14007988d
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140079883
mov r8d, eax
lea rcx, [rbp - 0x21]
call fcn.140004550
mov edx, 0x3a
lea rcx, [rbp - 0x21]
call fcn.14001f690
mov r15, qword [rbp + 0x67]
test r15, r15
jne 0x1400798b5
mov eax, r12d
jmp 0x1400798c2
mov rax, r13
inc rax
cmp word [r15 + rax*2], r12w
jne 0x1400798b8
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 0x14007995b
test byte [rcx + 0x1c], 2
je 0x14007995b
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x14007995b
mov edx, 0x41
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400b96d0]
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 0x14007997e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
mov rsi, qword [rbp - 0x19]
test edi, edi
js 0x140079b5c
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x140079a07
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140079996
test rax, rax
je 0x140079a07
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 0x140079a0c
test byte [rcx + 0x1c], 2
je 0x140079a0c
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x140079a0c
mov edx, 0x42
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400b96d0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a990
jmp 0x140079a0c
mov ebx, 0x8007000e
test edi, edi
js 0x140079b5c
mov rcx, qword [r14 + 0x30]
test rcx, rcx
je 0x140079a8a
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140079a20
test rax, rax
je 0x140079a8a
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 0x140079a8a
test byte [rcx + 0x1c], 2
je 0x140079a8a
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x140079a8a
mov edx, 0x43
mov qword [rsp + 0x20], r8
mov r9d, edi
lea r8, [0x1400b96d0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a990
test edi, edi
js 0x140079b5c
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, [0x1400ada60]
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 0x140079b3c
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 0x140079b3c
mov eax, dword [r14 + 0x88]
mov dword [rsi + 0x5c], eax
jmp 0x140079b40
mov dword [rsi + 0x5c], r12d
lea rdx, [rbp - 0x19]
mov rbx, qword [rbp + 0x87]
mov rcx, rbx
call fcn.140087554
jmp 0x140079bb5
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 0x140079bfc
test byte [rcx + 0x1c], 1
je 0x140079bfc
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x140079bfc
mov rax, qword [rbx + 0x10]
mov edx, 0x44
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400b96d0]
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 0x140079c23
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
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