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

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x10e0
call fcn.14004e7e0
sub rsp, rax
mov qword [rsp + 0x260], 0xfffffffffffffffe
mov qword [rsp + 0x1110], rbx
mov qword [rsp + 0x1120], rbp
mov qword [rsp + 0x1128], rsi
mov rax, qword [0x140066550]
xor rax, rsp
mov qword [rsp + 0x10d0], rax
mov rdi, rdx
mov rbp, rcx
xor r15d, r15d
mov sil, r15b
mov ebx, 0x9c
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xec0]
call fcn.1400208e0
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xd80]
call fcn.1400208e0
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xe20]
call fcn.1400208e0
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xce0]
call fcn.1400208e0
mov word [rsp + 0xee4], bx
mov word [rsp + 0xda4], bx
mov word [rsp + 0xe44], bx
mov word [rsp + 0xd04], bx
mov r12d, r15d
mov r13d, r15d
mov r14d, r15d
mov qword [rsp + 0xcb0], r15
mov qword [rsp + 0xcd8], 0xf
mov qword [rsp + 0xcd0], r15
mov byte [rsp + 0xcc0], r15b
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x140051790]
xor edx, edx
lea r8d, [r15 + 0x15]
lea rcx, [0x1400517f0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x1400087e1
cmp qword [rsp + 0x48], r15
je 0x1400087f6
mov ebx, 0x178
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.1400208e0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0xe0]
mov edx, ebx
call qword [rax + 0x20]
mov ebx, eax
xor edx, edx
mov r8d, 0x90
lea rcx, [rsp + 0x50]
call fcn.1400208e0
cmp ebx, r15d
jl 0x1400087e1
cmp byte [rsp + 0xe0], r15b
jne 0x1400087e1
mov r8d, dword [rsp + 0xf8]
mov dword [rdi + 0x1c0], r8d
mov r9d, dword [rsp + 0x100]
mov dword [rdi], r9d
mov edx, dword [rsp + 0x144]
mov dword [rdi + 0x70], edx
mov ecx, dword [rsp + 0x188]
mov dword [rdi + 0xe0], ecx
mov eax, dword [rsp + 0x1cc]
mov dword [rdi + 0x150], eax
mov dword [rsp + 0x78], r8d
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x6c], edx
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x74], eax
movzx eax, word [rsp + 0x11c]
mov dword [rdi + 4], eax
movzx eax, word [rsp + 0x11e]
mov dword [rdi + 8], eax
movzx eax, word [rsp + 0x120]
mov dword [rdi + 0xc], eax
movzx eax, word [rsp + 0x122]
mov dword [rdi + 0x10], eax
movzx eax, word [rsp + 0x12c]
cmp ax, r15w
je 0x140007907
movzx eax, ax
mov dword [rdi + 0x34], eax
lea r8, [rsp + 0xcb0]
mov edx, r9d
mov rcx, rbp
call fcn.140006040
lea rbx, [0x14005293c]
cmp qword [rsp + 0xcd0], r15
jbe 0x140007945
lea rcx, [rdi + 0x40]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140005214
jmp 0x14000795c
mov rcx, rbx
call fcn.14001f8f0
lea rcx, [rdi + 0x40]
mov r8, rax
mov rdx, rbx
call fcn.140005324
mov eax, dword [rsp + 0xf8]
mov esi, 1
cmp eax, esi
je 0x140007a1c
movzx eax, word [rsp + 0x160]
mov dword [rdi + 0x74], eax
movzx eax, word [rsp + 0x162]
mov dword [rdi + 0x78], eax
movzx eax, word [rsp + 0x164]
mov dword [rdi + 0x7c], eax
movzx eax, word [rsp + 0x166]
mov dword [rdi + 0x80], eax
movzx eax, word [rsp + 0x170]
cmp ax, r15w
je 0x1400079b6
movzx eax, ax
mov dword [rdi + 0xa4], eax
lea r8, [rsp + 0xcb0]
mov edx, dword [rsp + 0x144]
mov rcx, rbp
call fcn.140006040
cmp qword [rsp + 0xcd0], r15
jbe 0x1400079fb
lea rcx, [rdi + 0xb0]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140005214
mov eax, dword [rsp + 0xf8]
jmp 0x140007a1c
mov rcx, rbx
call fcn.14001f8f0
lea rcx, [rdi + 0xb0]
mov r8, rax
mov rdx, rbx
call fcn.140005324
mov eax, dword [rsp + 0xf8]
cmp eax, 0x10
je 0x140007a2f
cmp eax, 0x40
je 0x140007a2f
cmp eax, 0x20
jne 0x140007ae4
movzx eax, word [rsp + 0x1a4]
mov dword [rdi + 0xe4], eax
movzx eax, word [rsp + 0x1a6]
mov dword [rdi + 0xe8], eax
movzx eax, word [rsp + 0x1a8]
mov dword [rdi + 0xec], eax
movzx eax, word [rsp + 0x1aa]
mov dword [rdi + 0xf0], eax
movzx eax, word [rsp + 0x1b4]
cmp ax, r15w
je 0x140007a7e
movzx eax, ax
mov dword [rdi + 0x114], eax
lea r8, [rsp + 0xcb0]
mov edx, dword [rsp + 0x188]
mov rcx, rbp
call fcn.140006040
cmp qword [rsp + 0xcd0], r15
jbe 0x140007ac3
lea rcx, [rdi + 0x120]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140005214
mov eax, dword [rsp + 0xf8]
jmp 0x140007ae4
mov rcx, rbx
call fcn.14001f8f0
lea rcx, [rdi + 0x120]
mov r8, rax
mov rdx, rbx
call fcn.140005324
mov eax, dword [rsp + 0xf8]
cmp eax, 0x40
jne 0x140007b94
movzx eax, word [rsp + 0x1e8]
mov dword [rdi + 0x154], eax
movzx eax, word [rsp + 0x1ea]
mov dword [rdi + 0x158], eax
movzx eax, word [rsp + 0x1ec]
mov dword [rdi + 0x15c], eax
movzx eax, word [rsp + 0x1ee]
mov dword [rdi + 0x160], eax
movzx eax, word [rsp + 0x1f8]
cmp ax, r15w
je 0x140007b3c
movzx eax, ax
mov dword [rdi + 0x184], eax
lea r8, [rsp + 0xcb0]
mov edx, dword [rsp + 0x1cc]
mov rcx, rbp
call fcn.140006040
cmp qword [rsp + 0xcd0], r15
jbe 0x140007b7a
lea rcx, [rdi + 0x190]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140005214
jmp 0x140007b94
mov rcx, rbx
call fcn.14001f8f0
lea rcx, [rdi + 0x190]
mov r8, rax
mov rdx, rbx
call fcn.140005324
mov ebx, 0xa40
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x270]
call fcn.1400208e0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x270]
mov edx, ebx
call qword [rax + 0xd8]
lea r8, [rsp + 0xec0]
mov ebx, 0xfffffffe
mov edx, ebx
lea rcx, [rsp + 0x288]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
mov ecx, dword [rsp + 0xf8]
cmp eax, esi
jne 0x140007cb7
mov edx, dword [rsp + 0xf34]
test dl, 2
je 0x140007c19
mov edx, esi
mov dword [rsp + 0xf34], edx
mov eax, dword [rsp + 0xf38]
lea r8d, [rax + rax]
mov dword [rsp + 0xf38], r8d
jmp 0x140007c21
mov r8d, dword [rsp + 0xf38]
movzx eax, word [rsp + 0x122]
mov r9d, dword [rsp + 0xf30]
mov r10d, dword [rsp + 0xf2c]
mov r11d, dword [rsp + 0xf28]
cmp r11d, eax
jne 0x140007c79
movzx eax, word [rsp + 0x120]
cmp r8d, eax
jne 0x140007c79
movzx eax, word [rsp + 0x11c]
cmp r10d, eax
jne 0x140007c79
movzx eax, word [rsp + 0x11e]
cmp r9d, eax
jne 0x140007c79
movzx eax, word [rsp + 0x12c]
cmp edx, eax
je 0x140007cb7
mov dword [rdi + 4], r10d
mov dword [rdi + 8], r9d
mov dword [rdi + 0xc], r8d
mov dword [rdi + 0x10], r11d
mov dword [rdi + 0x34], edx
cmp ecx, esi
je 0x140007ca8
mov eax, ecx
and eax, 0x58
cmp eax, ecx
je 0x140007ca8
mov dword [rdi + 0x74], r10d
mov dword [rdi + 0x78], r9d
mov dword [rdi + 0x80], r11d
cmp ecx, 2
jne 0x140007cb7
mov dword [rdi + 0x7c], r8d
mov dword [rdi + 0xa4], edx
cmp ecx, 8
je 0x140007cca
cmp ecx, 0x10
je 0x140007cca
cmp ecx, 0x40
jne 0x140008057
lea r8, [rsp + 0xd80]
mov edx, ebx
lea rcx, [rsp + 0x38c]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp eax, esi
jne 0x140007d5f
test byte [rsp + 0xdf4], 2
je 0x140007d07
mov dword [rsp + 0xdf4], esi
mov eax, dword [rsp + 0xdf8]
add eax, eax
mov dword [rsp + 0xdf8], eax
movzx eax, word [rsp + 0x166]
cmp dword [rsp + 0xde8], eax
jne 0x140007d5c
movzx eax, word [rsp + 0x164]
cmp dword [rsp + 0xdf8], eax
jne 0x140007d5c
movzx eax, word [rsp + 0x160]
cmp dword [rsp + 0xdec], eax
jne 0x140007d5c
movzx eax, word [rsp + 0x162]
cmp dword [rsp + 0xdf0], eax
jne 0x140007d5c
movzx eax, word [rsp + 0x170]
cmp dword [rsp + 0xdf4], eax
je 0x140007d5f
mov r12d, esi
cmp dword [rsp + 0xf8], 0x10
je 0x140007d7f
cmp dword [rsp + 0xf8], 0x40
je 0x140007d7f
mov ecx, dword [rsp + 0xd4c]
jmp 0x140007ec2
lea r8, [rsp + 0xe20]
mov edx, ebx
lea rcx, [rsp + 0x490]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp eax, esi
jne 0x140007dbc
test byte [rsp + 0xe94], 2
je 0x140007dbc
mov dword [rsp + 0xe94], esi
mov eax, dword [rsp + 0xe98]
add eax, eax
mov dword [rsp + 0xe98], eax
movzx eax, word [rsp + 0x1aa]
cmp dword [rsp + 0xe88], eax
jne 0x140007e11
movzx eax, word [rsp + 0x1a8]
cmp dword [rsp + 0xe98], eax
jne 0x140007e11
movzx eax, word [rsp + 0x1a4]
cmp dword [rsp + 0xe8c], eax
jne 0x140007e11
movzx eax, word [rsp + 0x1a6]
cmp dword [rsp + 0xe90], eax
jne 0x140007e11
movzx eax, word [rsp + 0x1b4]
cmp dword [rsp + 0xe94], eax
je 0x140007e14
mov r13d, esi
cmp dword [rsp + 0xf8], 0x40
jne 0x140007ebb
lea r8, [rsp + 0xce0]
mov edx, ebx
lea rcx, [rsp + 0x594]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp eax, esi
jne 0x140007e5f
test byte [rsp + 0xd54], 2
je 0x140007e5f
mov dword [rsp + 0xd54], esi
mov eax, dword [rsp + 0xd58]
add eax, eax
mov dword [rsp + 0xd58], eax
movzx eax, word [rsp + 0x1ee]
mov ecx, dword [rsp + 0xd4c]
cmp dword [rsp + 0xd48], eax
jne 0x140007eb6
movzx eax, word [rsp + 0x1ec]
cmp dword [rsp + 0xd58], eax
jne 0x140007eb6
movzx eax, word [rsp + 0x1e8]
cmp ecx, eax
jne 0x140007eb6
movzx eax, word [rsp + 0x1ea]
cmp dword [rsp + 0xd50], eax
jne 0x140007eb6
movzx eax, word [rsp + 0x1f8]
cmp dword [rsp + 0xd54], eax
je 0x140007ec2
mov r14d, esi
jmp 0x140007ec2
mov ecx, dword [rsp + 0xd4c]
cmp r12d, esi
jne 0x140007f04
mov eax, dword [rsp + 0xdec]
cmp eax, r15d
je 0x140007f04
mov dword [rdi + 0x74], eax
mov eax, dword [rsp + 0xdf0]
mov dword [rdi + 0x78], eax
mov eax, dword [rsp + 0xdf8]
mov dword [rdi + 0x7c], eax
mov eax, dword [rsp + 0xde8]
mov dword [rdi + 0x80], eax
mov eax, dword [rsp + 0xdf4]
mov dword [rdi + 0xa4], eax
cmp r13d, esi
jne 0x140007f4f
mov eax, dword [rsp + 0xe8c]
cmp eax, r15d
je 0x140007f4f
mov dword [rdi + 0xe4], eax
mov eax, dword [rsp + 0xe90]
mov dword [rdi + 0xe8], eax
mov eax, dword [rsp + 0xe98]
mov dword [rdi + 0xec], eax
mov eax, dword [rsp + 0xe88]
mov dword [rdi + 0xf0], eax
mov eax, dword [rsp + 0xe94]
mov dword [rdi + 0x114], eax
cmp r14d, esi
jne 0x140007f93
cmp ecx, r15d
je 0x140007f93
mov dword [rdi + 0x154], ecx
mov eax, dword [rsp + 0xd50]
mov dword [rdi + 0x158], eax
mov eax, dword [rsp + 0xd58]
mov dword [rdi + 0x15c], eax
mov eax, dword [rsp + 0xd48]
mov dword [rdi + 0x160], eax
mov eax, dword [rsp + 0xd54]
mov dword [rdi + 0x184], eax
mov eax, dword [rsp + 0x138]
mov dword [rdi + 0x20], eax
mov eax, dword [rsp + 0x130]
mov dword [rdi + 0x24], eax
mov eax, dword [rsp + 0x13c]
mov dword [rdi + 0x2c], eax
mov eax, dword [rsp + 0x134]
mov dword [rdi + 0x28], eax
mov eax, dword [rsp + 0x17c]
mov dword [rdi + 0x90], eax
mov eax, dword [rsp + 0x174]
mov dword [rdi + 0x94], eax
mov eax, dword [rsp + 0x180]
mov dword [rdi + 0x9c], eax
mov eax, dword [rsp + 0x178]
mov dword [rdi + 0x98], eax
mov eax, dword [rsp + 0x1c0]
mov dword [rdi + 0x100], eax
mov eax, dword [rsp + 0x1b8]
mov dword [rdi + 0x104], eax
mov eax, dword [rsp + 0x1c4]
mov dword [rdi + 0x10c], eax
mov eax, dword [rsp + 0x1bc]
mov dword [rdi + 0x108], eax
mov eax, dword [rsp + 0x204]
mov dword [rdi + 0x170], eax
mov eax, dword [rsp + 0x1fc]
mov dword [rdi + 0x174], eax
mov eax, dword [rsp + 0x208]
mov dword [rdi + 0x17c], eax
mov eax, dword [rsp + 0x200]
mov dword [rdi + 0x178], eax
mov ebx, 0x3e8
mov r12d, 0x168
lea rbp, str..ConfigPersist.cpp
lea r13, str.IID_ITVParam_interface_get_failed_n
mov r14b, 0xf0
test byte [rdi], r14b
je 0x140008151
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400517c0]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x140051820]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x140008132
cmp qword [rsp + 0x30], r15
je 0x140008132
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.1400208e0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r9, [rsp + 0xf60]
mov r8d, r12d
mov edx, dword [rdi]
call qword [rax + 0x18]
cmp eax, r15d
jl 0x140008104
cmp dword [rsp + 0xf94], ebx
jne 0x1400080ff
cmp dword [rsp + 0xf98], ebx
jne 0x1400080ff
mov dword [rdi + 0x14], 2
jmp 0x140008122
mov dword [rdi + 0x14], esi
jmp 0x140008122
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x88b
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140002484
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400081ea
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x893
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140002484
jmp 0x1400081ea
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x8c], eax
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x11c]
mov r8d, 0x14
call fcn.140020a10
mov dword [rsp + 0x88], esi
mov dword [rsp + 0x7c], r15d
mov dword [rsp + 0x80], r15d
mov dword [rsp + 0x84], r15d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov edx, 0x90
call qword [rax + 0x60]
mov edx, dword [rsp + 0xa4]
mov dword [rdi + 0x14], edx
mov ecx, dword [rsp + 0xc0]
mov dword [rdi + 0x38], ecx
mov ecx, dword [rsp + 0xd4]
mov dword [rdi + 0x3c], ecx
cmp eax, r15d
jl 0x1400081de
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x1400081de
test eax, edx
jne 0x1400081ea
mov dword [rdi + 0x14], r15d
mov dword [rdi + 0x3c], r15d
mov dword [rdi + 0x38], r15d
test byte [rdi + 0x70], r14b
je 0x1400082d4
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400517c0]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x140051820]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x1400082b5
cmp qword [rsp + 0x30], r15
je 0x1400082b5
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.1400208e0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r9, [rsp + 0xf60]
mov r8d, r12d
mov edx, dword [rdi + 0x70]
call qword [rax + 0x18]
cmp eax, r15d
jl 0x140008287
cmp dword [rsp + 0xf94], ebx
jne 0x14000827f
cmp dword [rsp + 0xf98], ebx
jne 0x14000827f
mov dword [rdi + 0x84], 2
jmp 0x1400082a5
mov dword [rdi + 0x84], esi
jmp 0x1400082a5
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x8d2
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140002484
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140008388
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x8da
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140002484
jmp 0x140008388
mov eax, dword [rsp + 0x144]
mov dword [rsp + 0x8c], eax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x160]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov eax, dword [rcx + 0x10]
mov dword [rdx + 0x10], eax
mov dword [rsp + 0x88], r15d
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], r15d
mov dword [rsp + 0x84], r15d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov edx, 0x90
call qword [rax + 0x60]
mov edx, dword [rsp + 0xa4]
mov dword [rdi + 0x84], edx
mov ecx, dword [rsp + 0xc0]
mov dword [rdi + 0xa8], ecx
mov ecx, dword [rsp + 0xd4]
mov dword [rdi + 0xac], ecx
cmp eax, r15d
jl 0x140008373
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x140008373
test eax, edx
jne 0x140008388
mov dword [rdi + 0x84], r15d
mov dword [rdi + 0xac], r15d
mov dword [rdi + 0xa8], r15d
test byte [rdi + 0xe0], r14b
je 0x140008478
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400517c0]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x140051820]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x140008459
cmp qword [rsp + 0x30], r15
je 0x140008459
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.1400208e0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r9, [rsp + 0xf60]
mov r8d, r12d
mov edx, dword [rdi + 0xe0]
call qword [rax + 0x18]
cmp eax, r15d
jl 0x14000842b
cmp dword [rsp + 0xf94], ebx
jne 0x140008423
cmp dword [rsp + 0xf98], ebx
jne 0x140008423
mov dword [rdi + 0xf4], 2
jmp 0x140008449
mov dword [rdi + 0xf4], esi
jmp 0x140008449
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x919
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140002484
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140008509
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x921
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140002484
jmp 0x140008509
mov eax, dword [rsp + 0x188]
mov dword [rsp + 0x8c], eax
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x1a4]
mov r8d, 0x14
call fcn.140020a10
mov dword [rsp + 0x88], r15d
mov dword [rsp + 0x7c], r15d
mov dword [rsp + 0x80], esi
mov dword [rsp + 0x84], r15d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov edx, 0x90
call qword [rax + 0x60]
mov ecx, dword [rsp + 0xa4]
mov dword [rdi + 0xf4], ecx
cmp eax, r15d
jl 0x1400084f4
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x1400084f4
test eax, ecx
jne 0x140008509
mov dword [rdi + 0xf4], r15d
mov dword [rdi + 0x11c], r15d
mov dword [rdi + 0x118], r15d
test byte [rdi + 0x150], r14b
je 0x1400085f9
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400517c0]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x140051820]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x1400085da
cmp qword [rsp + 0x30], r15
je 0x1400085da
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.1400208e0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r9, [rsp + 0xf60]
mov r8d, r12d
mov edx, dword [rdi + 0x150]
call qword [rax + 0x18]
cmp eax, r15d
jl 0x1400085ac
cmp dword [rsp + 0xf94], ebx
jne 0x1400085a4
cmp dword [rsp + 0xf98], ebx
jne 0x1400085a4
mov dword [rdi + 0x164], 2
jmp 0x1400085ca
mov dword [rdi + 0x164], esi
jmp 0x1400085ca
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x95f
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140002484
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140008694
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x967
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140002484
jmp 0x140008694
mov eax, dword [rsp + 0x1cc]
mov dword [rsp + 0x8c], eax
lea r8, [rsp + 0x90]
lea rcx, [rsp + 0x1e8]
mov rax, qword [rcx]
mov qword [r8], rax
mov rax, qword [rcx + 8]
mov qword [r8 + 8], rax
mov eax, dword [rcx + 0x10]
mov dword [r8 + 0x10], eax
mov dword [rsp + 0x88], r15d
mov dword [rsp + 0x7c], r15d
mov dword [rsp + 0x80], r15d
mov dword [rsp + 0x84], esi
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov edx, 0x90
call qword [rax + 0x60]
mov ecx, dword [rsp + 0xa4]
mov dword [rdi + 0x164], ecx
cmp eax, r15d
jl 0x14000867f
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x14000867f
test eax, ecx
jne 0x140008694
mov dword [rdi + 0x164], r15d
mov dword [rdi + 0x18c], r15d
mov dword [rdi + 0x188], r15d
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400517b0]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x140051810]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x1400087d1
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x1400087e1
movzx eax, word [rdi]
cmp eax, r15d
je 0x1400086ed
mov rax, qword [rcx]
lea r8, [rdi + 0x18]
mov edx, dword [rdi]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rdi + 0x70]
movzx eax, dx
cmp eax, r15d
je 0x14000870a
mov rax, qword [rcx]
lea r8, [rdi + 0x88]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rdi + 0xe0]
movzx eax, dx
cmp eax, r15d
je 0x14000872a
mov rax, qword [rcx]
lea r8, [rdi + 0xf8]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rdi + 0x150]
movzx eax, dx
cmp eax, r15d
je 0x140008745
mov rax, qword [rcx]
lea r8, [rdi + 0x168]
call qword [rax + 0x40]
mov ebx, 0x58
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400208e0
mov r11d, dword [rdi + 0x1c0]
cmp r11d, 4
jne 0x140008793
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov edx, ebx
call qword [rax + 0x58]
mov r11d, dword [rsp + 0x84]
mov dword [rdi + 0x18], r11d
mov eax, dword [rsp + 0x88]
mov dword [rdi + 0x88], eax
jmp 0x1400087d1
cmp r11d, 0x20
jne 0x1400087d1
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov edx, ebx
call qword [rax + 0x58]
mov r11d, dword [rsp + 0x84]
mov dword [rdi + 0x18], r11d
mov eax, dword [rsp + 0x88]
mov dword [rdi + 0x88], eax
mov eax, dword [rsp + 0x8c]
mov dword [rdi + 0xf8], eax
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x1400087e1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
je 0x1400087f6
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rsp + 0x48], r15
lea rcx, [rsp + 0xcb0]
call fcn.140004f10
mov al, sil
mov rcx, qword [rsp + 0x10d0]
xor rcx, rsp
call fcn.1400209e0
lea r11, [rsp + 0x10e0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret