Function at 0x1007aa80
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 0x1007aca7
test eax, eax
je 0x1007aca7
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 0x1007ab07
mov edi, eax
test eax, eax
je 0x1007ab07
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 0x1007ab07
push str.EnableNonClientDpiScaling
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a6604], eax
push str.GetSystemMetricsForDpi
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a6584], eax
test eax, eax
je 0x1007aca4
push str.GetDpiForWindow
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a6588], eax
test eax, eax
mov edi, dword [ebp - 0x10]
je 0x1007aca7
push str.RegisterClassW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a658c], eax
test eax, eax
je 0x1007aca7
push str.CreateWindowExW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a6598], eax
test eax, eax
je 0x1007aca7
push str.ShowWindow
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a659c], eax
test eax, eax
je 0x1007aca7
push str.SetWindowPos
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a65a0], eax
test eax, eax
je 0x1007aca7
push str.GetWindowDC
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a65a4], eax
test eax, eax
je 0x1007aca7
push str.FillRect
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a65a8], eax
test eax, eax
je 0x1007aca7
push str.ReleaseDC
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a65b0], eax
test eax, eax
je 0x1007aca7
push str.LoadIconW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a6590], eax
test eax, eax
je 0x1007aca7
push str.LoadCursorW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a6594], eax
test eax, eax
je 0x1007aca7
push str.MonitorFromWindow
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a65b4], eax
test eax, eax
je 0x1007aca7
push str.GetMonitorInfoW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a65b8], eax
test eax, eax
je 0x1007aca7
push str.SetWindowLongPtrW
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a65bc], eax
test eax, eax
je 0x1007aca7
push str.StretchDIBits
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a65c0], eax
test eax, eax
je 0x1007aca7
push str.CreateSolidBrush
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a65c4], eax
test eax, eax
je 0x1007aca7
push str.DeleteObject
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100a65ac], eax
test eax, eax
je 0x1007aca7
mov byte [edi + 4], 0
jmp 0x1007acb1
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