Function at 0x140051190
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
mov r12, rcx
lea r14, [rcx + 0x88]
xor edi, edi
mov qword [r14], rdi
xor r9d, r9d
lea rdx, str.user32.dll
mov rcx, r14
call fcn.14005d4a0
mov r13d, edi
lea esi, [rdi - 1]
cmp qword [r14], rdi
je 0x1400512ad
cmp dword [0x14021c658], 0xb23a8c33
je 0x14005121b
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp + 0x118], rax
test rax, rax
je 0x14005120f
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140051212
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051222
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.GetRawInputData
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp + 0x118], rax
mov dword [rbp - 0x48], 1
mov qword [rbp - 0x50], rdi
mov rcx, rax
call fcn.140058520
mov r15, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test r15, r15
je 0x140051281
mov rcx, r15
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400512ad
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400512a3
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400512ad
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 8], r13
mov r15, rdi
cmp qword [r14], rdi
je 0x14005138b
cmp dword [0x14021c658], 0xb23a8c33
je 0x1400512f9
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp + 0x120], rax
test rax, rax
je 0x1400512ed
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x1400512f0
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051300
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.GetRawInputDeviceList
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp + 0x120], rax
mov dword [rbp - 0x38], 1
mov qword [rbp - 0x40], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x14005135f
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14005138b
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140051381
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005138b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x10], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x140051469
cmp dword [0x14021c658], 0xb23a8c33
je 0x1400513d7
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp + 0x128], rax
test rax, rax
je 0x1400513cb
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x1400513ce
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x1400513de
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.GetRawInputDeviceInfoW
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp + 0x128], rax
mov dword [rbp - 0x28], 1
mov qword [rbp - 0x30], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x14005143d
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140051469
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14005145f
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140051469
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x18], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x140051543
cmp dword [0x14021c658], 0xb23a8c33
je 0x1400514b3
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400514a7
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x1400514aa
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x1400514ba
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.RegisterRawInputDevices
call qword [rax + 0x28]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov dword [rbp - 0x18], 1
mov qword [rbp - 0x20], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x140051517
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140051543
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140051539
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140051543
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x14005161c
cmp dword [0x14021c658], 0xb23a8c33
je 0x14005158c
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140051580
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140051583
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051593
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.ShutdownBlockReasonCreate
call qword [rax + 0x28]
mov rbx, rax
mov qword [rsp + 0x48], rax
mov dword [rbp - 8], 1
mov qword [rbp - 0x10], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x1400515f0
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14005161c
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140051612
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005161c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x20], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x1400516f6
cmp dword [0x14021c658], 0xb23a8c33
je 0x140051666
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14005165a
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x14005165d
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x14005166d
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.ChangeWindowMessageFilter
call qword [rax + 0x28]
mov rbx, rax
mov qword [rsp + 0x50], rax
mov dword [rbp + 8], 1
mov qword [rbp], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x1400516ca
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400516f6
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400516ec
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400516f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x28], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x1400517d0
cmp dword [0x14021c658], 0xb23a8c33
je 0x140051740
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140051734
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140051737
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051747
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.ChangeWindowMessageFilterEx
call qword [rax + 0x28]
mov rbx, rax
mov qword [rsp + 0x58], rax
mov dword [rbp + 0x18], 1
mov qword [rbp + 0x10], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x1400517a4
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400517d0
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400517c6
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400517d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x30], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x1400518aa
cmp dword [0x14021c658], 0xb23a8c33
je 0x14005181a
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14005180e
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140051811
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051821
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.GetPhysicalCursorPos
call qword [rax + 0x28]
mov rbx, rax
mov qword [rsp + 0x60], rax
mov dword [rbp + 0x28], 1
mov qword [rbp + 0x20], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x14005187e
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400518aa
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400518a0
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400518aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x38], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x140051984
cmp dword [0x14021c658], 0xb23a8c33
je 0x1400518f4
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400518e8
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x1400518eb
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x1400518fb
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.RegisterTouchWindow
call qword [rax + 0x28]
mov rbx, rax
mov qword [rsp + 0x68], rax
mov dword [rbp + 0x38], 1
mov qword [rbp + 0x30], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x140051958
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140051984
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14005197a
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140051984
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x40], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x140051a5e
cmp dword [0x14021c658], 0xb23a8c33
je 0x1400519ce
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400519c2
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x1400519c5
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x1400519d5
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.GetTouchInputInfo
call qword [rax + 0x28]
mov rbx, rax
mov qword [rsp + 0x70], rax
mov dword [rbp + 0x48], 1
mov qword [rbp + 0x40], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x140051a32
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140051a5e
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140051a54
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140051a5e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x48], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x140051b38
cmp dword [0x14021c658], 0xb23a8c33
je 0x140051aa8
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140051a9c
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140051a9f
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051aaf
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.CloseTouchInputHandle
call qword [rax + 0x28]
mov rbx, rax
mov qword [rsp + 0x78], rax
mov dword [rbp + 0x58], 1
mov qword [rbp + 0x50], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x140051b0c
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140051b38
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140051b2e
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140051b38
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x50], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x140051c10
cmp dword [0x14021c658], 0xb23a8c33
je 0x140051b81
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140051b75
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140051b78
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051b88
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.GetGestureInfo
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp - 0x80], rax
mov dword [rbp + 0x68], 1
mov qword [rbp + 0x60], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x140051be4
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140051c10
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140051c06
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140051c10
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x58], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x140051ce8
cmp dword [0x14021c658], 0xb23a8c33
je 0x140051c59
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 0x78], rax
test rax, rax
je 0x140051c4d
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140051c50
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051c60
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.SetProcessDPIAware
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp - 0x78], rax
mov dword [rbp + 0x78], 1
mov qword [rbp + 0x70], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x140051cbc
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140051ce8
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140051cde
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140051ce8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x60], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x140051dc6
cmp dword [0x14021c658], 0xb23a8c33
je 0x140051d31
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 0x70], rax
test rax, rax
je 0x140051d25
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140051d28
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051d38
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.SetWindowCompositionAttribute
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp - 0x70], rax
mov dword [rbp + 0x88], 1
mov qword [rbp + 0x80], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x140051d9a
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140051dc6
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140051dbc
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140051dc6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x80], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x140051ea7
cmp dword [0x14021c658], 0xb23a8c33
je 0x140051e12
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140051e06
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140051e09
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051e19
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.SetThreadDpiAwarenessContext
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp - 0x68], rax
mov dword [rbp + 0x98], 1
mov qword [rbp + 0x90], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x140051e7b
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140051ea7
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140051e9d
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140051ea7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x68], r15
mov r15, rdi
cmp qword [r14], rdi
je 0x140051f85
cmp dword [0x14021c658], 0xb23a8c33
je 0x140051ef0
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140051ee4
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140051ee7
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051ef7
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.SetThreadDpiHostingBehavior
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp - 0x60], rax
mov dword [rbp + 0xa8], 1
mov qword [rbp + 0xa0], rdi
mov rcx, rax
call fcn.140058520
mov r13, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test r13, r13
je 0x140051f59
mov rcx, r13
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140051f85
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140051f7b
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140051f85
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x70], r15
cmp qword [r14], 0
je 0x14005205f
cmp dword [0x14021c658], 0xb23a8c33
je 0x140051fcc
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 0x58], rax
test rax, rax
je 0x140051fc0
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140051fc3
mov rcx, rdi
mov qword [0x140229e08], rcx
jmp 0x140051fd3
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, str.SetProcessDpiAwarenessContext
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp - 0x58], rax
mov dword [rbp + 0xb8], 1
mov qword [rbp + 0xb0], rdi
mov rcx, rax
call fcn.140058520
mov r15, rax
mov rdx, rax
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test r15, r15
je 0x140052035
mov rcx, r15
call fcn.140017d60
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14005205f
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140052055
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14005205f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [r12 + 0x78], rdi
mov rax, r12
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret