Function at 0x452d50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56aad8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x5c524c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x452fc3
push 0
push 0x5c8448
push 0x5c8424
push 0
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 4
call fcn.0051fed6
add esp, 0x14
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x10]
push edx
push str.root_window
push eax
call dword [ecx + 0x2c]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x452e60
push 0x5798f8
lea ecx, [ebp - 0x18]
call fcn.00406a80
push 0x5798f8
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00406a80
push str.viewfailed
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00406a80
mov byte [ebp - 4], 2
call fcn.0045e250
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452e3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452e58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
jmp 0x452fa7
cmp byte [ebp + 8], 0
je 0x452f0b
push 5
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x5798f8
lea ecx, [ebp - 0x14]
call fcn.00406a80
push 0x5798f8
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 3
call fcn.00406a80
push 0x57cd4c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00406a80
mov byte [ebp - 4], 5
call fcn.0045e250
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452ee5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452f03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
jmp 0x452fa7
push 0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x5798f8
lea ecx, [ebp - 0x24]
call fcn.00406a80
push 0x5798f8
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 6
call fcn.00406a80
push str.hide
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00406a80
mov byte [ebp - 4], 8
call fcn.0045e250
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0x1c]
or esi, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452f86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, esi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452fa4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x452fc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4