Function at 0x4c05d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542b79
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5d3b14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x4c], edi
test byte [ebp + 0xc], 4
je 0x4c0a65
xorps xmm0, xmm0
push 2
push dword [edi + 4]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], 0x28
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x38], xmm0
movq qword [ebp - 0x28], xmm0
call fcn.004c6180
test eax, eax
je 0x4c0650
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.004c6060
test eax, eax
je 0x4c0650
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x4c0661
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
movups xmm0, xmmword [ebp - 0x20]
lea eax, [edi + 0x1460]
push eax
movups xmmword [edi + 0x148c], xmm0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xff30ffff
or ecx, 0x80000000
cmp eax, ecx
je 0x4c06a5
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 0x718]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xff7fffff
cmp eax, ecx
je 0x4c06ce
push ecx
push 0xfffffffffffffff0
push dword [edi + 0x718]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
push dword [edi + 0x718]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfffffdff
cmp eax, ecx
je 0x4c06f7
push ecx
push 0xffffffffffffffec
push dword [edi + 0x718]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [edi + 0xacc]
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [0x555380]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 0x139c]
mov dword [ebp - 0x54], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 0x13f0]
lea ecx, [edi + 0x1398]
call fcn.00479d60
push 1
lea ecx, [edi + 0x1398]
call fcn.0047b920
mov ecx, dword [ebp - 0x54]
lea eax, [edi + 0x13ec]
add ecx, 0x102c
mov dword [ebp - 0x58], eax
call dword [0x554fa0]
push eax
lea ecx, [edi + 0x13ec]
call dword [0x555bfc]
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx + 0xfc8]
call dword [0x554fa0]
push eax
lea ecx, [edi + 0x13ec]
call dword [0x555c00]
call dword [0x555380]
lea ecx, [eax + 0xf64]
call dword [0x554fa0]
push eax
lea ecx, [edi + 0x13ec]
call dword [0x555c0c]
lea eax, [ebp - 0x78]
push eax
lea ecx, [edi + 0x1398]
call fcn.00479ea0
lea ecx, [edi + 0x13ec]
mov eax, dword [eax + 4]
push eax
call dword [0x555c04]
mov ecx, edi
call fcn.004bf220
push dword [edi + 0x139c]
lea ecx, [edi + 0x13ec]
call dword [0x555bf0]
push 5
push dword [edi + 0x139c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
lea ecx, [edi + 0x1398]
call fcn.0047b6b0
push 5
push dword [edi + 0x13f0]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [edi + 0x1510], 0
jne 0x4c0843
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0xf0c]
mov edi, dword [eax + 0xc]
mov eax, dword [edi + ecx + 0xf0c]
add edi, ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0xf0c]
call esi
mov al, byte [eax]
test al, al
je 0x4c0843
mov edi, 1
jmp 0x4c0845
xor edi, edi
mov esi, dword [ebp - 0x4c]
push 0xfffffffffffffff0
push dword [esi + 0x13f0]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4c086a
push edi
lea ecx, [esi + 0x13ec]
call dword [0x555bf4]
mov eax, dword [esi + 0x50]
lea edi, [esi + 0x50]
mov esi, dword [eax]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
test al, al
mov eax, dword [ebp - 0x18]
sete cl
sub edx, esi
lea ecx, [ecx*4 + 0x40]
mov dword [ebp - 0x50], ecx
push dword [ebp - 0x50]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
push edx
push eax
push esi
mov esi, dword [ebp - 0x4c]
push ecx
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x5dd1d0]
call fcn.0043dfb0
mov ecx, esi
mov dword [ebp - 0x50], eax
call fcn.004ba2e0
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4c0959
call dword [0x555370]
mov ecx, dword [eax + 0x134]
add eax, 0x130
mov edi, dword [ecx + 0xc]
add edi, eax
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 4]
call esi
cmp dword [eax], 1
jne 0x4c0956
mov eax, dword [ebp - 0x4c]
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x5c], esp
mov esi, dword [eax + 0x14fc]
mov dword [ebp - 0x60], ecx
call dword [0x55487c]
mov dword [ebp - 4], 2
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x64], esp
mov dword [ebp - 0x68], ecx
call dword [0x55487c]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x74]
push dword [ebp - 0x50]
push eax
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [0x555050]
lea ecx, [ebp - 0x74]
call fcn.0040e320
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.004c4b50
mov ecx, dword [0x5dd1d0]
call fcn.0043dfb0
test eax, eax
je 0x4c09f5
mov ecx, eax
call dword [0x554e8c]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x4c09f5
lea ecx, [esi + 0x164]
call dword [0x5551fc]
test al, al
je 0x4c09f5
mov eax, dword [esi]
mov esi, dword [eax + 0x20]
mov ecx, esi
mov edi, dword [eax + 8]
call dword [0x55604c]
mov ecx, dword [ebp - 0x50]
call esi
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x68], esp
mov esi, dword [eax + 0x23c]
mov dword [ebp - 0x64], ecx
call dword [0x55487c]
mov dword [ebp - 4], 8
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x60], esp
mov dword [ebp - 0x5c], ecx
call dword [0x55487c]
mov byte [ebp - 4], 0xb
push 0
push esi
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call dword [0x55604c]
mov ecx, dword [ebp - 0x50]
call edi
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0x1510], 0
je 0x4c0a54
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0xf0c]
mov edi, dword [eax + 0xc]
mov eax, dword [edi + ecx + 0xf0c]
add edi, ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0xf0c]
call esi
cmp byte [eax], 0
mov eax, dword [ebp - 0x4c]
je 0x4c0a54
push 0xfffffffffffffff0
push dword [eax + 0x13f0]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4c0a51
mov ecx, dword [ebp - 0x58]
push 2
call dword [0x555bf4]
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x1510], 0
mov eax, 1
jmp 0x4c0bdc
cmp dword [ebp + 8], 4
jne 0x4c0bda
push 0xfffffffffffffff0
push dword [edi + 0x13f0]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4c0a92
push 2
lea ecx, [edi + 0x13ec]
call dword [0x555bf4]
push 0
push dword [edi + 0x139c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [edi + 0x1398]
call fcn.0047b6b0
push 0
push dword [edi + 0x13f0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [edi + 0x13ec]
call dword [0x555bf0]
push 0
lea ecx, [edi + 0x1398]
call fcn.00479d60
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [edi + 0xacc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 0xacc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x7f30ffff
or ecx, 0xcf0000
cmp eax, ecx
je 0x4c0b3a
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x37
push 0
push 0
push 0
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xfffffffffffffff0
push dword [edi + 0x718]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x800000
cmp eax, ecx
je 0x4c0b63
push ecx
push 0xfffffffffffffff0
push dword [edi + 0x718]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
push dword [edi + 0x718]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x200
cmp eax, ecx
je 0x4c0b8c
push ecx
push 0xffffffffffffffec
push dword [edi + 0x718]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xb
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi + 0x14fc]
call dword [0x55505c]
mov ecx, dword [edi + 0x1490]
mov eax, dword [edi + 0x1498]
mov edx, dword [edi + 0x148c]
sub eax, ecx
push 0x44
push eax
mov eax, dword [edi + 0x1494]
sub eax, edx
push eax
push ecx
push edx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret 8