Function at 0x4eaf50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0x39c], ebx
je 0x4eb164
mov eax, dword [ebp + 8]
push eax
mov esi, edi
call fcn.004eb210
mov ecx, dword [ebp + 8]
cmp ecx, dword [edi + 0x3a0]
je 0x4eaf85
mov dword [edi + 0x3a8], ebx
mov edx, dword [edi + 0x30]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 4
push edx
call esi
mov eax, dword [edi + 0x30]
push 1
push eax
call esi
lea ecx, [edi + 0x3ac]
mov dword [edi + 0x4ac], ebx
mov dword [edi + 0x4b8], ebx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
sete dl
movzx eax, dl
mov edx, dword [ebp - 4]
push eax
push ecx
mov esi, esp
mov dword [ebp - 8], esp
mov dword [esi], 0
mov eax, dword [edx]
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
mov dword [ecx], eax
test eax, eax
je 0x4eafdf
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
call fcn.00474c40
test eax, eax
jge 0x4eafef
cmp eax, 0x80004002
jne 0x4eb014
call fcn.0048c7e0
add dword [ebp - 4], 4
inc ebx
add esp, 8
cmp ebx, 4
jl 0x4eafb0
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4eb01a
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.004f2ac0
jmp 0x4eb04d
push eax
call fcn.0053d640
cmp esi, 1
jne 0x4eb038
mov esi, dword [ebp + 0xc]
push esi
push edi
call fcn.004f35b0
cmp esi, 4
je 0x4eb04d
mov ecx, esi
mov dword [edi + 0x3a8], ecx
jmp 0x4eb04d
cmp esi, 3
jne 0x4eb044
call fcn.004f4410
jmp 0x4eb04d
cmp esi, 2
je 0x4eb16d
mov eax, dword [edi + 0x430]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4eb07b
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4eb07b
mov eax, dword [edi + 0x430]
mov ecx, dword [eax + 0x30]
push 0
push ecx
call esi
mov eax, dword [edi + 0x434]
test eax, eax
je 0x4eb09d
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4eb09d
mov eax, dword [edi + 0x434]
mov ecx, dword [eax + 0x30]
push 0
push ecx
call esi
mov eax, dword [edi + 0x438]
test eax, eax
je 0x4eb0bf
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4eb0bf
mov eax, dword [edi + 0x438]
mov ecx, dword [eax + 0x30]
push 0
push ecx
call esi
mov eax, dword [edi + 0x43c]
test eax, eax
je 0x4eb0e1
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4eb0e1
mov eax, dword [edi + 0x43c]
mov ecx, dword [eax + 0x30]
push 0
push ecx
call esi
mov eax, dword [edi + 0x440]
test eax, eax
je 0x4eb103
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4eb103
mov eax, dword [edi + 0x440]
mov ecx, dword [eax + 0x30]
push 0
push ecx
call esi
mov eax, dword [edi + 0x444]
test eax, eax
je 0x4eb125
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4eb125
mov eax, dword [edi + 0x444]
mov ecx, dword [eax + 0x30]
push 0
push ecx
call esi
mov eax, dword [edi + 0x448]
test eax, eax
je 0x4eb147
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4eb147
mov eax, dword [edi + 0x448]
mov ecx, dword [eax + 0x30]
push 0
push ecx
call esi
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x3a0], esi
mov dword [edi + 0x3a4], edx
call fcn.004f45e0
push edi
call fcn.004f6c10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp + 0x10], 0
mov ebx, 0xa
jne 0x4eb1f0
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4eb1bf
call fcn.00425b30
mov ecx, dword [eax + 0x1c4]
sub ecx, dword [eax + 0x1c0]
add eax, 0x1b4
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4eb1f0
xor ecx, ecx
cmp byte [edi + 0x489], cl
sete cl
lea ecx, [ecx*4 + 5]
mov dword [ebp + 0xc], ecx
jmp 0x4eb1f0
cmp eax, 9
jne 0x4eb1f0
call fcn.00425b30
mov ecx, dword [eax + 0x1c4]
sub ecx, dword [eax + 0x1c0]
add eax, 0x1b4
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4eb1f0
mov dword [ebp + 0xc], ebx
cmp dword [edi + 0x508], 0
je 0x4eb1fc
mov dword [ebp + 0xc], ebx
mov ecx, dword [ebp + 0xc]
push ecx
push edi
call fcn.004f3ac0
jmp 0x4eb14a