Function at 0x40fcc3
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
push dword [0x56f018]
call sub.USER32.dll_IsIconic
test eax, eax
je 0x40fd50
mov dword [esp + 0x14], 0x2c
lea eax, [esp + 0x14]
push eax
push dword [0x56f018]
call sub.USER32.dll_GetWindowPlacement
test byte [esp + 0x18], 2
jne 0x410380
xor edx, edx
mov dword [esp + 0x44], edx
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x30]
mov dword [esp + 0x48], edx
push 0x20
call fcn.00521f77
add eax, eax
sub dword [esp + 0x48], eax
push 0x21
call fcn.00521f77
mov ebx, eax
add ebx, ebx
push 4
call fcn.00521f77
add ebx, eax
push 0xf
call fcn.00521f77
add ebx, eax
sub dword [esp + 0x4c], ebx
jmp 0x40fd60
lea eax, [esp + 0x40]
push eax
push dword [0x56f018]
call sub.USER32.dll_GetClientRect
xor edx, edx
mov dword [esp + 0xc], edx
mov edi, edx
mov dword [esp + 8], edx
mov dword [esp + 4], edx
xor eax, eax
mov ebx, eax
mov esi, eax
mov ebp, eax
mov dword [esp], eax
cmp dword [0x55f520], 0
je 0x40fe88
cmp dword [0x55f518], 0
je 0x40fe70
cmp dword [0x55f2f0], 0
je 0x40fdd2
cmp dword [0x55f2c4], 0
jne 0x40fdae
mov esi, 2
jmp 0x40fdd7
mov eax, dword [0x55f2e4]
cmp eax, 1
je 0x40fdbf
mov esi, 1
jmp 0x40fdd7
cmp dword [0x5641e4], 0
je 0x40fdd7
dec eax
jne 0x40fdd7
mov esi, 3
jmp 0x40fdd7
mov esi, 2
mov eax, dword [0x55f51c]
sub eax, esi
push eax
mov edx, dword [esp + 0x4c]
add edx, 2
push edx
push 0x55f558
call fcn.0042ff6a
mov ecx, dword [0x55f518]
cmp ecx, dword [0x55f024]
jne 0x40fe34
mov eax, dword [0x55f51c]
sub eax, esi
cmp eax, dword [0x55f034]
jne 0x40fe34
push 0x50
mov edx, dword [0x55f51c]
sub edx, esi
push edx
mov ecx, dword [esp + 0x50]
add ecx, 2
push ecx
push 0
push 0
push 0
push dword [0x55f520]
call sub.USER32.dll_SetWindowPos
jmp 0x40fe5a
push 0x98
mov eax, dword [0x55f51c]
sub eax, esi
push eax
mov edx, dword [esp + 0x50]
add edx, 2
push edx
push 0
push 0
push 0
push dword [0x55f520]
call sub.USER32.dll_SetWindowPos
mov eax, dword [0x55f51c]
sub eax, esi
mov edi, eax
mov dword [esp + 0xc], eax
mov dword [esp], 1
jmp 0x40fe7d
push 0
push dword [0x55f520]
call sub.USER32.dll_ShowWindow
push dword [0x55f520]
call sub.USER32.dll_UpdateWindow
cmp dword [0x55f2f0], 0
je 0x41019d
cmp dword [0x55f2c4], 0
je 0x410185
mov eax, dword [esp + 0x4c]
add eax, 2
push eax
mov edx, dword [esp + 0x4c]
add edx, 2
push edx
push 0x55f304
call fcn.0042ff6a
cmp dword [0x55f2e4], 0
jne 0x40feca
mov ebx, 2
xor eax, eax
mov edx, dword [0x55f51c]
sub edx, esi
cmp edx, dword [0x55f034]
jne 0x40ff1b
mov ecx, dword [0x55f2c4]
cmp ecx, dword [0x55f028]
jne 0x40ff1b
mov edx, dword [0x55f2e4]
cmp edx, dword [0x55f02c]
jne 0x40ff1b
mov ecx, dword [0x55f2c0]
sub ecx, ebx
cmp ecx, dword [0x55f030]
jne 0x40ff1b
mov edx, dword [0x55f518]
cmp edx, dword [0x55f024]
jne 0x40ff1b
mov eax, 1
mov ebp, dword [0x55f2c0]
mov edx, dword [0x55f2e0]
test edx, edx
jl 0x40ff30
cmp edx, 3
jle 0x40ff38
xor ecx, ecx
mov dword [0x55f2e0], ecx
mov edx, dword [0x55f2e0]
test edx, edx
je 0x40ff50
mov ebp, edx
inc ebp
imul ebp, dword [0x55f2c0]
add edx, edx
sub ebp, edx
cmp dword [0x55f2e4], 3
jne 0x40ffdf
xor ebx, ebx
xor edx, edx
mov dword [esp + 4], edx
mov ecx, dword [0x55f2d4]
mov dword [esp + 8], ecx
test eax, eax
je 0x40ffa9
push 0x10
mov eax, dword [esp + 0x50]
sub eax, edi
push eax
push dword [esp + 0x10]
push edi
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x18]
push eax
push 0
push dword [0x55f2f0]
call sub.USER32.dll_SetWindowPos
push 8
push dword [0x55f2f0]
call sub.USER32.dll_ShowWindow
jmp 0x41017e
push 0
push dword [0x55f2f0]
call sub.USER32.dll_ShowWindow
push 0x10
mov edx, dword [esp + 0x50]
sub edx, edi
push edx
push dword [esp + 0x10]
push edi
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x18]
push ecx
push 0
push dword [0x55f2f0]
call sub.USER32.dll_SetWindowPos
jmp 0x41017e
cmp dword [0x55f2e4], 2
jne 0x41005a
xor ebx, ebx
mov edx, dword [0x55f2d4]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
test eax, eax
je 0x41002b
push 0x10
mov eax, dword [esp + 0x50]
sub eax, edi
push eax
push dword [esp + 0xc]
push edi
push 0
push 0
push dword [0x55f2f0]
call sub.USER32.dll_SetWindowPos
push 8
push dword [0x55f2f0]
call sub.USER32.dll_ShowWindow
jmp 0x41017e
push 0
push dword [0x55f2f0]
call sub.USER32.dll_ShowWindow
push 0x10
mov ecx, dword [esp + 0x50]
sub ecx, edi
push ecx
push dword [esp + 0xc]
push edi
push 0
push 0
push dword [0x55f2f0]
call sub.USER32.dll_SetWindowPos
jmp 0x41017e
cmp dword [0x55f2e4], 1
jne 0x4100d3
xor ebx, ebx
test eax, eax
je 0x410097
push 0x10
mov eax, ebp
sub eax, ebx
push eax
mov edx, dword [esp + 0x50]
add edx, 2
push edx
push edi
push 0
push 0
push dword [0x55f2f0]
call sub.USER32.dll_SetWindowPos
push 8
push dword [0x55f2f0]
call sub.USER32.dll_ShowWindow
jmp 0x4100c3
push 0
push dword [0x55f2f0]
call sub.USER32.dll_ShowWindow
push 0x10
mov ecx, ebp
sub ecx, ebx
push ecx
mov eax, dword [esp + 0x50]
add eax, 2
push eax
push edi
push 0
push 0
push dword [0x55f2f0]
call sub.USER32.dll_SetWindowPos
mov eax, ebp
sub eax, ebx
inc eax
add edi, eax
add dword [esp + 0xc], eax
jmp 0x41017e
mov ebx, 2
xor edx, edx
mov dword [0x55f2e4], edx
mov ecx, ebp
sub ecx, ebx
mov edx, dword [esp + 0x4c]
sub edx, ecx
mov dword [esp + 0x10], edx
cmp dword [esp], 0
je 0x410106
mov edx, dword [0x55f51c]
sub edx, esi
cmp edx, dword [esp + 0x10]
jle 0x410106
mov dword [esp + 0x10], edx
cmp dword [esp + 0x10], 0
jge 0x410113
xor ecx, ecx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x410148
push 0x10
mov eax, ebp
sub eax, ebx
push eax
mov eax, dword [esp + 0x50]
add eax, 2
push eax
push dword [esp + 0x1c]
push 0
push 0
push dword [0x55f2f0]
call sub.USER32.dll_SetWindowPos
push 8
push dword [0x55f2f0]
call sub.USER32.dll_ShowWindow
jmp 0x410177
push 0
push dword [0x55f2f0]
call sub.USER32.dll_ShowWindow
push 0x10
mov edx, ebp
sub edx, ebx
push edx
mov ecx, dword [esp + 0x50]
add ecx, 2
push ecx
push dword [esp + 0x1c]
push 0
push 0
push dword [0x55f2f0]
call sub.USER32.dll_SetWindowPos
sub ebp, ebx
inc ebp
add dword [esp + 0xc], ebp
mov ebp, 1
jmp 0x410192
push 0
push dword [0x55f2f0]
call sub.USER32.dll_ShowWindow
push dword [0x55f2f0]
call sub.USER32.dll_UpdateWindow
mov eax, dword [0x55f518]
mov dword [0x55f024], eax
mov edx, dword [0x55f2c4]
mov dword [0x55f028], edx
mov ecx, dword [0x55f2e4]
mov dword [0x55f02c], ecx
mov eax, dword [0x55f2c0]
sub eax, ebx
mov dword [0x55f030], eax
mov edx, dword [0x55f51c]
sub edx, esi
mov dword [0x55f034], edx
push 0x10
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x10]
push ecx
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x10]
push eax
push edi
push dword [esp + 0x14]
push 1
push dword [0x56f01c]
call sub.USER32.dll_SetWindowPos
cmp dword [esp], 0
je 0x410236
push 0x53
push 0
push 0
push 0
push 0
push 0
push dword [0x55f520]
call sub.USER32.dll_SetWindowPos
push 0
push 0
push dword [0x55f520]
call sub.USER32.dll_InvalidateRect
push dword [0x55f520]
call sub.USER32.dll_UpdateWindow
test ebp, ebp
je 0x41026b
push 0x53
push 0
push 0
push 0
push 0
push 0
push dword [0x55f2f0]
call sub.USER32.dll_SetWindowPos
push 0
push 0
push dword [0x55f2f0]
call sub.USER32.dll_InvalidateRect
push dword [0x55f2f0]
call sub.USER32.dll_UpdateWindow
xor esi, esi
push dword [0x56f01c]
call sub.USER32.dll_GetTopWindow
mov ebx, eax
test ebx, ebx
je 0x4102b6
push ebx
call sub.USER32.dll_IsZoomed
test eax, eax
je 0x4102b6
push ebx
call fcn.0051fafa
mov esi, eax
test esi, esi
je 0x4102b6
cmp dword [esi + 0x8f4], 0
je 0x4102b6
cmp dword [esi + 0x6f8], 0
je 0x4102ae
push esi
call fcn.004723c0
jmp 0x4102b6
push 0
push ebx
call fcn.00429e92
mov eax, dword [0x560450]
test eax, eax
je 0x4102e2
cmp dword [eax + 0x8f4], 0
je 0x4102e2
push 1
push dword [eax]
call fcn.00429e92
test esi, esi
jne 0x4102e2
mov edx, dword [0x560450]
push dword [edx]
call fcn.00429c3e
push dword [0x56f01c]
call sub.USER32.dll_UpdateWindow
push dword [0x56f018]
call sub.USER32.dll_UpdateWindow
push 0
push 0
push 0x228
push dword [0x56f01c]
call sub.USER32.dll_SendMessageA
push dword [0x56f01c]
call sub.USER32.dll_GetTopWindow
mov ebx, eax
test ebx, ebx
je 0x410380
push ebx
call sub.USER32.dll_IsZoomed
test eax, eax
jne 0x410380
cmp dword [0x56426c], 0
je 0x410346
push 0
push 0x7a
push 0x111
push dword [0x56f018]
call sub.USER32.dll_PostMessageA
jmp 0x410363
cmp dword [0x564270], 0
je 0x410363
push 0
push 0x7b
push 0x111
push dword [0x56f018]
call sub.USER32.dll_PostMessageA
cmp dword [0x564274], 0
je 0x410380
push 0
push 0x7c
push 0x111
push dword [0x56f018]
call sub.USER32.dll_PostMessageA
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret