Function at 0x4ca140
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.004e5f40
mov ecx, eax
call fcn.00505bc0
mov eax, dword [esi + 0x28]
push eax
call dword [0x52399c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4ca368
mov ecx, dword [esi + 0x28]
push 2
push ecx
call dword [0x523884]
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 0x538b9c
call fcn.004f7de0
mov ebp, eax
mov eax, dword [esi + 0xeb1c]
cmp ebp, eax
je 0x4ca24a
lea edi, [esi + 0x4c]
push 0x3e9
mov ecx, edi
call fcn.004f4d80
push 0x3e7
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004f4d80
push 0x3e6
mov ecx, edi
call fcn.004f4d80
cmp ebp, 1
jne 0x4ca22f
mov ecx, dword [esp + 0x10]
inc eax
test ecx, ecx
je 0x4ca1f6
xor eax, eax
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.004f4dc0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ca244
push 0x3e7
mov ecx, edi
call fcn.004f4d80
push 0x3e6
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004f4d80
mov edx, dword [esp + 0x14]
push eax
push edx
jmp 0x4ca23d
mov ecx, edi
call fcn.004f5090
dec eax
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.004f4dc0
mov dword [esi + 0xeb1c], ebp
mov ecx, esi
call fcn.004d33f0
lea edi, [esi + 0x4c]
mov ecx, edi
call fcn.004f2f10
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x20]
lea ecx, [esi + 0xee90]
call fcn.0050eb50
lea ecx, [esi + 0x98a0]
call fcn.004f5420
lea ecx, [esi + 0xbac]
call fcn.004e5da0
lea ebp, [esi + 0x14f34]
mov ecx, ebp
call fcn.004058a0
lea ecx, [esi + 0x11db8]
call fcn.004a1d30
lea ecx, [esi + 0x1d134]
call fcn.00445c30
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.004ed920
push 0
push str.MenuShadow
push str.toolbar
lea ecx, [esi + 0x48]
call fcn.004f7de0
push eax
lea ecx, [esi + 0x3a98]
call fcn.00503f50
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0xee90]
push eax
call fcn.0050f280
push eax
push 0x3e9
mov ecx, edi
call fcn.004f4740
mov ecx, dword [esi + 0xeb7c]
push ecx
push 0x3dd
mov ecx, edi
call fcn.004f4740
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.00437b00
push 0
mov ecx, ebx
call fcn.004e8d80
jmp 0x4ca3cb
lea edi, [esi + 0x4c]
mov ecx, edi
call fcn.004f50a0
lea ecx, [esi + 0xbac]
call fcn.004e5db0
lea ecx, [esi + 0x98a0]
call fcn.004f7c20
lea ebp, [esi + 0x14f34]
mov ecx, ebp
call fcn.00409a80
mov ecx, ebp
call fcn.004063f0
lea ebx, [esi + 0x11db8]
mov ecx, ebx
call fcn.00409a80
mov ecx, ebx
call fcn.004a2020
lea ecx, [esi + 0x1d134]
call fcn.004464a0
mov edx, dword [esi + 0x28]
push edx
call fcn.004061d0
mov ecx, eax
call fcn.00437b40
mov ecx, edi
call fcn.0050aa70
mov ecx, ebp
call fcn.00407830
lea ecx, [esi + 0x11db8]
call fcn.004a3e10
lea edi, [esi + 0xee90]
mov ecx, edi
call fcn.00512ef0
lea ecx, [esi + 0x58e4]
call fcn.004fc560
push 1
lea ecx, [esi + 0x24]
call fcn.004e8d80
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x4ca436
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 [0x523884]
mov ecx, edi
call fcn.00512ef0
mov ecx, esi
call fcn.004ca780
mov dword [esi + 0x21504], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4