Function at 0x496010
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.004af0a0
mov ecx, eax
call fcn.004d1140
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 0x496201
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 0x4ef7bc
call fcn.004c6b60
mov ebp, eax
mov eax, dword [esi + 0x95ec]
cmp ebp, eax
je 0x49611a
lea edi, [esi + 0x4c]
push 0x3e9
mov ecx, edi
call fcn.004bc7e0
push 0x3e7
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004bc7e0
push 0x3e6
mov ecx, edi
call fcn.004bc7e0
cmp ebp, 1
jne 0x4960ff
mov ecx, dword [esp + 0x10]
inc eax
test ecx, ecx
je 0x4960c6
xor eax, eax
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.004bc820
mov eax, dword [esp + 0x10]
test eax, eax
je 0x496114
push 0x3e7
mov ecx, edi
call fcn.004bc7e0
push 0x3e6
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004bc7e0
mov edx, dword [esp + 0x14]
push eax
push edx
jmp 0x49610d
mov ecx, edi
call fcn.004bcb10
dec eax
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.004bc820
mov dword [esi + 0x95ec], ebp
lea edi, [esi + 0x4c]
mov ecx, edi
call fcn.004bad10
lea ecx, [esi + 0xd14]
call fcn.004bad10
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x18]
lea ebx, [esi + 0xd894]
mov ecx, ebx
call fcn.004bdbc0
lea ecx, [esi + 0x19dc]
call fcn.004c42c0
lea ecx, [esi + 0x60b0]
call fcn.004adcb0
lea ebp, [esi + 0x278a0]
mov ecx, ebp
call fcn.004025a0
lea ecx, [esi + 0x25624]
call fcn.00480000
lea ecx, [esi + 0x2d570]
call fcn.00438150
push 0
push str.MenuShadow
push str.toolbar
lea ecx, [esi + 0x48]
call fcn.004c6b60
push eax
lea ecx, [esi + 0x8444]
call fcn.004d0120
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
call fcn.004bda40
push eax
push 0x3e9
mov ecx, edi
call fcn.004bc1b0
mov ecx, edi
call fcn.004bc150
lea ecx, [esi + 0xd14]
call fcn.004bc150
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.00423e30
mov ecx, eax
call fcn.004294a0
push 0
lea ecx, [esi + 0x24]
call fcn.004b1c70
jmp 0x496298
lea edi, [esi + 0x4c]
mov ecx, edi
call fcn.004bcb20
lea ecx, [esi + 0xd14]
call fcn.004bcb20
lea ecx, [esi + 0x60b0]
call fcn.004adcc0
lea ecx, [esi + 0x19dc]
call fcn.004c6a30
lea ebx, [esi + 0xd894]
mov ecx, ebx
call fcn.004d1190
lea ebp, [esi + 0x278a0]
mov ecx, ebp
call fcn.004d1190
mov ecx, ebp
call fcn.00403220
mov ecx, ebp
call fcn.00402f40
lea ecx, [esi + 0x25624]
call fcn.004d1190
lea ecx, [esi + 0x25624]
call fcn.004802a0
lea ecx, [esi + 0x25624]
call fcn.004802e0
lea ecx, [esi + 0x2d570]
call fcn.004b0c20
lea ecx, [esi + 0x2d570]
call fcn.004b1090
push esi
call fcn.00423e30
mov ecx, eax
call fcn.004294f0
mov ecx, edi
call fcn.004d16d0
lea ecx, [esi + 0xd14]
call fcn.004d16d0
mov ecx, ebp
call fcn.00403cf0
lea ecx, [esi + 0x25624]
call fcn.00481710
mov ecx, ebx
call fcn.004c22f0
lea ecx, [esi + 0x9944]
call fcn.004c9f50
push 1
lea ecx, [esi + 0x24]
call fcn.004b1c70
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
je 0x496308
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.004c22f0
mov ecx, esi
call fcn.00496320
mov dword [esi + 0x2ebb8], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4