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

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x10e0
call fcn.14004a0d0
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 [0x140061550]
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.14001dda0
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xd80]
call fcn.14001dda0
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xe20]
call fcn.14001dda0
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xce0]
call fcn.14001dda0
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, [0x14004d780]
xor edx, edx
lea r8d, [r15 + 0x15]
lea rcx, [0x14004d7e0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x14000841f
cmp qword [rsp + 0x48], r15
je 0x140008434
mov ebx, 0x178
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.14001dda0
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.14001dda0
cmp ebx, r15d
jl 0x14000841f
cmp byte [rsp + 0xe0], r15b
jne 0x14000841f
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 0x14000758b
movzx eax, ax
mov dword [rdi + 0x34], eax
lea r8, [rsp + 0xcb0]
mov edx, r9d
mov rcx, rbp
call fcn.140005cc4
lea rbx, [0x14004e8cc]
cmp qword [rsp + 0xcd0], r15
jbe 0x1400075c9
lea rcx, [rdi + 0x40]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140004e98
jmp 0x1400075e0
mov rcx, rbx
call fcn.14001d750
lea rcx, [rdi + 0x40]
mov r8, rax
mov rdx, rbx
call fcn.140004fa8
mov eax, dword [rsp + 0xf8]
mov esi, 1
cmp eax, esi
je 0x1400076a0
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 0x14000763a
movzx eax, ax
mov dword [rdi + 0xa4], eax
lea r8, [rsp + 0xcb0]
mov edx, dword [rsp + 0x144]
mov rcx, rbp
call fcn.140005cc4
cmp qword [rsp + 0xcd0], r15
jbe 0x14000767f
lea rcx, [rdi + 0xb0]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140004e98
mov eax, dword [rsp + 0xf8]
jmp 0x1400076a0
mov rcx, rbx
call fcn.14001d750
lea rcx, [rdi + 0xb0]
mov r8, rax
mov rdx, rbx
call fcn.140004fa8
mov eax, dword [rsp + 0xf8]
cmp eax, 0x10
je 0x1400076ae
cmp eax, 0x40
jne 0x14000780a
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 0x1400076fd
movzx eax, ax
mov dword [rdi + 0x114], eax
lea r8, [rsp + 0xcb0]
mov edx, dword [rsp + 0x188]
mov rcx, rbp
call fcn.140005cc4
cmp qword [rsp + 0xcd0], r15
jbe 0x14000773b
lea rcx, [rdi + 0x120]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140004e98
jmp 0x140007755
mov rcx, rbx
call fcn.14001d750
lea rcx, [rdi + 0x120]
mov r8, rax
mov rdx, rbx
call fcn.140004fa8
cmp dword [rsp + 0xf8], 0x40
jne 0x14000780a
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 0x1400077b2
movzx eax, ax
mov dword [rdi + 0x184], eax
lea r8, [rsp + 0xcb0]
mov edx, dword [rsp + 0x1cc]
mov rcx, rbp
call fcn.140005cc4
cmp qword [rsp + 0xcd0], r15
jbe 0x1400077f0
lea rcx, [rdi + 0x190]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xcb0]
call fcn.140004e98
jmp 0x14000780a
mov rcx, rbx
call fcn.14001d750
lea rcx, [rdi + 0x190]
mov r8, rax
mov rdx, rbx
call fcn.140004fa8
mov ebx, 0xa40
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x270]
call fcn.14001dda0
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 0x14000792d
mov edx, dword [rsp + 0xf34]
test dl, 2
je 0x14000788f
mov edx, esi
mov dword [rsp + 0xf34], edx
mov eax, dword [rsp + 0xf38]
lea r8d, [rax + rax]
mov dword [rsp + 0xf38], r8d
jmp 0x140007897
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 0x1400078ef
movzx eax, word [rsp + 0x120]
cmp r8d, eax
jne 0x1400078ef
movzx eax, word [rsp + 0x11c]
cmp r10d, eax
jne 0x1400078ef
movzx eax, word [rsp + 0x11e]
cmp r9d, eax
jne 0x1400078ef
movzx eax, word [rsp + 0x12c]
cmp edx, eax
je 0x14000792d
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 0x14000791e
mov eax, ecx
and eax, 0x58
cmp eax, ecx
je 0x14000791e
mov dword [rdi + 0x74], r10d
mov dword [rdi + 0x78], r9d
mov dword [rdi + 0x80], r11d
cmp ecx, 2
jne 0x14000792d
mov dword [rdi + 0x7c], r8d
mov dword [rdi + 0xa4], edx
cmp ecx, 8
je 0x140007940
cmp ecx, 0x10
je 0x140007940
cmp ecx, 0x40
jne 0x140007ccd
lea r8, [rsp + 0xd80]
mov edx, ebx
lea rcx, [rsp + 0x38c]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp eax, esi
jne 0x1400079d5
test byte [rsp + 0xdf4], 2
je 0x14000797d
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 0x1400079d2
movzx eax, word [rsp + 0x164]
cmp dword [rsp + 0xdf8], eax
jne 0x1400079d2
movzx eax, word [rsp + 0x160]
cmp dword [rsp + 0xdec], eax
jne 0x1400079d2
movzx eax, word [rsp + 0x162]
cmp dword [rsp + 0xdf0], eax
jne 0x1400079d2
movzx eax, word [rsp + 0x170]
cmp dword [rsp + 0xdf4], eax
je 0x1400079d5
mov r12d, esi
cmp dword [rsp + 0xf8], 0x10
je 0x1400079f5
cmp dword [rsp + 0xf8], 0x40
je 0x1400079f5
mov ecx, dword [rsp + 0xd4c]
jmp 0x140007b38
lea r8, [rsp + 0xe20]
mov edx, ebx
lea rcx, [rsp + 0x490]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp eax, esi
jne 0x140007a32
test byte [rsp + 0xe94], 2
je 0x140007a32
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 0x140007a87
movzx eax, word [rsp + 0x1a8]
cmp dword [rsp + 0xe98], eax
jne 0x140007a87
movzx eax, word [rsp + 0x1a4]
cmp dword [rsp + 0xe8c], eax
jne 0x140007a87
movzx eax, word [rsp + 0x1a6]
cmp dword [rsp + 0xe90], eax
jne 0x140007a87
movzx eax, word [rsp + 0x1b4]
cmp dword [rsp + 0xe94], eax
je 0x140007a8a
mov r13d, esi
cmp dword [rsp + 0xf8], 0x40
jne 0x140007b31
lea r8, [rsp + 0xce0]
mov edx, ebx
lea rcx, [rsp + 0x594]
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
cmp eax, esi
jne 0x140007ad5
test byte [rsp + 0xd54], 2
je 0x140007ad5
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 0x140007b2c
movzx eax, word [rsp + 0x1ec]
cmp dword [rsp + 0xd58], eax
jne 0x140007b2c
movzx eax, word [rsp + 0x1e8]
cmp ecx, eax
jne 0x140007b2c
movzx eax, word [rsp + 0x1ea]
cmp dword [rsp + 0xd50], eax
jne 0x140007b2c
movzx eax, word [rsp + 0x1f8]
cmp dword [rsp + 0xd54], eax
je 0x140007b38
mov r14d, esi
jmp 0x140007b38
mov ecx, dword [rsp + 0xd4c]
cmp r12d, esi
jne 0x140007b7a
mov eax, dword [rsp + 0xdec]
cmp eax, r15d
je 0x140007b7a
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 0x140007bc5
mov eax, dword [rsp + 0xe8c]
cmp eax, r15d
je 0x140007bc5
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 0x140007c09
cmp ecx, r15d
je 0x140007c09
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, pe_nt_image_headers64
test byte [rdi], r14b
je 0x140007dc7
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14004d7b0]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x14004d810]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x140007da8
cmp qword [rsp + 0x30], r15
je 0x140007da8
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.14001dda0
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 0x140007d7a
cmp dword [rsp + 0xf94], ebx
jne 0x140007d75
cmp dword [rsp + 0xf98], ebx
jne 0x140007d75
mov dword [rdi + 0x14], 2
jmp 0x140007d98
mov dword [rdi + 0x14], esi
jmp 0x140007d98
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x6fb
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140002184
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140007e60
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x703
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140002184
jmp 0x140007e60
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x8c], eax
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x11c]
mov r8d, 0x14
call fcn.14001dea0
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 0x140007e54
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x140007e54
test eax, edx
jne 0x140007e60
mov dword [rdi + 0x14], r15d
mov dword [rdi + 0x3c], r15d
mov dword [rdi + 0x38], r15d
test byte [rdi + 0x70], r14b
je 0x140007f4a
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14004d7b0]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x14004d810]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x140007f2b
cmp qword [rsp + 0x30], r15
je 0x140007f2b
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.14001dda0
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 0x140007efd
cmp dword [rsp + 0xf94], ebx
jne 0x140007ef5
cmp dword [rsp + 0xf98], ebx
jne 0x140007ef5
mov dword [rdi + 0x84], 2
jmp 0x140007f1b
mov dword [rdi + 0x84], esi
jmp 0x140007f1b
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x742
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140002184
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140007ffe
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x74a
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140002184
jmp 0x140007ffe
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 0x140007fe9
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x140007fe9
test eax, edx
jne 0x140007ffe
mov dword [rdi + 0x84], r15d
mov dword [rdi + 0xac], r15d
mov dword [rdi + 0xa8], r15d
test byte [rdi + 0xe0], r14b
je 0x1400080ee
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14004d7b0]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x14004d810]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x1400080cf
cmp qword [rsp + 0x30], r15
je 0x1400080cf
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.14001dda0
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 0x1400080a1
cmp dword [rsp + 0xf94], ebx
jne 0x140008099
cmp dword [rsp + 0xf98], ebx
jne 0x140008099
mov dword [rdi + 0xf4], 2
jmp 0x1400080bf
mov dword [rdi + 0xf4], esi
jmp 0x1400080bf
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x789
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140002184
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000817f
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x791
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140002184
jmp 0x14000817f
mov eax, dword [rsp + 0x188]
mov dword [rsp + 0x8c], eax
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x1a4]
mov r8d, 0x14
call fcn.14001dea0
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 0x14000816a
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x14000816a
test eax, ecx
jne 0x14000817f
mov dword [rdi + 0xf4], r15d
mov dword [rdi + 0x11c], r15d
mov dword [rdi + 0x118], r15d
test byte [rdi + 0x150], r14b
je 0x14000826f
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14004d7b0]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x14004d810]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x140008250
cmp qword [rsp + 0x30], r15
je 0x140008250
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0xf60]
call fcn.14001dda0
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 0x140008222
cmp dword [rsp + 0xf94], ebx
jne 0x14000821a
cmp dword [rsp + 0xf98], ebx
jne 0x14000821a
mov dword [rdi + 0x164], 2
jmp 0x140008240
mov dword [rdi + 0x164], esi
jmp 0x140008240
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x7cf
lea rdx, str.GetVideoParameter_Failed_n
lea rcx, [rsp + 0x38]
call fcn.140002184
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000830a
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], 0x7d7
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140002184
jmp 0x14000830a
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 0x1400082f5
mov eax, dword [rsp + 0xa8]
cmp eax, r15d
je 0x1400082f5
test eax, ecx
jne 0x14000830a
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, [0x14004d7a0]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x14004d800]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r15d
jl 0x14000840f
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x14000841f
movzx eax, word [rdi]
cmp eax, r15d
je 0x140008363
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 0x140008380
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 0x1400083a0
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 0x1400083c0
mov rax, qword [rcx]
lea r8, [rdi + 0x168]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
cmp dword [rdi + 0x1c0], 4
jne 0x140008414
mov ebx, 0x58
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14001dda0
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 rcx, qword [rsp + 0x30]
jmp 0x140008414
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x14000841f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
je 0x140008434
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rsp + 0x48], r15
lea rcx, [rsp + 0xcb0]
call fcn.140004b94
mov al, sil
mov rcx, qword [rsp + 0x10d0]
xor rcx, rsp
call fcn.14001e4a0
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