Function at 0x4e9b70
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 0x4e9d84
mov eax, dword [ebp + 8]
push eax
mov esi, edi
call fcn.004e9e30
mov ecx, dword [ebp + 8]
cmp ecx, dword [edi + 0x3a0]
je 0x4e9ba5
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 0x4e9bff
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
call fcn.004736f0
test eax, eax
jge 0x4e9c0f
cmp eax, 0x80004002
jne 0x4e9c34
call fcn.0048b640
add dword [ebp - 4], 4
inc ebx
add esp, 8
cmp ebx, 4
jl 0x4e9bd0
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4e9c3a
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.004f16e0
jmp 0x4e9c6d
push eax
call fcn.0053c010
cmp esi, 1
jne 0x4e9c58
mov esi, dword [ebp + 0xc]
push esi
push edi
call fcn.004f21d0
cmp esi, 4
je 0x4e9c6d
mov ecx, esi
mov dword [edi + 0x3a8], ecx
jmp 0x4e9c6d
cmp esi, 3
jne 0x4e9c64
call fcn.004f3030
jmp 0x4e9c6d
cmp esi, 2
je 0x4e9d8d
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 0x4e9c9b
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4e9c9b
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 0x4e9cbd
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4e9cbd
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 0x4e9cdf
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4e9cdf
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 0x4e9d01
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4e9d01
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 0x4e9d23
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4e9d23
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 0x4e9d45
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4e9d45
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 0x4e9d67
mov edx, dword [eax + 0x30]
push edx
call ebx
test eax, eax
je 0x4e9d67
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.004f3200
push edi
call fcn.004f5830
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp + 0x10], 0
mov ebx, 0xa
jne 0x4e9e10
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4e9ddf
call fcn.00424330
mov ecx, dword [eax + 0x1a8]
sub ecx, dword [eax + 0x1a4]
add eax, 0x198
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4e9e10
xor ecx, ecx
cmp byte [edi + 0x489], cl
sete cl
lea ecx, [ecx*4 + 5]
mov dword [ebp + 0xc], ecx
jmp 0x4e9e10
cmp eax, 9
jne 0x4e9e10
call fcn.00424330
mov ecx, dword [eax + 0x1a8]
sub ecx, dword [eax + 0x1a4]
add eax, 0x198
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4e9e10
mov dword [ebp + 0xc], ebx
cmp dword [edi + 0x508], 0
je 0x4e9e1c
mov dword [ebp + 0xc], ebx
mov ecx, dword [ebp + 0xc]
push ecx
push edi
call fcn.004f26e0
jmp 0x4e9d6a