Function at 0x452c10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5691f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x5c324c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x452e83
push 0
push 0x5c6448
push 0x5c6424
push 0
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 4
call fcn.0051e736
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 0x452d20
push 0x5778f8
lea ecx, [ebp - 0x18]
call fcn.00406970
push 0x5778f8
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00406970
push str.viewfailed
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00406970
mov byte [ebp - 4], 2
call fcn.0045e480
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 0x452cfa
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 0x452d18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
jmp 0x452e67
cmp byte [ebp + 8], 0
je 0x452dcb
push 5
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x5778f8
lea ecx, [ebp - 0x14]
call fcn.00406970
push 0x5778f8
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 3
call fcn.00406970
push 0x57acec
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00406970
mov byte [ebp - 4], 5
call fcn.0045e480
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 0x452da5
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 0x452dc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
jmp 0x452e67
push 0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x5778f8
lea ecx, [ebp - 0x24]
call fcn.00406970
push 0x5778f8
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 6
call fcn.00406970
push str.hide
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00406970
mov byte [ebp - 4], 8
call fcn.0045e480
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 0x452e46
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 0x452e64
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 0x452e83
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