Function at 0x4ed2d8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x1c], eax
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x498e9c]
call fcn.0045ed8c
mov dword [ebp - 0x6c], eax
mov byte [0x58d2e0], 1
mov eax, dword [ebp - 0x4c]
call fcn.0053a174
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
call fcn.0042c75c
call fcn.00427c40
push 0
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
call fcn.005234b8
cmp dword [ebp - 0x34], 0
je 0x4ed74e
push 0x1fffffff
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x34]
call fcn.005462a4
lea edx, [ebp - 0xa0]
mov cl, 0xff
mov eax, dword [ebp - 0x34]
call fcn.004a5908
mov eax, dword [ebp - 0x34]
call fcn.0042c75c
call fcn.00428020
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x34]
call fcn.0054630c
movzx eax, bx
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x80]
xor edx, edx
xor eax, eax
call fcn.00546358
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dl, byte [eax + 0x2e1]
mov eax, dword [ebp - 0x4c]
mov al, byte [eax + 0x2e0]
mov ecx, 0xff
call fcn.00546060
mov byte [ebp - 9], al
cmp dword [ebp - 0x10], 0
jle 0x4ed3c4
lea eax, [ebp - 0x64]
xor edx, edx
call fcn.00546a1c
jmp 0x4ed3cf
lea eax, [ebp - 0x64]
mov dl, byte [ebp - 9]
call fcn.00546a1c
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x4c]
call fcn.0044cb38
push eax
call sub.user32.dll_GetWindowRect
or esi, 0xffffffff
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0x80000
jne 0x4ed424
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowLongA
push 0
call sub.user32.dll_GetDC
mov ebx, eax
push 2
lea eax, [ebp - 0x64]
push eax
push 0x1fffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x34]
call fcn.0042c75c
call fcn.0042814c
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call dword [0x58ef20]
push ebx
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x6c]
mov ebx, dword [eax]
call dword [ebx + 0x84]
mov dword [ebp - 0x70], 0x718
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x40]
push eax
push esi
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowPos
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
call fcn.004ecd4c
test eax, eax
jl 0x4ed4e1
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x38]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x34]
call fcn.004ee2ac
push 4
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebp - 0x78]
call fcn.0053a14c
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x68]
call fcn.005462a4
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x68]
call fcn.0042c75c
call fcn.0042814c
xor ecx, ecx
pop edx
call fcn.00534cec
push 3
mov eax, dword [ebp - 0x68]
call fcn.0042c75c
call fcn.0042814c
push eax
call sub.gdi32.dll_SetStretchBltMode
cmp dword [ebp - 0x10], 0
jle 0x4ed62f
push ebp
call fcn.004eceac
pop ecx
xor esi, esi
cmp esi, dword [ebp - 0x10]
jg 0x4ed629
push ebp
call fcn.004ed0d0
pop ecx
call sub.kernel32.dll_GetTickCount
mov edi, eax
push 0
call sub.user32.dll_GetDC
mov ebx, eax
push 2
lea eax, [ebp - 0x64]
push eax
push 0x1fffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x68]
call fcn.0042c75c
call fcn.0042814c
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call dword [0x58ef20]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x28]
call fcn.00402ff4
push eax
lea eax, [ebp - 0xa0]
push eax
fld qword [ebp - 0x28]
call fcn.00402ff4
mov edx, dword [ebp - 0x4c]
add eax, dword [edx + 0x44]
push eax
fld qword [ebp - 0x48]
call fcn.00402ff4
mov edx, dword [ebp - 0x4c]
add eax, dword [edx + 0x40]
push eax
fld qword [ebp - 0x58]
fsub qword [ebp - 0x48]
call fcn.00402ff4
mov ecx, eax
pop eax
pop edx
call fcn.00499010
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x4c]
call fcn.0044cb38
mov cl, byte [ebp - 0x62]
pop edx
call fcn.004ed2a0
push ebx
push 0
call sub.user32.dll_ReleaseDC
push ebp
call fcn.004ed1a0
pop ecx
inc esi
cmp dword [ebp - 0x10], 0
jle 0x4ed620
mov edx, 0xc
mov eax, edi
call fcn.005469dc
cmp esi, dword [ebp - 0x10]
jle 0x4ed557
mov al, byte [ebp - 9]
mov byte [ebp - 0x62], al
mov eax, dword [ebp - 0x70]
or eax, 4
push eax
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x90]
push eax
push 0
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov ebx, eax
push 2
lea eax, [ebp - 0x64]
push eax
push 0x1fffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x34]
call fcn.0042c75c
call fcn.0042814c
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call dword [0x58ef20]
push ebx
push 0
call sub.user32.dll_ReleaseDC
lea eax, [ebp - 0x68]
call fcn.0040ef88
mov eax, dword [ebp - 0x4c]
call fcn.0044cb38
mov cl, byte [ebp + 8]
mov dl, 1
call fcn.00525120
mov dl, 1
mov eax, dword [ebp - 0x4c]
call fcn.0045fa34
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
mov eax, dword [ebp - 0x4c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowPos
mov byte [0x58d2e0], 0
push 0x185
push 0
push 0
mov eax, dword [ebp - 0x4c]
call fcn.0044cb38
push eax
call sub.user32.dll_RedrawWindow
test eax, eax
je 0x4ed6ef
lea eax, [ebp - 0x34]
call fcn.0040ef88
call fcn.005600c0
test al, al
je 0x4ed722
push 0x18
call sub.kernel32.dll_Sleep_1
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x4c]
call fcn.0044cb38
push eax
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x6c]
call fcn.0040ef88
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4