Function at 0x45f1d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c76ae
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x532804]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x34], edi
sub eax, 0
je 0x45f28a
sub eax, 1
jne 0x45f616
mov eax, dword [ebp + 0xc]
cmp eax, 0x84
jne 0x45f22e
mov dword [edi], 1
mov eax, 1
jmp 0x45f618
cmp eax, 0x201
jne 0x45f616
mov eax, dword [ebx + 0x24]
lea ecx, [ebp - 0x30]
push 0x4de4fc
mov esi, dword [eax + 0x20]
call dword [0x4d9f00]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push 1
push eax
mov ecx, esi
call dword [0x4da544]
lea ecx, [ebx + 0x24]
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [0x4d9ef8]
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
mov eax, 1
jmp 0x45f618
mov eax, dword [ebp + 0xc]
cmp eax, 0x81
je 0x45f610
cmp eax, 2
jne 0x45f2e2
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov eax, dword [eax + 4]
add ecx, eax
call dword [0x4d96f4]
mov dword [edi], 0
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45f610
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x45f610
mov dword [ebx + 0x68], 0
jmp 0x45f610
cmp eax, 1
jne 0x45f304
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
call fcn.0045e650
mov dword [edi], eax
mov eax, 1
jmp 0x45f618
cmp eax, 5
jne 0x45f3a0
mov eax, dword [ebp + 0x14]
movsx ecx, ax
push 1
shr eax, 0x10
movsx esi, ax
mov eax, dword [ebx + 0x48]
push esi
push ecx
push 0
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebx + 0xb4]
xorps xmm0, xmm0
cmp eax, esi
movups xmmword [ebp - 0x20], xmm0
cmovge eax, esi
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, ebx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0045e360
test al, al
je 0x45f36f
mov eax, dword [ebp - 0x14]
mov ecx, eax
sub ecx, dword [ebp - 0x34]
cmp ecx, eax
cmovge ecx, eax
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov dword [ebx + 0x58], ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45f390
mov ecx, ebx
call fcn.0045f040
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [edi], 0
mov eax, 1
jmp 0x45f618
lea ecx, [ebx + 0x30]
cmp eax, 0x203
jne 0x45f3ca
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
call fcn.0043c440
mov dword [edi], 0
mov eax, 1
jmp 0x45f618
cmp eax, 0x112
jne 0x45f447
mov eax, dword [ebp + 0x10]
sub eax, 0xf020
je 0x45f427
sub eax, 0x40
je 0x45f407
sub eax, 0xc0
jne 0x45f610
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.0043c440
mov dword [edi], 0
mov eax, 1
jmp 0x45f618
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 2
push eax
call fcn.0043c440
mov dword [edi], 0
mov eax, 1
jmp 0x45f618
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 1
push eax
call fcn.0043c440
mov dword [edi], 0
mov eax, 1
jmp 0x45f618
cmp eax, 0x113
jne 0x45f5bd
mov eax, dword [ebp + 0x10]
sub eax, 0x1bc
je 0x45f5a9
sub eax, 1
je 0x45f487
sub eax, 1
jne 0x45f390
push 2
mov ecx, ebx
call fcn.0045ff20
mov dword [edi], 0
mov eax, 1
jmp 0x45f618
cmp byte [ebx + 0xb8], 0
jne 0x45f390
mov eax, dword [ebx + 0x4c]
sub eax, 1
je 0x45f547
sub eax, 3
je 0x45f541
sub eax, 1
jne 0x45f390
cmp byte [ebx + 0xc4], al
je 0x45f4f7
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45f4f7
push 0x1bd
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x64
push 0x1bc
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi], 0
mov eax, 1
jmp 0x45f618
push 0x1bc
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x1bd
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebx + 0x24]
push 0
mov dword [ebx + 0x4c], 2
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4da544]
lea ecx, [ebx + 0x24]
call esi
mov eax, edi
mov dword [eax], 0
mov eax, 1
jmp 0x45f618
add dword [ebx + 0x54], 0xfffffffd
jmp 0x45f54b
add dword [ebx + 0x54], 3
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x54]
neg eax
cmp ecx, eax
jg 0x45f563
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x4c], 5
jmp 0x45f587
test ecx, ecx
js 0x45f587
push 0
push 0x64
push 0x1bc
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x4c], 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebx + 0x24]
push 0
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4da544]
lea ecx, [ebx + 0x24]
call esi
mov dword [edi], 0
mov eax, 1
jmp 0x45f618
mov ecx, ebx
call fcn.0045e9e0
mov dword [edi], 0
mov eax, 1
jmp 0x45f618
cmp eax, 0x18
jne 0x45f616
mov eax, dword [ebp + 0x14]
cmp eax, 3
jne 0x45f5f8
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x24]
push 0
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4da544]
lea ecx, [ebx + 0x24]
call esi
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x14]
cmp byte [ebx + 0xc5], 0
jne 0x45f610
cmp dword [ebp + 0x10], 0
je 0x45f610
cmp eax, 3
je 0x45f390
mov dword [edi], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret 0x18