Function at 0x4d0fd0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x2bc]
test eax, eax
je 0x4d12d8
mov eax, dword [esi + 0x284]
test eax, eax
push edi
mov edi, dword [sym.imp.user32.dll_KillTimer]
je 0x4d0ffe
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call edi
mov eax, dword [esi + 0x280]
test eax, eax
je 0x4d1019
mov edx, dword [esi + 0x1c]
push eax
push edx
call edi
mov dword [esi + 0x280], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.user32.dll_GetWindowRect]
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4d1042
mov eax, dword [0x5a8998]
test eax, eax
jne 0x4d1042
mov eax, dword [0x5a7a80]
test eax, eax
je 0x4d106a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x130]
test eax, eax
je 0x4d105a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
jmp 0x4d1062
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
sub eax, ecx
mov dword [esi + 0x28c], eax
test edi, edi
jne 0x4d10b8
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
lea eax, [esi + 0x290]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x310]
push edi
mov ecx, esi
call fcn.00524883
mov ecx, dword [esi + 0x2d0]
push edi
push ecx
call dword [sym.imp.user32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret 8
mov edx, dword [esi]
push ebx
push ebp
mov ecx, esi
call dword [edx + 0x160]
push eax
mov ecx, 0x5a4808
call fcn.004eab40
mov ebp, dword [esp + 0x24]
test ebp, ebp
mov edi, eax
je 0x4d111f
push 0
push esi
mov ecx, edi
call fcn.004abce0
mov eax, dword [esi + 0x2d0]
push 0
push eax
call fcn.00522236
push eax
push 0x57e6c0
call fcn.00526a01
add esp, 8
push eax
mov ecx, edi
call fcn.004abd40
push 5
mov ecx, esi
call fcn.00524883
mov ecx, dword [esi + 0x2d0]
push 5
push ecx
call dword [sym.imp.user32.dll_ShowWindow]
mov edx, dword [esi + 0x1c]
mov ebx, dword [sym.imp.user32.dll_BringWindowToTop]
push edx
call ebx
mov eax, dword [esi + 0x2d0]
push eax
call ebx
mov eax, dword [esi + 0x2ac]
mov ebx, 1
cmp eax, ebx
jne 0x4d114d
push ebx
push 0
mov ecx, edi
call fcn.004ac620
mov ecx, dword [0x5a46c4]
mov eax, dword [esi + 0x1c]
xor edx, edx
test ebp, ebp
setne dl
push 0
push ecx
inc edx
push edx
push eax
call dword [sym.imp.user32.dll_SetTimer]
mov dword [esi + 0x284], eax
mov eax, dword [0x5a8998]
test eax, eax
jne 0x4d12c5
mov eax, dword [0x5a7a80]
test eax, eax
jne 0x4d12c5
mov eax, dword [esi + 0x2ac]
cmp eax, ebx
jne 0x4d1207
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [edx + 0x160]
mov ecx, eax
call fcn.00528407
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
test ah, 0xa0
je 0x4d11c2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
jmp 0x4d11ca
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
sub eax, ecx
cdq
idiv dword [0x5a46c8]
cmp eax, ebx
jge 0x4d11de
mov eax, ebx
jmp 0x4d12bf
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x158]
test ah, 0xa0
je 0x4d11fa
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
jmp 0x4d12b6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
jmp 0x4d12b6
cmp eax, 2
jne 0x4d12c5
test ebp, ebp
jne 0x4d1253
mov eax, dword [esi + 0x2a0]
test eax, eax
jne 0x4d1253
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x290]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0xc], edx
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x160]
mov ecx, eax
call fcn.00528407
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x158]
test ah, 0xa0
je 0x4d1270
mov eax, dword [esi + 0x29c]
mov ecx, dword [esi + 0x294]
jmp 0x4d127c
mov eax, dword [esi + 0x298]
mov ecx, dword [esi + 0x290]
sub eax, ecx
cdq
idiv dword [0x5a46c8]
cmp eax, ebx
jl 0x4d11d7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
test ah, 0xa0
je 0x4d12aa
mov eax, dword [esi + 0x29c]
mov ecx, dword [esi + 0x294]
jmp 0x4d12b6
mov eax, dword [esi + 0x298]
mov ecx, dword [esi + 0x290]
sub eax, ecx
cdq
idiv dword [0x5a46c8]
mov dword [esi + 0x28c], eax
pop ebp
mov dword [esi + 0x2a0], ebx
pop ebx
mov dword [esi + 0x288], 0
pop edi
pop esi
add esp, 0x10
ret 8