Function at 0x495790
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi + 0x2ebb8], 1
call fcn.004ae890
mov ecx, eax
call fcn.004d0bf0
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x495981
mov ecx, dword [esi + 0x28]
push 2
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x24]
lea ebx, [esi + 0x24]
mov ecx, ebx
call dword [edx + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x38]
push 0
push str.FrameStyle
lea ecx, [esi + 0x48]
push 0x4ef7b0
call fcn.004c6600
mov ebp, eax
mov eax, dword [esi + 0x95ec]
cmp ebp, eax
je 0x49589a
lea edi, [esi + 0x4c]
push 0x3e9
mov ecx, edi
call fcn.004bc280
push 0x3e7
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004bc280
push 0x3e6
mov ecx, edi
call fcn.004bc280
cmp ebp, 1
jne 0x49587f
mov ecx, dword [esp + 0x10]
inc eax
test ecx, ecx
je 0x495846
xor eax, eax
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.004bc2c0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x495894
push 0x3e7
mov ecx, edi
call fcn.004bc280
push 0x3e6
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004bc280
mov edx, dword [esp + 0x14]
push eax
push edx
jmp 0x49588d
mov ecx, edi
call fcn.004bc5b0
dec eax
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.004bc2c0
mov dword [esi + 0x95ec], ebp
lea edi, [esi + 0x4c]
mov ecx, edi
call fcn.004ba7b0
lea ecx, [esi + 0xd14]
call fcn.004ba7b0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x18]
lea ebx, [esi + 0xd894]
mov ecx, ebx
call fcn.004bd660
lea ecx, [esi + 0x19dc]
call fcn.004c3d60
lea ecx, [esi + 0x60b0]
call fcn.004ad4a0
lea ebp, [esi + 0x278a0]
mov ecx, ebp
call fcn.004024f0
lea ecx, [esi + 0x25624]
call fcn.0047faf0
lea ecx, [esi + 0x2d570]
call fcn.00437f00
push 0
push str.MenuShadow
push str.toolbar
lea ecx, [esi + 0x48]
call fcn.004c6600
push eax
lea ecx, [esi + 0x8444]
call fcn.004cfbd0
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
call fcn.004bd4e0
push eax
push 0x3e9
mov ecx, edi
call fcn.004bbc50
mov ecx, edi
call fcn.004bbbf0
lea ecx, [esi + 0xd14]
call fcn.004bbbf0
mov edx, dword [esi + 0x8444]
lea ecx, [esi + 0x8444]
call dword [edx + 0x24]
mov eax, dword [esi + 0x8d40]
lea ecx, [esi + 0x8d40]
call dword [eax + 0x24]
push esi
call fcn.00423c70
mov ecx, eax
call fcn.00429300
push 0
lea ecx, [esi + 0x24]
call fcn.004b1480
jmp 0x495a18
lea edi, [esi + 0x4c]
mov ecx, edi
call fcn.004bc5c0
lea ecx, [esi + 0xd14]
call fcn.004bc5c0
lea ecx, [esi + 0x60b0]
call fcn.004ad4b0
lea ecx, [esi + 0x19dc]
call fcn.004c64d0
lea ebx, [esi + 0xd894]
mov ecx, ebx
call fcn.004c7040
lea ebp, [esi + 0x278a0]
mov ecx, ebp
call fcn.004c7040
mov ecx, ebp
call fcn.00403170
mov ecx, ebp
call fcn.00402e90
lea ecx, [esi + 0x25624]
call fcn.004c7040
lea ecx, [esi + 0x25624]
call fcn.0047fd90
lea ecx, [esi + 0x25624]
call fcn.0047fdd0
lea ecx, [esi + 0x2d570]
call fcn.004b0430
lea ecx, [esi + 0x2d570]
call fcn.004b08a0
push esi
call fcn.00423c70
mov ecx, eax
call fcn.00429350
mov ecx, edi
call fcn.004d1170
lea ecx, [esi + 0xd14]
call fcn.004d1170
mov ecx, ebp
call fcn.00403c40
lea ecx, [esi + 0x25624]
call fcn.00481200
mov ecx, ebx
call fcn.004c1d90
lea ecx, [esi + 0x9944]
call fcn.004c9a20
push 1
lea ecx, [esi + 0x24]
call fcn.004b1480
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
je 0x495a88
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
neg eax
sbb eax, eax
and al, 0xfa
add eax, 9
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.004c1d90
mov ecx, esi
call fcn.00495aa0
mov dword [esi + 0x2ebb8], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4