Function at 0x4cba20
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x330
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x32c], eax
cmp byte [0x58a64f], 0
push ebx
mov ebx, dword [esp + 0x33c]
push esi
mov esi, dword [esp + 0x33c]
push edi
mov edi, dword [esp + 0x348]
mov dword [esp + 0xc], edi
je 0x4cbcf0
push ebp
push esi
call fcn.005108b0
test eax, eax
je 0x4cbc6b
test edi, edi
je 0x4cbae6
test ebx, ebx
je 0x4cba84
mov eax, dword [esi + 0x60]
push edi
push eax
push ebx
call fcn.004c3580
jmp 0x4cbc29
cmp dword [esp + 0x350], 0
je 0x4cbaba
mov eax, dword [0x597e48]
cmp byte [eax], 0
jne 0x4cba9d
mov eax, str._exec___1__
mov ecx, dword [esi + 0x60]
push edi
push ecx
push eax
call fcn.004c3580
push str.exec:_main_thread_regained_focus_n
call fcn.0048f0a0
add esp, 4
jmp 0x4cbcef
mov eax, dword [0x597e44]
cmp byte [eax], 0
jne 0x4cbac9
mov eax, str._exec___1__
mov edx, dword [esi + 0x60]
push edi
push edx
push eax
call fcn.004c3580
push str.exec:_main_thread_regained_focus_n
call fcn.0048f0a0
add esp, 4
jmp 0x4cbcef
push esi
call fcn.0050fdd0
mov ebp, eax
mov eax, dword [0x58a640]
test eax, eax
mov dword [esp + 0x14], ebp
je 0x4cbb2c
cmp ebp, eax
jle 0x4cbb2c
push esi
call fcn.0050fdd0
push eax
mov eax, dword [0x58de7c]
mov ecx, dword [eax + 0x2a4]
mov edx, dword [eax]
mov eax, dword [esi + 0x60]
push ecx
push edx
push 0x23
push eax
call fcn.004a98f0
add esp, 0x14
cmp eax, 6
jne 0x4cbcef
test ebp, ebp
jle 0x4cbc59
cmp dword [esp + 0x354], 0
je 0x4cbb4a
mov ecx, dword [esi + 0x60]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0x18]
push edx
call fcn.00522730
lea eax, [esp + 0x128]
push eax
call fcn.00522730
xor edi, edi
test ebp, ebp
jle 0x4cbc0e
jmp 0x4cbb70
lea ecx, [esp + 0x18]
push ecx
push edi
push esi
call fcn.005100b0
mov edx, dword [esp + 0x20]
push edx
push esi
lea ebp, [edi + 1]
call fcn.0050fdd0
push eax
push ebp
push str.selection:__d__d:__s_n
call fcn.0048f0a0
add esp, 0x10
test ebx, ebx
je 0x4cbba9
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x60]
push eax
push ecx
push ebx
jmp 0x4cbbd2
push edi
push esi
call fcn.0050fed0
test eax, eax
mov eax, dword [0x597e48]
jne 0x4cbbbe
mov eax, dword [0x597e44]
cmp byte [eax], 0
jne 0x4cbbc8
mov eax, str._exec___1__
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x60]
push edx
push ecx
push eax
call fcn.004c3580
cmp dword [0x5981d0], 0
je 0x4cbc02
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x12c]
push eax
call fcn.00526830
mov ecx, dword [esp + 0x130]
push ecx
push 3
call dword [0x5981d0]
mov edi, ebp
cmp edi, dword [esp + 0x14]
jl 0x4cbb70
lea edx, [esp + 0x128]
push edx
call fcn.00401260
lea eax, [esp + 0x18]
push eax
call fcn.00401260
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x180]
push ecx
call fcn.004b78e0
push esi
call fcn.004c9da0
test edi, edi
jne 0x4cbc49
push 1
push 1
push esi
call fcn.00510850
cmp dword [esp + 0x354], 0
je 0x4cbc59
push esi
call fcn.004ca6b0
push str.exec:_main_thread_regained_focus_n
call fcn.0048f0a0
add esp, 4
jmp 0x4cbcef
xor ebp, ebp
cmp ebx, ebp
mov dword [esi + 0x1d0], 1
je 0x4cbc90
mov edx, dword [esi + 0x1d4]
push ebx
push edx
call fcn.005220d0
mov dword [esi + 0x1d4], eax
jmp 0x4cbca6
mov eax, dword [esi + 0x1d4]
cmp eax, ebp
je 0x4cbca0
push eax
call fcn.004a4030
mov dword [esi + 0x1d4], ebp
cmp edi, ebp
je 0x4cbccc
mov ecx, dword [esi + 0x1d8]
mov eax, dword [esp + 0x350]
push edi
push ecx
mov dword [esi + 0x1e0], eax
call fcn.005220d0
mov dword [esi + 0x1d8], eax
jmp 0x4cbce2
mov eax, dword [esi + 0x1d8]
cmp eax, ebp
je 0x4cbcdc
push eax
call fcn.004a4030
mov dword [esi + 0x1d8], ebp
mov edx, dword [esp + 0x354]
mov dword [esi + 0x1e4], edx
pop ebp
mov ecx, dword [esp + 0x338]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054899c
add esp, 0x330
ret 0x14