Function at 0x403280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
cmp dword [ebp + 8], 0
je 0x4032c0
mov eax, dword [ebp + 8]
push eax
call fcn.00407ff2
add esp, 4
test eax, eax
jbe 0x4032c0
lea ecx, [ebp - 0x48]
push ecx
push 0x422a08
mov edx, dword [ebp + 8]
push edx
call fcn.0040a389
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x1c], eax
push 0xc
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 0xe
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
imul esi, eax
mov dword [ebp - 0x4c], esi
mov edx, dword [ebp - 0x1c]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp + 0xc], 0
je 0x403314
push 0x10
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x403324
mov eax, 2
jmp 0x4034bc
mov ecx, dword [ebp - 0x44]
push ecx
push 0
push 0x172
mov edx, dword [0x4241c4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
mov eax, dword [0x4241c4]
push eax
push 0
push 0
push 0
push 0
push 0x54000000
push 0x424208
push 0x422a10
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4241dc], eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
mov ecx, dword [0x4241c4]
push ecx
push 0
push 0
push 0
push 0
push 0x54000000
push 0x42420c
push 0x422a34
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4241d8], eax
push 1
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
mov edx, dword [0x4241d8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.004034d0
push 0x4039f0
push 0x32
mov eax, dword [0x422978]
push eax
mov ecx, dword [0x4241c4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
lea edx, [ebp - 0x18]
push edx
mov eax, dword [0x4241c4]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x40], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x40]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
push 0x15
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [0x4241c4]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
mov eax, dword [0x4241c4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4241c4]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
cmp dword [ebp - 0x48], 0
je 0x403490
push 0x403d70
mov edx, dword [ebp - 0x48]
imul edx, edx, 0x3e8
push edx
mov eax, dword [0x422974]
push eax
mov ecx, dword [0x4241c4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
push 0
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4034ba
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x403490
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret