Function at 0x436a30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539458
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x59024c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x436ca3
push 0
push 0x593120
push 0x5930fc
push 0
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 4
call fcn.004efc11
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 0x436b40
push 0x546af8
lea ecx, [ebp - 0x18]
call fcn.00402fa0
push 0x546af8
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00402fa0
push str.viewfailed
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00402fa0
mov byte [ebp - 4], 2
call fcn.00437b30
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 0x436b1a
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 0x436b38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
jmp 0x436c87
cmp byte [ebp + 8], 0
je 0x436beb
push 5
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x546af8
lea ecx, [ebp - 0x14]
call fcn.00402fa0
push 0x546af8
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 3
call fcn.00402fa0
push str.show
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00402fa0
mov byte [ebp - 4], 5
call fcn.00437b30
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 0x436bc5
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 0x436be3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
jmp 0x436c87
push 0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x546af8
lea ecx, [ebp - 0x24]
call fcn.00402fa0
push 0x546af8
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 6
call fcn.00402fa0
push str.hide
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00402fa0
mov byte [ebp - 4], 8
call fcn.00437b30
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 0x436c66
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 0x436c84
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 0x436ca3
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