Function at 0x4d8744
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, 0x52116c
mov esi, 0x521174
call fcn.004d99e0
push esi
call sub.USER32.dll_GetCursorPos
push esi
mov eax, dword [0x4fccd8]
push eax
call sub.USER32.dll_ScreenToClient
xor edx, edx
mov dword [0x521168], edx
mov ecx, dword [0x4fd9e4]
mov dword [ebx], ecx
jmp 0x4d87ec
cmp byte [eax + 0x4e4], 0
je 0x4d87e2
push dword [esi + 4]
push dword [esi]
add eax, 0x6a4
push eax
call sub.USER32.dll_PtInRect
test eax, eax
je 0x4d87c9
mov eax, dword [ebx]
push eax
call fcn.004d98c8
mov edi, eax
mov dword [0x521170], edi
test edi, edi
je 0x4d87c9
mov eax, dword [ebx]
mov dword [eax + 0x6b8], 1
mov dword [0x521168], eax
mov edx, dword [eax + 0x828]
mov dword [ebx], edx
jmp 0x4d87ec
mov eax, dword [ebx]
cmp dword [eax + 0x6b8], 0
je 0x4d87e2
xor edx, edx
mov dword [eax + 0x6b8], edx
push eax
call fcn.004d9d04
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x828]
mov dword [ebx], eax
mov eax, dword [ebx]
test eax, eax
jne 0x4d877d
mov edx, dword [0x521168]
mov dword [ebx], edx
cmp dword [0x4fd9f4], 0
je 0x4d8ae1
cmp dword [ebx], 0
je 0x4d8ae1
cmp dword [0x4fcce4], 0
jne 0x4d8ae1
cmp dword [0x4fd270], 0
je 0x4d8ae1
mov ecx, dword [ebx]
mov eax, dword [ecx]
cmp eax, dword [0x4fd9f8]
jne 0x4d8856
mov edx, dword [ebx]
mov ecx, dword [edx]
push ecx
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x4d8856
mov eax, dword [ebx]
mov edx, dword [eax]
push edx
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x4d8ae1
cmp dword [0x4fccec], 0
jne 0x4d8876
push 0
push 0x32
push 0x7e
mov ecx, dword [0x4fccd8]
push ecx
call sub.USER32.dll_SetTimer
mov dword [0x4fccec], eax
mov eax, dword [ebx]
cmp dword [eax + 0x6bc], 0
je 0x4d889e
cmp dword [0x4fd268], 0
je 0x4d8896
cmp eax, dword [0x4fccf4]
je 0x4d8b49
push eax
call fcn.004d9d04
jmp 0x4d88c9
cmp dword [0x4fd268], 0
je 0x4d88ac
call fcn.004e1540
mov eax, dword [ebx]
cmp eax, dword [0x4fccf4]
je 0x4d88bc
push eax
call fcn.004d9d04
mov edx, dword [ebx]
mov dword [0x4fccf4], edx
jmp 0x4d8b49
cmp dword [0x4fccf0], 0
je 0x4d88e7
xor ecx, ecx
mov dword [0x4fccf0], ecx
push 0x7f
mov eax, dword [0x4fccd8]
push eax
call sub.USER32.dll_KillTimer
cmp dword [ebp + 8], 0
jne 0x4d891a
mov eax, dword [0x4fd268]
test eax, eax
je 0x4d88fe
push 0
push eax
call sub.USER32.dll_ShowWindow
push 0
push 0x32
push 0x7f
mov edx, dword [0x4fccd8]
push edx
call sub.USER32.dll_SetTimer
mov dword [0x4fccf0], eax
jmp 0x4d8b49
mov ecx, dword [ebx]
mov dword [0x4fccf4], ecx
push 0
push 0x64
push 0x7f
mov eax, dword [0x4fccd8]
push eax
call sub.USER32.dll_SetTimer
mov dword [0x4fccf0], eax
mov eax, dword [0x4fcccc]
test eax, eax
jne 0x4d8965
sub dword [esi], 5
mov edx, dword [0x4fccb0]
sub dword [esi + 4], edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x6a4]
cmp eax, dword [esi]
jl 0x4d89e7
inc eax
mov dword [esi], eax
jmp 0x4d89e7
cmp eax, 1
jne 0x4d8982
add dword [esi], 0xa
add dword [esi + 4], 8
mov edx, dword [ebx]
mov eax, dword [edx + 0x6ac]
cmp eax, dword [esi]
jg 0x4d89e7
dec eax
mov dword [esi], eax
jmp 0x4d89e7
cmp eax, 2
jne 0x4d89ca
add dword [esi], 0xa
add dword [esi + 4], 0xa
mov eax, dword [ebx]
mov edx, dword [eax + 0x6a4]
cmp edx, dword [esi]
jl 0x4d899d
inc edx
mov dword [esi], edx
mov edx, dword [eax + 0x6ac]
cmp edx, dword [esi]
jg 0x4d89aa
dec edx
mov dword [esi], edx
mov edx, dword [eax + 0x6a8]
cmp edx, dword [esi + 4]
jl 0x4d89b9
inc edx
mov dword [esi + 4], edx
mov edx, dword [eax + 0x6b0]
cmp edx, dword [esi + 4]
jg 0x4d89e7
dec edx
mov dword [esi + 4], edx
jmp 0x4d89e7
cmp eax, 3
jne 0x4d89e7
add dword [esi], 0xa
add dword [esi + 4], 0xf
mov eax, dword [ebx]
mov eax, dword [eax + 0x6a8]
cmp eax, dword [esi + 4]
jl 0x4d89e7
inc eax
mov dword [esi + 4], eax
push esi
mov edx, dword [0x4fccd8]
push edx
call sub.USER32.dll_ClientToScreen
push 0
call fcn.0040ef0c
pop ecx
mov dword [0x4fd478], eax
mov byte [0x521360], 0
mov edi, dword [ebx]
cmp byte [edi + 0x4cc], 3
jne 0x4d8a8f
cmp byte [edi + 0x4cd], 1
jne 0x4d8a59
mov eax, dword [edi]
push eax
call fcn.004cee98
mov dword [0x52117c], eax
cmp dword [0x52117c], 0
je 0x4d8a8f
mov edx, dword [0x52117c]
mov ecx, dword [edx + 0x414]
push ecx
mov eax, dword [0x521170]
push eax
push 0x4fcd0c
push 0x521360
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x4d8a8f
mov edx, dword [ebx]
mov ecx, dword [edx]
push ecx
call fcn.00469dfc
mov edi, eax
mov dword [0x521180], edi
test edi, edi
je 0x4d8a8f
mov eax, dword [edi + 0x410]
push eax
mov edx, dword [0x521170]
push edx
push 0x4fcd16
push 0x521360
call sub.USER32.dll_wsprintfA
add esp, 0x10
cmp byte [0x521360], 0
jne 0x4d8ac4
mov ecx, dword [0x521170]
push esi
mov esi, 0x521360
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x521360
push 2
push 0
movzx eax, word [esi]
movzx edx, word [esi + 4]
shl edx, 0x10
or eax, edx
push eax
call fcn.004e1588
jmp 0x4d8b49
cmp dword [ebp + 8], 2
jne 0x4d8b05
cmp dword [0x4fccec], 0
je 0x4d8b05
xor ecx, ecx
mov dword [0x4fccec], ecx
push 0x7e
mov eax, dword [0x4fccd8]
push eax
call sub.USER32.dll_KillTimer
cmp dword [0x4fd268], 0
je 0x4d8b23
push 0
call fcn.0040ef0c
pop ecx
add eax, 0xfffffffe
mov dword [0x4fd478], eax
call fcn.004e1540
xor edx, edx
mov dword [0x4fccf4], edx
cmp dword [0x4fccf0], 0
je 0x4d8b49
xor ecx, ecx
mov dword [0x4fccf0], ecx
push 0x7f
mov eax, dword [0x4fccd8]
push eax
call sub.USER32.dll_KillTimer
pop edi
pop esi
pop ebx
pop ebp
ret 4