Function at 0x4c8a40
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x328
cmp byte [0x57e65b], 0
je 0x4c8c63
push esi
mov esi, dword [esp + 0x330]
push edi
push esi
call fcn.0050ce70
test eax, eax
je 0x4c8c6c
push ebx
push ebp
mov ebp, dword [esp + 0x344]
test ebp, ebp
je 0x4c8ada
mov eax, dword [esp + 0x340]
test eax, eax
je 0x4c8a92
mov ecx, dword [esi + 0x60]
push ebp
push ecx
push eax
call fcn.004c0760
jmp 0x4c8c22
cmp dword [esp + 0x348], 0
je 0x4c8abb
mov eax, dword [0x58b0e8]
cmp byte [eax], 0
jne 0x4c8aab
mov eax, str._exec___1__
mov edx, dword [esi + 0x60]
push ebp
push edx
push eax
call fcn.004c0760
jmp 0x4c8c52
mov eax, dword [0x58b0e4]
cmp byte [eax], 0
jne 0x4c8aca
mov eax, str._exec___1__
mov ecx, dword [esi + 0x60]
push ebp
push ecx
push eax
call fcn.004c0760
jmp 0x4c8c52
push esi
call fcn.0050c3d0
mov ebx, eax
mov eax, dword [0x57e64c]
test eax, eax
mov dword [esp + 0x10], ebx
je 0x4c8b20
cmp ebx, eax
jle 0x4c8b20
push esi
call fcn.0050c3d0
mov ecx, dword [esi + 0x60]
push eax
mov eax, dword [0x581de4]
mov edx, dword [eax + 0x2a4]
mov eax, dword [eax]
push edx
push eax
push 0x23
push ecx
call fcn.004a78c0
add esp, 0x14
cmp eax, 6
jne 0x4c8c5f
test ebx, ebx
jle 0x4c8c52
cmp dword [esp + 0x34c], 0
je 0x4c8b3e
mov edx, dword [esi + 0x60]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x14]
push eax
call fcn.0051ec40
lea ecx, [esp + 0x124]
push ecx
call fcn.0051ec40
xor edi, edi
test ebx, ebx
jle 0x4c8c0b
mov ebx, dword [esp + 0x340]
lea edx, [esp + 0x14]
push edx
push edi
push esi
call fcn.0050c6b0
mov eax, dword [esp + 0x1c]
push eax
push esi
lea ebp, [edi + 1]
call fcn.0050c3d0
push eax
push ebp
push str.selection:__d__d:__s_n
call fcn.0048dc10
add esp, 0x10
test ebx, ebx
je 0x4c8b9f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x60]
push ecx
push edx
push ebx
jmp 0x4c8bc8
push edi
push esi
call fcn.0050c4d0
test eax, eax
mov eax, dword [0x58b0e8]
jne 0x4c8bb4
mov eax, dword [0x58b0e4]
cmp byte [eax], 0
jne 0x4c8bbe
mov eax, str._exec___1__
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x60]
push ecx
push edx
push eax
call fcn.004c0760
cmp dword [0x58b46c], 0
je 0x4c8bf8
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x128]
push ecx
call fcn.00522b90
mov edx, dword [esp + 0x12c]
push edx
push 3
call dword [0x58b46c]
mov edi, ebp
cmp edi, dword [esp + 0x10]
jl 0x4c8b66
mov ebp, dword [esp + 0x344]
lea eax, [esp + 0x124]
push eax
call fcn.00522920
lea ecx, [esp + 0x14]
push ecx
call fcn.00522920
mov edx, dword [esi + 0x17c]
push edx
call fcn.004b4da0
push esi
call fcn.004c6e50
test ebp, ebp
jne 0x4c8c42
push 1
push 1
push esi
call fcn.0050ce10
cmp dword [esp + 0x34c], 0
je 0x4c8c52
push esi
call fcn.004c7710
push str.exec:_main_thread_regained_focus_n
call fcn.0048dc10
add esp, 4
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x328
ret 0x14
mov eax, dword [esp + 0x338]
xor edi, edi
cmp eax, edi
mov dword [esi + 0x1cc], 1
je 0x4c8c98
push eax
mov eax, dword [esi + 0x1d0]
push eax
call fcn.0051e5f0
mov dword [esi + 0x1d0], eax
jmp 0x4c8cae
mov eax, dword [esi + 0x1d0]
cmp eax, edi
je 0x4c8ca8
push eax
call fcn.004a23a0
mov dword [esi + 0x1d0], edi
mov eax, dword [esp + 0x33c]
cmp eax, edi
je 0x4c8cf1
mov edx, dword [esi + 0x1d4]
mov ecx, dword [esp + 0x340]
push eax
push edx
mov dword [esi + 0x1dc], ecx
call fcn.0051e5f0
mov dword [esi + 0x1d4], eax
mov eax, dword [esp + 0x344]
pop edi
mov dword [esi + 0x1e0], eax
pop esi
add esp, 0x328
ret 0x14
mov eax, dword [esi + 0x1d4]
cmp eax, edi
je 0x4c8d01
push eax
call fcn.004a23a0
mov eax, dword [esp + 0x344]
mov dword [esi + 0x1d4], edi
pop edi
mov dword [esi + 0x1e0], eax
pop esi
add esp, 0x328
ret 0x14