Function at 0x4574e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b84e8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4e50cc]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x4e50cc]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push esi
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_KillTimer]
cmp esi, 0x3e9
jne 0x457615
mov ecx, dword [edi + 0x128]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x124]
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x457951
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov dword [esp + 0x88], eax
mov eax, 2
mov esi, dword [edi + 0x124]
cmp ecx, eax
cmovl eax, ecx
xor ebx, ebx
mov dword [esp + 0x14], eax
cmp esi, dword [edi + 0x128]
je 0x4575e6
cmp ebx, eax
jge 0x4575e6
lea eax, [esp + 0x38]
cmp eax, esi
je 0x4575ac
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004030ea
cmp dword [esp + 0x4c], 8
lea ecx, [esp + 0x38]
mov eax, dword [edi]
cmovae ecx, dword [esp + 0x38]
push ecx
mov ecx, edi
call dword [eax + 0x30]
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0x124]
call fcn.0045a160
mov esi, dword [edi + 0x124]
inc ebx
mov eax, dword [esp + 0x14]
cmp esi, dword [edi + 0x128]
jne 0x457594
push 0
push 0x32
push 0x3e9
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [esp + 0x4c], 8
jb 0x457951
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x457951
cmp esi, 0x3ea
jne 0x4576ca
mov eax, dword [edi + 0x134]
test eax, eax
je 0x457951
mov ecx, 2
mov dword [esp + 0x14], 0
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [edi + 0x130]
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov esi, dword [eax]
cmp esi, eax
je 0x4576bc
cmp ebx, ecx
jge 0x4576bc
push ecx
lea eax, [esi + 0x20]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00457280
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 0x138]
je 0x4576a7
cmp dword [eax + 0x28], 0
je 0x4576a7
lea eax, [esi + 8]
mov ecx, edi
push eax
call fcn.004573a0
test eax, eax
je 0x4576a7
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x130]
call fcn.0045a240
mov dword [esp + 0x14], 1
inc ebx
mov esi, dword [eax]
jmp 0x4576b0
cmp dword [esp + 0x14], 0
jne 0x4576b0
mov esi, dword [esi]
mov ecx, dword [esp + 0x10]
cmp esi, dword [edi + 0x130]
jne 0x457653
push 0
push 0x32
push 0x3ea
jmp 0x457948
cmp esi, 0x3eb
jne 0x457826
mov edx, dword [edi + 0x134]
test edx, edx
je 0x457951
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov dword [esp + 0x88], 1
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], eax
mov word [esp + 0x20], ax
mov byte [esp + 0x88], 2
mov ecx, 2
mov eax, dword [edi + 0x130]
cmp edx, ecx
cmovl ecx, edx
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov esi, dword [eax]
cmp esi, eax
je 0x4577ce
nop
cmp ebx, ecx
jge 0x4577ce
lea eax, [esi + 8]
lea ecx, [esp + 0x50]
cmp ecx, eax
je 0x45775d
push 0xffffffffffffffff
push 0
push eax
call fcn.004030ea
lea eax, [esi + 0x20]
lea ecx, [esp + 0x20]
cmp ecx, eax
je 0x457772
push 0xffffffffffffffff
push 0
push eax
call fcn.004030ea
push ecx
lea eax, [esp + 0x24]
mov ecx, edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00457280
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x138]
je 0x4577bc
cmp dword [esp + 0x64], 8
lea ecx, [esp + 0x50]
mov eax, dword [edi]
cmovae ecx, dword [esp + 0x50]
push ecx
mov ecx, edi
call dword [eax + 0x30]
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x130]
call fcn.0045a240
inc ebx
mov esi, dword [eax]
jmp 0x4577be
mov esi, dword [esi]
mov ecx, dword [esp + 0x18]
cmp esi, dword [edi + 0x130]
jne 0x457740
push 0
push 0x32
push 0x3eb
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [esp + 0x34], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4577f6
push dword [esp + 0x20]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
cmp dword [esp + 0x64], 8
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
jb 0x457951
push dword [esp + 0x50]
call esi
add esp, 4
jmp 0x457951
cmp esi, 0x3ed
jne 0x4578ca
push dword [edi + 0xa4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x457851
push eax
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x457951
push dword [edi + 0xa4]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
call esi
test eax, eax
je 0x457873
push dword [edi + 0xa4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x457887
push dword [edi + 0x70]
call esi
test eax, eax
je 0x457887
push 0
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 0xa4]
cmp edx, 0xffffffff
jne 0x4578b4
push 0x53
push 0
push 0
push 0
push 0
push edx
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0xa
push 0x3ed
jmp 0x457948
mov ecx, dword [edi + 0x70]
call fcn.0041eb10
push 0
push 0xa
push 0x3ed
jmp 0x457948
cmp esi, 0x3ee
jne 0x457951
lea eax, [esp + 0x68]
xorps xmm0, xmm0
push eax
push dword [edi + 0xa4]
movdqu xmmword [esp + 0x70], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 0x98]
mov eax, dword [esp + 0x6c]
push 1
push dword [edi + 0xa0]
push dword [edi + 0x9c]
lea eax, [ecx + eax*2]
mov ecx, dword [edi + 0x94]
sub eax, dword [edi + 0xb4]
push eax
mov eax, dword [esp + 0x78]
lea eax, [ecx + eax*2]
sub eax, dword [edi + 0xb0]
push eax
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0x68]
push 0
mov dword [edi + 0xb0], eax
mov eax, dword [esp + 0x70]
push 0xa
mov dword [edi + 0xb4], eax
push esi
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret 4