Function at 0x419e70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x62d3c0]
xor eax, ebp
mov dword [ebp - 4], eax
push str.riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x30], 0xc0ff
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov dword [ebp - 0x7c], 0x30
mov dword [ebp - 0x78], 3
mov dword [ebp - 0x74], 0x41bfb0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov ecx, dword [0x64f080]
mov dword [ebp - 0x68], ecx
push 0x6b
mov edx, dword [0x64f080]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x64], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 6
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], str.VKSaverInstallWnd
push 0x6c
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x7c]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0x84
mov edx, dword [0x64f080]
push edx
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [0x64fde8], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x64fde8]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x85
mov eax, dword [0x64f080]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [0x64fdec], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x64fdec]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
nop
cmp dword [0x64f090], 0xa
jb 0x419fbb
push 0x90
mov ecx, dword [0x64f080]
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [ebp - 0x18], eax
jmp 0x419fd0
push 0x87
mov edx, dword [0x64f080]
push edx
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [0x64fdf0], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x64fdf0]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x4c]
push ecx
push 0x18
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x48]
mov dword [0x64fdf4], eax
mov ecx, dword [ebp - 0x44]
mov dword [0x64fdf8], ecx
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x2c], eax
cvtsi2sd xmm0, dword [ebp - 0x2c]
divsd xmm0, qword [0x611de8]
movsd qword [ebp - 0x28], xmm0
movsd xmm0, qword [ebp - 0x28]
comisd xmm0, xmmword [0x611dd0]
jbe 0x41a06d
movsd xmm0, qword [0x611de0]
comisd xmm0, xmmword [ebp - 0x28]
jbe 0x41a06d
movsd xmm0, qword [0x611dd8]
movsd qword [ebp - 0x28], xmm0
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
mov eax, dword [0x64f080]
push eax
push 0
push 0
movsd xmm0, qword [ebp - 0x28]
mulsd xmm0, qword [0x611df0]
cvttsd2si ecx, xmm0
push ecx
movsd xmm0, qword [ebp - 0x28]
mulsd xmm0, qword [0x611df8]
cvttsd2si edx, xmm0
push edx
mov eax, dword [ebp - 8]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
movsd xmm0, qword [ebp - 0x28]
mulsd xmm0, qword [0x611df0]
cvttsd2si eax, xmm0
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
movsd xmm0, qword [ebp - 0x28]
mulsd xmm0, qword [0x611df8]
cvttsd2si eax, xmm0
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
push 0x90ca0000
push 0x64f8d8
push str.VKSaverInstallWnd
push 8
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [0x64f08c], edx
mov eax, dword [0x64f08c]
push eax
mov ecx, 0x62ef48
call fcn.0040fa10
push 5
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
nop
push 0
push 0
push 0
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x41a172
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
nop
jmp 0x41a13e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c5de
mov esp, ebp
pop ebp
ret