Function at 0x4caa00
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi + 0x21504], 1
call fcn.004e66e0
mov ecx, eax
call fcn.00506390
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 0x4cac28
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 0x539b9c
call fcn.004f8520
mov ebp, eax
mov eax, dword [esi + 0xeb1c]
cmp ebp, eax
je 0x4cab0a
lea edi, [esi + 0x4c]
push 0x3e9
mov ecx, edi
call fcn.004f54d0
push 0x3e7
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004f54d0
push 0x3e6
mov ecx, edi
call fcn.004f54d0
cmp ebp, 1
jne 0x4caaef
mov ecx, dword [esp + 0x10]
inc eax
test ecx, ecx
je 0x4caab6
xor eax, eax
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.004f5510
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4cab04
push 0x3e7
mov ecx, edi
call fcn.004f54d0
push 0x3e6
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004f54d0
mov edx, dword [esp + 0x14]
push eax
push edx
jmp 0x4caafd
mov ecx, edi
call fcn.004f57e0
dec eax
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.004f5510
mov dword [esi + 0xeb1c], ebp
mov ecx, esi
call fcn.004d3cb0
lea edi, [esi + 0x4c]
mov ecx, edi
call fcn.004f3660
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x20]
lea ecx, [esi + 0xee90]
call fcn.0050f360
lea ecx, [esi + 0x98a0]
call fcn.004f5b60
lea ecx, [esi + 0xbac]
call fcn.004e6540
lea ebp, [esi + 0x14f34]
mov ecx, ebp
call fcn.004058a0
lea ecx, [esi + 0x11db8]
call fcn.004a2150
lea ecx, [esi + 0x1d134]
call fcn.00445b50
mov eax, dword [esi + 0x20500]
lea ecx, [esi + 0x20500]
call dword [eax + 0x48]
mov edx, dword [esi + 0x58e4]
lea ecx, [esi + 0x58e4]
call dword [edx + 0x48]
call fcn.004ee030
push 0
push str.MenuShadow
push str.toolbar
lea ecx, [esi + 0x48]
call fcn.004f8520
push eax
lea ecx, [esi + 0x3a98]
call fcn.00504710
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0xee90]
push eax
call fcn.0050fa90
push eax
push 0x3e9
mov ecx, edi
call fcn.004f4e90
mov ecx, dword [esi + 0xeb7c]
push ecx
push 0x3dd
mov ecx, edi
call fcn.004f4e90
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, dword [esi + 0x3a9c]
lea ecx, [esi + 0x3a9c]
call dword [eax + 4]
mov edx, dword [esi + 0x20504]
lea ecx, [esi + 0x20504]
call dword [edx + 4]
mov eax, dword [esi + 0x49f8]
lea ecx, [esi + 0x49f8]
call dword [eax + 4]
mov ecx, dword [esi + 0x28]
push ecx
call fcn.004061d0
mov ecx, eax
call fcn.00437a10
push 0
mov ecx, ebx
call fcn.004e94b0
jmp 0x4cac8b
lea edi, [esi + 0x4c]
mov ecx, edi
call fcn.004f57f0
lea ecx, [esi + 0xbac]
call fcn.004e6550
lea ecx, [esi + 0x98a0]
call fcn.004f8360
lea ebp, [esi + 0x14f34]
mov ecx, ebp
call fcn.00409a70
mov ecx, ebp
call fcn.004063f0
lea ebx, [esi + 0x11db8]
mov ecx, ebx
call fcn.00409a70
mov ecx, ebx
call fcn.004a2440
lea ecx, [esi + 0x1d134]
call fcn.004463c0
mov edx, dword [esi + 0x28]
push edx
call fcn.004061d0
mov ecx, eax
call fcn.00437a50
mov ecx, edi
call fcn.0050b260
mov ecx, ebp
call fcn.00407830
lea ecx, [esi + 0x11db8]
call fcn.004a4230
lea edi, [esi + 0xee90]
mov ecx, edi
call fcn.005136f0
lea ecx, [esi + 0x58e4]
call fcn.004fcd20
push 1
lea ecx, [esi + 0x24]
call fcn.004e94b0
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x4cacf6
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.005136f0
mov ecx, esi
call fcn.004cb040
mov dword [esi + 0x21504], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4