Function at 0x55aae2
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x607f2b
call fcn.004db48b
mov ebx, ecx
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x55ab07
push eax
push 1
push dword [ebp + 0xc]
call fcn.0055cc5a
jmp 0x55ad44
xor edi, edi
inc edi
cmp eax, edi
jne 0x55ab33
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x55ad44
cmp dword [eax], 0
je 0x55ad44
push eax
lea ecx, [ebx + 0x5ac]
call fcn.0042b636
jmp 0x55ad44
cmp eax, 2
jne 0x55abab
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x55ad44
xor edi, edi
cmp dword [esi], edi
je 0x55ad44
push esi
lea ecx, [ebx + 0x5ac]
call fcn.0042b636
push ecx
mov ecx, dword [esi]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x55ab68
lock inc dword [ecx + 4]
mov ecx, ebx
call fcn.0055775f
mov ecx, ebx
call fcn.0055381e
push dword [ebx + 0x674]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x55ad44
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x54]
call esi
push edi
push dword [ebx + 0x674]
call esi
mov dword [ebx + 0x1148], edi
jmp 0x55ad44
cmp eax, 3
jne 0x55ac1e
call fcn.0055381e
mov eax, dword [0x668294]
push ecx
mov ecx, esp
push 0xea72
push ecx
mov dword [ecx], eax
call fcn.0041129f
mov ecx, ebx
call fcn.005545f5
xor esi, esi
mov ecx, ebx
push esi
mov dword [ebx + 0x112c], esi
call fcn.0055891e
mov ecx, ebx
call fcn.00557b58
push edi
push esi
push dword [ebx + 0x5c0]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebx + 0x1124], esi
jne 0x55ad44
push dword [ebx + 0x5b0]
push dword [0x673344]
call fcn.005d15f9
mov dword [ebx + 0x1124], edi
jmp 0x55ad44
cmp eax, 4
jne 0x55ac59
call fcn.0055463e
and dword [ebx + 0x1130], 0
mov ecx, ebx
push 0
call fcn.0055891e
mov eax, dword [0x668294]
push ecx
mov ecx, esp
push 0xea72
push ecx
mov dword [ecx], eax
call fcn.0041129f
mov ecx, ebx
call fcn.005545f5
jmp 0x55ad44
cmp eax, 5
jne 0x55ad44
xor edi, edi
lea eax, [ebp + 0x10]
mov dword [ebp - 4], edi
push eax
cmp dword [0x6735a4], edi
jne 0x55ac7a
call fcn.005c0a58
jmp 0x55ac7f
call fcn.005c0a21
mov ecx, dword [eax]
test ecx, ecx
je 0x55ac89
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp + 0xc], esi
test ecx, ecx
je 0x55ac9a
call fcn.00416ed3
push edi
push edi
push 0xb
push dword [ebx + 0x5c0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
test eax, eax
je 0x55ace9
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x55acbd
lock inc dword [esi + 4]
mov ecx, ebx
call fcn.00557a22
lea eax, [ebp + 0x10]
push eax
call fcn.005c0a21
push eax
lea ecx, [ebp + 0xc]
call fcn.0042989b
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x55ace2
call fcn.00416ed3
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x55acb0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x5c0]
call edi
push 0
push dword [ebx + 0x6a8]
call edi
push 0
push 1
push 0xb
push dword [ebx + 0x5c0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push dword [ebx + 0x4a8]
mov ecx, ebx
call fcn.0055cc5a
mov ecx, ebx
call fcn.0055381e
test esi, esi
je 0x55ad44
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
dec eax
jne 0x55ad44
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor eax, eax
call fcn.004db459
ret 0x10