Function at 0x542d08
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x1f4]
lea ebx, [edi + 4]
test eax, eax
je 0x542d4f
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_KillTimer]
and dword [edi + 0x1f4], 0
mov ecx, edi
call fcn.00542f9b
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x21c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [eax + 4]
call esi
mov eax, dword [edi + 0x220]
push 0
push dword [eax + 4]
call esi
mov eax, dword [edi + 0x224]
push 0
push dword [eax + 4]
call esi
mov eax, dword [edi + 0x228]
push 0
push dword [eax + 4]
call esi
mov eax, dword [edi + 0x22c]
push 0
push dword [eax + 4]
call esi
mov eax, dword [edi + 0x230]
push 0
push dword [eax + 4]
call esi
mov eax, dword [edi + 0x234]
push 0
push dword [eax + 4]
call esi
lea eax, [ebp - 0x24]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x44]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1fc], eax
sub eax, 0x65
je 0x542ef9
sub eax, 1
je 0x542ec8
sub eax, 1
je 0x542ea9
sub eax, 1
je 0x542e8a
sub eax, 1
je 0x542e6e
sub eax, 1
je 0x542e52
sub eax, 1
jne 0x542e4a
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x234]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push ecx
mov ecx, dword [edi + 0x234]
mov esi, dword [edi + 0x44]
add ecx, 4
mov eax, dword [edi + 0x48]
sub esi, dword [ebp - 0x10]
add eax, dword [ebp - 0x24]
add esi, dword [ebp - 8]
add esi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x28], esi
call fcn.0040384e
jmp 0x542f64
mov esi, dword [ebp - 0x28]
jmp 0x542f64
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x230]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push ecx
mov ecx, dword [edi + 0x230]
jmp 0x542e21
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x22c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push ecx
mov ecx, dword [edi + 0x22c]
jmp 0x542e21
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x228]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push ecx
mov ecx, dword [edi + 0x228]
jmp 0x542e21
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x224]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push ecx
mov ecx, dword [edi + 0x224]
jmp 0x542e21
mov ecx, dword [edi + 0x220]
lea eax, [edi + 0xa8]
push eax
call fcn.00541278
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x220]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push ecx
mov ecx, dword [edi + 0x220]
jmp 0x542e21
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.0040d2ee
mov ecx, dword [edi + 0x21c]
lea eax, [ebp - 0x38]
push eax
call fcn.00541a87
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x21c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [edi + 0x44]
mov eax, dword [edi + 0x48]
sub esi, dword [ebp - 0x10]
add eax, dword [ebp - 0x24]
add esi, dword [ebp - 8]
add esi, dword [ebp - 0x20]
push ecx
mov ecx, dword [edi + 0x21c]
mov dword [ebp - 0x2c], eax
add ecx, 4
lea eax, [ebp - 0x34]
mov dword [ebp - 0x28], esi
push eax
call fcn.0040384e
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x542f64
call fcn.00407965
push 0
push 4
push 0xa
push dword [ebx]
mov dword [edi + 0x1ec], esi
mov dword [edi + 0x1f8], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x1f4], eax
xor ecx, ebp
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.004da623
leave
ret 0x10