Function at 0x1006fe20
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 0x10070047
test eax, eax
je 0x10070047
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 0x1006fea7
mov edi, eax
test eax, eax
je 0x1006fea7
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 0x1006fea7
push str.EnableNonClientDpiScaling
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b5fc], eax
push str.GetSystemMetricsForDpi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b57c], eax
test eax, eax
je 0x10070044
push str.GetDpiForWindow
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b580], eax
test eax, eax
mov edi, dword [ebp - 0x10]
je 0x10070047
push str.RegisterClassW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b584], eax
test eax, eax
je 0x10070047
push str.CreateWindowExW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b590], eax
test eax, eax
je 0x10070047
push str.ShowWindow
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b594], eax
test eax, eax
je 0x10070047
push str.SetWindowPos
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b598], eax
test eax, eax
je 0x10070047
push str.GetWindowDC
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b59c], eax
test eax, eax
je 0x10070047
push str.FillRect
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b5a0], eax
test eax, eax
je 0x10070047
push str.ReleaseDC
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b5a8], eax
test eax, eax
je 0x10070047
push str.LoadIconW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b588], eax
test eax, eax
je 0x10070047
push str.LoadCursorW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b58c], eax
test eax, eax
je 0x10070047
push str.MonitorFromWindow
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b5ac], eax
test eax, eax
je 0x10070047
push str.GetMonitorInfoW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b5b0], eax
test eax, eax
je 0x10070047
push str.SetWindowLongPtrW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b5b4], eax
test eax, eax
je 0x10070047
push str.StretchDIBits
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b5b8], eax
test eax, eax
je 0x10070047
push str.CreateSolidBrush
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b5bc], eax
test eax, eax
je 0x10070047
push str.DeleteObject
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b5a4], eax
test eax, eax
je 0x10070047
mov byte [edi + 4], 0
jmp 0x10070051
mov edi, dword [ebp - 0x10]
mov byte [edi + 4], 1
mov dword [edi], 9
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret