Function at 0x4c46a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi + 0x212d8], 1
call fcn.004de610
mov ecx, eax
call fcn.004fbf90
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 0x4c48aa
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 + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x44]
push 0
push str.FrameStyle
lea ecx, [esi + 0x48]
push 0x52e860
call fcn.004eea20
mov ebp, eax
mov eax, dword [esi + 0xe96c]
cmp ebp, eax
je 0x4c47aa
lea edi, [esi + 0x4c]
push 0x3e9
mov ecx, edi
call fcn.004eb990
push 0x3e7
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004eb990
push 0x3e6
mov ecx, edi
call fcn.004eb990
cmp ebp, 1
jne 0x4c478f
mov ecx, dword [esp + 0x10]
inc eax
test ecx, ecx
je 0x4c4756
xor eax, eax
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.004eb9d0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c47a4
push 0x3e7
mov ecx, edi
call fcn.004eb990
push 0x3e6
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004eb990
mov edx, dword [esp + 0x14]
push eax
push edx
jmp 0x4c479d
mov ecx, edi
call fcn.004ebcb0
dec eax
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.004eb9d0
mov dword [esi + 0xe96c], ebp
mov ecx, esi
call fcn.004cd4c0
lea edi, [esi + 0x4c]
mov ecx, edi
call fcn.004e9b10
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x20]
lea ecx, [esi + 0xecdc]
call fcn.00504f50
lea ecx, [esi + 0x9770]
call fcn.004ec060
lea ecx, [esi + 0xb24]
call fcn.004de470
lea ebp, [esi + 0x14d80]
mov ecx, ebp
call fcn.00404190
lea ecx, [esi + 0x11c04]
call fcn.0049f0f0
lea ecx, [esi + 0x1cf68]
call fcn.004445a0
mov eax, dword [esi + 0x57d8]
lea ecx, [esi + 0x57d8]
call dword [eax + 0x44]
call fcn.004e4c50
push 0
push str.MenuShadow
push str.toolbar
lea ecx, [esi + 0x48]
call fcn.004eea20
push eax
lea ecx, [esi + 0x398c]
call fcn.004fa690
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esi + 0xecdc]
call fcn.00505680
push eax
push 0x3e9
mov ecx, edi
call fcn.004eb320
mov edx, dword [esi + 0xe9cc]
mov ecx, edi
push edx
push 0x3dd
call fcn.004eb320
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [esi + 0x3990]
lea ecx, [esi + 0x3990]
call dword [edx + 4]
mov eax, dword [esi + 0x48ec]
lea ecx, [esi + 0x48ec]
call dword [eax + 4]
mov ecx, dword [esi + 0x28]
push ecx
call fcn.00404a20
mov ecx, eax
call fcn.00436590
push 0
mov ecx, ebx
call fcn.004e0370
jmp 0x4c490d
lea edi, [esi + 0x4c]
mov ecx, edi
call fcn.004ebcc0
lea ecx, [esi + 0xb24]
call fcn.004de480
lea ecx, [esi + 0x9770]
call fcn.004ee860
lea ebp, [esi + 0x14d80]
mov ecx, ebp
call fcn.00407f30
mov ecx, ebp
call fcn.00404c00
lea ebx, [esi + 0x11c04]
mov ecx, ebx
call fcn.00407f30
mov ecx, ebx
call fcn.0049f440
lea ecx, [esi + 0x1cf68]
call fcn.00444e10
mov edx, dword [esi + 0x28]
push edx
call fcn.00404a20
mov ecx, eax
call fcn.004365d0
mov ecx, edi
call fcn.00500e60
mov ecx, ebp
call fcn.00405f60
lea ecx, [esi + 0x11c04]
call fcn.004a1190
lea edi, [esi + 0xecdc]
mov ecx, edi
call fcn.00509340
lea ecx, [esi + 0x57d8]
call fcn.004f3010
push 1
lea ecx, [esi + 0x24]
call fcn.004e0370
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x4c4978
mov eax, dword [esp + 0x10]
neg eax
sbb eax, eax
and al, 0xfa
add eax, 9
push eax
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00509340
mov ecx, esi
call fcn.004c4cc0
mov dword [esi + 0x212d8], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4