Function at 0x1800786b0
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r15, rcx
lea rcx, str.user32
mov rsi, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
call rsi
mov rbx, rax
lea rcx, str.gdi32
call rsi
test rbx, rbx
je 0x180078963
mov r14, rax
test rax, rax
je 0x180078963
lea rdx, str.GetThreadDpiAwarenessContext
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
call rdi
mov rsi, rax
lea rdx, str.AreDpiAwarenessContextsEqual
mov rcx, rbx
call rdi
test rsi, rsi
je 0x180078755
mov rdi, rax
test rax, rax
je 0x180078755
mov rax, rsi
call qword [case.0x18004a5de.0]
mov rcx, rax
mov rdx, 0xfffffffffffffffd
mov rax, rdi
call qword [case.0x18004a5de.0]
test eax, eax
je 0x180078755
lea rdx, str.EnableNonClientDpiScaling
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a82a0], rax
lea rdx, str.GetSystemMetricsForDpi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a81d0], rax
test rax, rax
je 0x180078963
lea rdx, str.GetDpiForWindow
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a81d8], rax
test rax, rax
je 0x180078963
lea rdx, str.RegisterClassW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a81e0], rax
test rax, rax
je 0x180078963
lea rdx, str.CreateWindowExW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a81f8], rax
test rax, rax
je 0x180078963
lea rdx, str.ShowWindow
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a8200], rax
test rax, rax
je 0x180078963
lea rdx, str.SetWindowPos
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a8208], rax
test rax, rax
je 0x180078963
lea rdx, str.GetWindowDC
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a8210], rax
test rax, rax
je 0x180078963
lea rdx, str.FillRect
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a8218], rax
test rax, rax
je 0x180078963
lea rdx, str.ReleaseDC
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a8228], rax
test rax, rax
je 0x180078963
lea rdx, str.LoadIconW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a81e8], rax
test rax, rax
je 0x180078963
lea rdx, str.LoadCursorW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a81f0], rax
test rax, rax
je 0x180078963
lea rdx, str.MonitorFromWindow
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a8230], rax
test rax, rax
je 0x180078963
lea rdx, str.GetMonitorInfoW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a8238], rax
test rax, rax
je 0x180078963
lea rdx, str.SetWindowLongPtrW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a8240], rax
test rax, rax
je 0x180078963
lea rdx, str.StretchDIBits
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a8248], rax
test rax, rax
je 0x180078963
lea rdx, str.CreateSolidBrush
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a8250], rax
test rax, rax
je 0x180078963
lea rdx, str.DeleteObject
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a8220], rax
mov cl, 1
test rax, rax
jne 0x18007896c
mov dword [r15], 9
xor ecx, ecx
mov byte [r15 + 5], cl
mov rax, r15
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret