Function at 0x456df0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x74b738]
xor eax, esp
mov dword [esp + 0x28], eax
cmp dword [ebp + 0x1c], 0
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
jne 0x457045
mov eax, dword [ebp + 0xc]
cmp eax, 5
jne 0x456e8e
mov esi, dword [ebx + 0x28]
mov dword [ebx + 0x24], 0
test esi, esi
je 0x457020
mov eax, dword [ebp + 0x10]
cmp eax, 1
jne 0x456e55
cmp dword [esi + 0x2c], 0
je 0x456ffa
mov eax, dword [esi + 0x34]
jmp 0x456ffd
cmp eax, 2
jne 0x456e6c
cmp dword [esi + 0x2c], 0
je 0x456ffa
mov eax, dword [esi + 0x34]
jmp 0x456ffd
mov eax, dword [esi + 0x48]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x457020
push 1
mov ecx, esi
call fcn.004565c0
jmp 0x457020
cmp eax, 0x216
jne 0x456ef1
cmp dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
je 0x456ee6
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push 0x26
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [esp + 0xc], 0
je 0x456ee6
lea eax, [esp + 0x14]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push ecx
mov ecx, dword [ebx + 0x28]
lea eax, [esp + 0x18]
push eax
call fcn.00455e30
mov dword [edi], 1
jmp 0x457026
cmp eax, 3
jne 0x456f89
cmp dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
je 0x457020
lea eax, [esp + 0x24]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [esp + 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [ebx + 0x28]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
sub esi, dword [ebx + 0x3c]
mov edx, dword [esp + 0x1c]
add eax, dword [ebx + 0x44]
mov edi, dword [esp + 0x14]
sub edi, dword [ebx + 0x38]
add edx, dword [ebx + 0x40]
push 0x1d
mov dword [esp + 0x24], eax
sub eax, esi
push eax
mov dword [esp + 0x24], edx
sub edx, edi
push edx
push esi
push edi
push 0
push dword [ebx + 4]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.004563e0
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
jmp 0x457020
cmp eax, 0x18
jne 0x456fab
cmp dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 1
je 0x457020
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.00457280
jmp 0x457020
cmp eax, 0x47
jne 0x457045
mov dword [ebx + 0x24], 1
test ecx, ecx
je 0x457020
mov eax, dword [ecx + 0x18]
test al, 0x40
jbe 0x456fe1
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x457020
push 0
push 0x14
push 0x2710
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x457020
test eax, 0x80
jbe 0x457020
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x457020
cmp dword [esi + 0x2c], 0
je 0x456ffa
mov eax, dword [esi + 0x34]
jmp 0x456ffd
mov eax, dword [esi + 0x30]
push dword [esi + 4]
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x457020
cmp dword [esp + 0xc], 0
je 0x457020
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi], 0
cmp dword [ebx + 0x24], 0
je 0x457045
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret 0x18