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

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x10e0
call fcn.140043350
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 [0x14005c8c0]
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.140019180
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xd80]
call fcn.140019180
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xe20]
call fcn.140019180
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xce0]
call fcn.140019180
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, [0x140046df8]
xor edx, edx
lea r8d, [r15 + 0x15]
lea rcx, [0x140046e58]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x1400083f1
cmp qword [rsp + 0x48], r15
je 0x140008406
mov ebx, 0x178
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.140019180
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.140019180
cmp ebx, r15d
jl 0x1400083f1
cmp byte [rsp + 0xe0], r15b
jne 0x1400083f1
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 0x140007517
movzx eax, ax
mov dword [rdi + 0x34], eax
lea r8, [rsp + 0xcb0]
mov edx, r9d
mov rcx, rbp
call fcn.140005c50
lea rbx, [0x140047c4c]
cmp qword [rsp + 0xcd0], r15
jbe 0x140007555
lea rcx, [rdi + 0x40]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140001af8
jmp 0x14000756c
mov rcx, rbx
call fcn.140018b20
lea rcx, [rdi + 0x40]
mov r8, rax
mov rdx, rbx
call fcn.140001c08
mov eax, dword [rsp + 0xf8]
mov esi, 1
cmp eax, esi
je 0x14000762c
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 0x1400075c6
movzx eax, ax
mov dword [rdi + 0xa4], eax
lea r8, [rsp + 0xcb0]
mov edx, dword [rsp + 0x144]
mov rcx, rbp
call fcn.140005c50
cmp qword [rsp + 0xcd0], r15
jbe 0x14000760b
lea rcx, [rdi + 0xb0]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140001af8
mov eax, dword [rsp + 0xf8]
jmp 0x14000762c
mov rcx, rbx
call fcn.140018b20
lea rcx, [rdi + 0xb0]
mov r8, rax
mov rdx, rbx
call fcn.140001c08
mov eax, dword [rsp + 0xf8]
cmp eax, 0x10
je 0x14000763f
cmp eax, 0x40
je 0x14000763f
cmp eax, 0x20
jne 0x1400076f4
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 0x14000768e
movzx eax, ax
mov dword [rdi + 0x114], eax
lea r8, [rsp + 0xcb0]
mov edx, dword [rsp + 0x188]
mov rcx, rbp
call fcn.140005c50
cmp qword [rsp + 0xcd0], r15
jbe 0x1400076d3
lea rcx, [rdi + 0x120]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140001af8
mov eax, dword [rsp + 0xf8]
jmp 0x1400076f4
mov rcx, rbx
call fcn.140018b20
lea rcx, [rdi + 0x120]
mov r8, rax
mov rdx, rbx
call fcn.140001c08
mov eax, dword [rsp + 0xf8]
cmp eax, 0x40
jne 0x1400077a4
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 0x14000774c
movzx eax, ax
mov dword [rdi + 0x184], eax
lea r8, [rsp + 0xcb0]
mov edx, dword [rsp + 0x1cc]
mov rcx, rbp
call fcn.140005c50
cmp qword [rsp + 0xcd0], r15
jbe 0x14000778a
lea rcx, [rdi + 0x190]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140001af8
jmp 0x1400077a4
mov rcx, rbx
call fcn.140018b20
lea rcx, [rdi + 0x190]
mov r8, rax
mov rdx, rbx
call fcn.140001c08
mov ebx, 0xa40
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x270]
call fcn.140019180
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 0x1400078c7
mov edx, dword [rsp + 0xf34]
test dl, 2
je 0x140007829
mov edx, esi
mov dword [rsp + 0xf34], edx
mov eax, dword [rsp + 0xf38]
lea r8d, [rax + rax]
mov dword [rsp + 0xf38], r8d
jmp 0x140007831
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 0x140007889
movzx eax, word [rsp + 0x120]
cmp r8d, eax
jne 0x140007889
movzx eax, word [rsp + 0x11c]
cmp r10d, eax
jne 0x140007889
movzx eax, word [rsp + 0x11e]
cmp r9d, eax
jne 0x140007889
movzx eax, word [rsp + 0x12c]
cmp edx, eax
je 0x1400078c7
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 0x1400078b8
mov eax, ecx
and eax, 0x58
cmp eax, ecx
je 0x1400078b8
mov dword [rdi + 0x74], r10d
mov dword [rdi + 0x78], r9d
mov dword [rdi + 0x80], r11d
cmp ecx, 2
jne 0x1400078c7
mov dword [rdi + 0x7c], r8d
mov dword [rdi + 0xa4], edx
cmp ecx, 8
je 0x1400078da
cmp ecx, 0x10
je 0x1400078da
cmp ecx, 0x40
jne 0x140007c67
lea r8, [rsp + 0xd80]
mov edx, ebx
lea rcx, [rsp + 0x38c]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp eax, esi
jne 0x14000796f
test byte [rsp + 0xdf4], 2
je 0x140007917
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 0x14000796c
movzx eax, word [rsp + 0x164]
cmp dword [rsp + 0xdf8], eax
jne 0x14000796c
movzx eax, word [rsp + 0x160]
cmp dword [rsp + 0xdec], eax
jne 0x14000796c
movzx eax, word [rsp + 0x162]
cmp dword [rsp + 0xdf0], eax
jne 0x14000796c
movzx eax, word [rsp + 0x170]
cmp dword [rsp + 0xdf4], eax
je 0x14000796f
mov r12d, esi
cmp dword [rsp + 0xf8], 0x10
je 0x14000798f
cmp dword [rsp + 0xf8], 0x40
je 0x14000798f
mov ecx, dword [rsp + 0xd4c]
jmp 0x140007ad2
lea r8, [rsp + 0xe20]
mov edx, ebx
lea rcx, [rsp + 0x490]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp eax, esi
jne 0x1400079cc
test byte [rsp + 0xe94], 2
je 0x1400079cc
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 0x140007a21
movzx eax, word [rsp + 0x1a8]
cmp dword [rsp + 0xe98], eax
jne 0x140007a21
movzx eax, word [rsp + 0x1a4]
cmp dword [rsp + 0xe8c], eax
jne 0x140007a21
movzx eax, word [rsp + 0x1a6]
cmp dword [rsp + 0xe90], eax
jne 0x140007a21
movzx eax, word [rsp + 0x1b4]
cmp dword [rsp + 0xe94], eax
je 0x140007a24
mov r13d, esi
cmp dword [rsp + 0xf8], 0x40
jne 0x140007acb
lea r8, [rsp + 0xce0]
mov edx, ebx
lea rcx, [rsp + 0x594]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp eax, esi
jne 0x140007a6f
test byte [rsp + 0xd54], 2
je 0x140007a6f
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 0x140007ac6
movzx eax, word [rsp + 0x1ec]
cmp dword [rsp + 0xd58], eax
jne 0x140007ac6
movzx eax, word [rsp + 0x1e8]
cmp ecx, eax
jne 0x140007ac6
movzx eax, word [rsp + 0x1ea]
cmp dword [rsp + 0xd50], eax
jne 0x140007ac6
movzx eax, word [rsp + 0x1f8]
cmp dword [rsp + 0xd54], eax
je 0x140007ad2
mov r14d, esi
jmp 0x140007ad2
mov ecx, dword [rsp + 0xd4c]
cmp r12d, esi
jne 0x140007b14
mov eax, dword [rsp + 0xdec]
cmp eax, r15d
je 0x140007b14
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 0x140007b5f
mov eax, dword [rsp + 0xe8c]
cmp eax, r15d
je 0x140007b5f
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 0x140007ba3
cmp ecx, r15d
je 0x140007ba3
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...persistenceConfigPersist.cpp
lea r13, str.IID_ITVParam_interface_get_failed_n
mov r14b, 0xf0
test byte [rdi], r14b
je 0x140007d61
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140046e28]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x140046e88]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x140007d42
cmp qword [rsp + 0x30], r15
je 0x140007d42
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.140019180
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 0x140007d14
cmp dword [rsp + 0xf94], ebx
jne 0x140007d0f
cmp dword [rsp + 0xf98], ebx
jne 0x140007d0f
mov dword [rdi + 0x14], 2
jmp 0x140007d32
mov dword [rdi + 0x14], esi
jmp 0x140007d32
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x88b
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140001218
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140007dfa
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x893
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140001218
jmp 0x140007dfa
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x8c], eax
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x11c]
mov r8d, 0x14
call fcn.14001b4f0
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 0x140007dee
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x140007dee
test eax, edx
jne 0x140007dfa
mov dword [rdi + 0x14], r15d
mov dword [rdi + 0x3c], r15d
mov dword [rdi + 0x38], r15d
test byte [rdi + 0x70], r14b
je 0x140007ee4
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140046e28]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x140046e88]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x140007ec5
cmp qword [rsp + 0x30], r15
je 0x140007ec5
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.140019180
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 0x140007e97
cmp dword [rsp + 0xf94], ebx
jne 0x140007e8f
cmp dword [rsp + 0xf98], ebx
jne 0x140007e8f
mov dword [rdi + 0x84], 2
jmp 0x140007eb5
mov dword [rdi + 0x84], esi
jmp 0x140007eb5
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x8d2
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140001218
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140007f98
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x8da
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140001218
jmp 0x140007f98
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 0x140007f83
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x140007f83
test eax, edx
jne 0x140007f98
mov dword [rdi + 0x84], r15d
mov dword [rdi + 0xac], r15d
mov dword [rdi + 0xa8], r15d
test byte [rdi + 0xe0], r14b
je 0x140008088
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140046e28]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x140046e88]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x140008069
cmp qword [rsp + 0x30], r15
je 0x140008069
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.140019180
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 0x14000803b
cmp dword [rsp + 0xf94], ebx
jne 0x140008033
cmp dword [rsp + 0xf98], ebx
jne 0x140008033
mov dword [rdi + 0xf4], 2
jmp 0x140008059
mov dword [rdi + 0xf4], esi
jmp 0x140008059
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x919
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140001218
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140008119
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x921
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140001218
jmp 0x140008119
mov eax, dword [rsp + 0x188]
mov dword [rsp + 0x8c], eax
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x1a4]
mov r8d, 0x14
call fcn.14001b4f0
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 0x140008104
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x140008104
test eax, ecx
jne 0x140008119
mov dword [rdi + 0xf4], r15d
mov dword [rdi + 0x11c], r15d
mov dword [rdi + 0x118], r15d
test byte [rdi + 0x150], r14b
je 0x140008209
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140046e28]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x140046e88]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x1400081ea
cmp qword [rsp + 0x30], r15
je 0x1400081ea
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.140019180
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 0x1400081bc
cmp dword [rsp + 0xf94], ebx
jne 0x1400081b4
cmp dword [rsp + 0xf98], ebx
jne 0x1400081b4
mov dword [rdi + 0x164], 2
jmp 0x1400081da
mov dword [rdi + 0x164], esi
jmp 0x1400081da
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x95f
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140001218
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400082a4
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x967
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140001218
jmp 0x1400082a4
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 0x14000828f
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x14000828f
test eax, ecx
jne 0x1400082a4
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, [0x140046e18]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x140046e78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x1400083e1
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x1400083f1
movzx eax, word [rdi]
cmp eax, r15d
je 0x1400082fd
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 0x14000831a
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 0x14000833a
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 0x140008355
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.140019180
mov r11d, dword [rdi + 0x1c0]
cmp r11d, 4
jne 0x1400083a3
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 0x1400083e1
cmp r11d, 0x20
jne 0x1400083e1
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 0x1400083f1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
je 0x140008406
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rsp + 0x48], r15
lea rcx, [rsp + 0xcb0]
call fcn.140001800
mov al, sil
mov rcx, qword [rsp + 0x10d0]
xor rcx, rsp
call fcn.1400193c0
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