Function at 0x4c8f4e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x28], esi
call fcn.004c416f
cmp dword [eax + 0x848], 8
je 0x4c93bf
push ebx
push edi
call fcn.00403a64
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402a6b
mov edi, dword [ebp + 8]
push 5
pop ebx
cmp edi, ebx
ja 0x4c934b
je 0x4c932e
mov eax, edi
sub eax, 1
je 0x4c9222
sub eax, 1
je 0x4c8fe0
sub eax, 1
je 0x4c9360
sub eax, 1
jne 0x4c93b2
push 1
mov ecx, esi
call fcn.004c6fd5
mov ecx, esi
call fcn.004c9453
call fcn.004c416f
mov dword [eax + 0x848], 4
jmp 0x4c93a6
call fcn.004c416f
xor ebx, ebx
mov ecx, 0x545370
cmp dword [eax + 0x81c], ebx
mov eax, dword [esi + 0x60]
jne 0x4c8ffc
mov ecx, 0x5454b0
sub eax, dword [esi + 0x5c]
sar eax, 2
push eax
push ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.00415254
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push 0x41b
push dword [esi + 4]
mov dword [ebp - 0x18], ebx
call edi
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x41b
push dword [esi + 4]
call edi
mov ecx, dword [ebp - 0x20]
push 1
push ebx
push ebx
dec ecx
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0xffffffe4
push ecx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0x2c]
mov ebx, 0x41b
mov ecx, esi
push ebx
call fcn.004c93f8
push ebx
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
push dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push 1
push 0x3e9
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x3ea
push eax
call esi
push eax
call edi
mov eax, dword [ebp - 0x28]
push 0x421
push dword [eax + 4]
call esi
push 1
push eax
call edi
mov eax, dword [ebp - 0x28]
push 0x427
push dword [eax + 4]
call esi
push 1
push eax
call edi
mov edi, dword [ebp - 0x28]
push 0x4e6
push dword [edi + 4]
call esi
push 0
push eax
call ebx
push 0x426
push dword [edi + 4]
call esi
push 0
push eax
call ebx
push 0x425
push dword [edi + 4]
call esi
push 0
push eax
call ebx
push 0x430
push dword [edi + 4]
call esi
push 0
push eax
call ebx
push 0x431
push dword [edi + 4]
call esi
push 0
push eax
call ebx
push 0x41e
push dword [edi + 4]
call esi
push 0
push eax
call ebx
push 0x41f
push dword [edi + 4]
call esi
push 0
push eax
call ebx
push 0x41a
push dword [edi + 4]
call esi
push 0
push eax
call ebx
push 0x432
push dword [edi + 4]
call esi
push 0
push eax
call ebx
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push dword [edi + 4]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
mov ecx, edi
add dword [ebp - 0x14], 0xf
add dword [ebp - 0x10], 0x55
sub dword [ebp - 0xc], 0xf
mov dword [ebp - 0x28], eax
call fcn.004c6c23
mov esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
je 0x4c920e
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
add eax, 0xffffffd8
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 8], eax
sub eax, edx
push 0x20
add eax, 0xffffffe4
push eax
push ecx
lea eax, [edx + 0x1c]
push eax
push dword [ebp - 0x14]
mov eax, dword [esi]
push ebx
push esi
call dword [eax]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x18]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 5
pop eax
sub dword [ebp - 0x14], eax
sub dword [ebp - 0x10], eax
add dword [ebp - 0xc], eax
add dword [ebp - 8], eax
push 1
push ebx
push dword [edi + 4]
call esi
mov ecx, dword [ebp - 0x30]
push 1
push ebx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
push eax
call esi
call fcn.004c416f
mov dword [eax + 0x848], 2
jmp 0x4c93b2
push dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3e9
push eax
call ebx
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
call esi
push 0
push 0x3ea
push eax
call ebx
push eax
call edi
mov esi, dword [ebp - 0x28]
push 0x427
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x426
push dword [esi + 4]
call ebx
push 1
push eax
call edi
push 0x425
push dword [esi + 4]
call ebx
push 1
push eax
call edi
push 0x421
push dword [esi + 4]
call ebx
push 0
push eax
call edi
mov edi, esi
push 0x4e6
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call esi
push 0x426
push dword [edi + 4]
call ebx
push 5
push eax
call esi
push 0x425
push dword [edi + 4]
call ebx
push 5
push eax
call esi
push 0x430
push dword [edi + 4]
call ebx
push 5
push eax
call esi
push 0x431
push dword [edi + 4]
call ebx
push 5
push eax
call esi
push 0x41e
push dword [edi + 4]
call ebx
push 5
push eax
call esi
push 0x41f
push dword [edi + 4]
call ebx
push 5
push eax
call esi
push 0x41a
push dword [edi + 4]
call ebx
push 5
push eax
call esi
call fcn.004c416f
mov dword [eax + 0x848], 1
jmp 0x4c93b2
push 1
mov ecx, esi
call fcn.004c6fd5
mov ecx, esi
call fcn.004c9453
call fcn.004c416f
mov dword [eax + 0x848], ebx
jmp 0x4c937b
push 6
mov eax, edi
pop ebx
sub eax, ebx
je 0x4c938b
sub eax, 1
je 0x4c9360
push 4
pop edi
sub eax, edi
jne 0x4c93b2
push 1
mov ecx, esi
call fcn.004c6fd5
mov ecx, esi
call fcn.004c9453
call fcn.004c416f
mov dword [eax + 0x848], edi
mov ecx, dword [esi + 0x28]
push 0
push 0
push 0x36
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x4c93b2
push 1
mov ecx, esi
call fcn.004c6fd5
mov ecx, esi
call fcn.004c9453
call fcn.004c416f
mov dword [eax + 0x848], ebx
push 0x3e9
mov ecx, esi
call fcn.004c5fff
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.004042e9
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret 4