Function at 0x1007a270
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, ecx
mov esi, dword [sym.imp.kernel32.dll_LoadLibraryW]
push str.user32
call esi
mov ebx, eax
push str.gdi32
call esi
test ebx, ebx
je 0x1007a497
test eax, eax
je 0x1007a497
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.GetThreadDpiAwarenessContext
push ebx
call edi
mov esi, eax
push str.AreDpiAwarenessContextsEqual
push ebx
call edi
test esi, esi
je 0x1007a2f7
mov edi, eax
test eax, eax
je 0x1007a2f7
mov ecx, esi
call dword [section..00cfg]
call esi
mov esi, eax
mov ecx, edi
call dword [section..00cfg]
push 0xfffffffffffffffd
push esi
call edi
test eax, eax
je 0x1007a2f7
push str.EnableNonClientDpiScaling
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a5604], eax
push str.GetSystemMetricsForDpi
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a5584], eax
test eax, eax
je 0x1007a494
push str.GetDpiForWindow
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a5588], eax
test eax, eax
mov edi, dword [ebp - 0x10]
je 0x1007a497
push str.RegisterClassW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a558c], eax
test eax, eax
je 0x1007a497
push str.CreateWindowExW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a5598], eax
test eax, eax
je 0x1007a497
push str.ShowWindow
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a559c], eax
test eax, eax
je 0x1007a497
push str.SetWindowPos
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a55a0], eax
test eax, eax
je 0x1007a497
push str.GetWindowDC
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a55a4], eax
test eax, eax
je 0x1007a497
push str.FillRect
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a55a8], eax
test eax, eax
je 0x1007a497
push str.ReleaseDC
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a55b0], eax
test eax, eax
je 0x1007a497
push str.LoadIconW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a5590], eax
test eax, eax
je 0x1007a497
push str.LoadCursorW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a5594], eax
test eax, eax
je 0x1007a497
push str.MonitorFromWindow
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a55b4], eax
test eax, eax
je 0x1007a497
push str.GetMonitorInfoW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a55b8], eax
test eax, eax
je 0x1007a497
push str.SetWindowLongPtrW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a55bc], eax
test eax, eax
je 0x1007a497
push str.StretchDIBits
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a55c0], eax
test eax, eax
je 0x1007a497
push str.CreateSolidBrush
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a55c4], eax
test eax, eax
je 0x1007a497
push str.DeleteObject
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a55ac], eax
test eax, eax
je 0x1007a497
mov byte [edi + 4], 0
jmp 0x1007a4a1
mov edi, dword [ebp - 0x10]
mov byte [edi + 4], 1
mov dword [edi], 8
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret