Function at 0x4cbf04
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4cbf0c
push ecx
push ebx
push esi
push edi
mov eax, 0x4cbc9c
call fcn.004071e8
mov esi, dword [0x4cf264]
xor eax, eax
push ebp
push 0x4cc322
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, dword [0x4cf240]
mov edx, dword [edx]
call fcn.00403d9c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00408ebc
mov edx, dword [ebp - 0x10]
mov eax, 0x4cc33c
call fcn.00404150
mov ebx, eax
cmp ebx, 1
jle 0x4cc0ae
mov eax, 0x4d23c4
mov edx, dword [0x4cf240]
mov edx, dword [edx]
call fcn.00403d9c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x4d23c4]
call fcn.00403e64
mov ecx, eax
sub ecx, ebx
sub ecx, 3
lea edx, [ebx + 4]
mov eax, dword [0x4d23c4]
call fcn.0040406c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00409058
mov edx, dword [ebp - 0x18]
mov eax, 0x4d23cc
call fcn.00403c38
push 0x4d23c4
lea eax, [ebp - 0x20]
mov edx, dword [0x4cf240]
mov edx, dword [edx]
call fcn.00403d9c
mov eax, dword [ebp - 0x20]
lea ecx, [ebx + 3]
mov edx, 1
call fcn.0040406c
lea eax, [ebp - 0x28]
mov edx, dword [0x4cf240]
mov edx, dword [edx]
call fcn.00403d9c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00408ebc
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [esi]
call fcn.004507ac
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00408ebc
mov eax, dword [ebp - 0x2c]
pop edx
call fcn.00404150
mov ebx, eax
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [esi]
call fcn.004507ac
mov eax, dword [ebp - 0x3c]
call fcn.00403e64
push eax
mov eax, dword [0x4d23c4]
call fcn.00403e64
pop edx
sub eax, edx
push eax
lea edx, [ebp - 0x40]
mov eax, dword [esi]
call fcn.004507ac
mov eax, dword [ebp - 0x40]
call fcn.00403e64
mov edx, eax
add edx, ebx
inc edx
mov eax, dword [0x4d23c4]
pop ecx
call fcn.0040406c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00409058
mov edx, dword [ebp - 0x34]
mov eax, 0x4d23c8
mov ecx, 0x4cc34c
call fcn.00403eb0
mov eax, dword [0x4d23c8]
call fcn.00403e64
cmp eax, 0x40
jle 0x4cc0ae
push 0x4d23c8
mov eax, dword [0x4d23c8]
call fcn.00403e64
mov edx, eax
sub edx, 0x3f
mov ecx, 0x40
mov eax, dword [0x4d23c8]
call fcn.0040406c
lea eax, [ebp - 0x4c]
mov edx, dword [0x4cf240]
mov edx, dword [edx]
call fcn.00403d9c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408ebc
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00409058
mov edx, dword [ebp - 0x44]
mov eax, 0x4d23c4
call fcn.00403c38
lea edx, [ebp - 0x50]
mov eax, dword [esi]
call fcn.004507ac
mov eax, dword [ebp - 0x50]
call fcn.00403e64
mov ebx, eax
add ebx, 5
mov eax, dword [0x4d23c4]
call fcn.00403e64
cmp ebx, eax
jge 0x4cc183
mov eax, dword [0x4d23c4]
call fcn.00403e64
cmp eax, 0x3f
jle 0x4cc173
mov edx, dword [0x4d23c4]
mov eax, 0x4cc33c
call fcn.00404150
mov ebx, eax
test ebx, ebx
jle 0x4cc150
sub ebx, 0x3f
cmp ebx, 1
jge 0x4cc138
mov ebx, 1
push 0x4d23c4
mov ecx, 0x3f
mov edx, ebx
mov eax, dword [0x4d23c4]
call fcn.0040406c
jmp 0x4cc173
push 0x4d23c4
mov eax, dword [0x4d23c4]
call fcn.00403e64
mov edx, eax
sub edx, 0x3e
mov ecx, 0x3f
mov eax, dword [0x4d23c4]
call fcn.0040406c
mov eax, 0x4d23c8
mov edx, dword [0x4d23c4]
call fcn.00403c38
lea edx, [ebp - 0x54]
mov eax, dword [0x4d23c8]
call fcn.00409058
cmp dword [ebp - 0x54], 0
je 0x4cc272
mov edx, dword [0x4d23c8]
mov eax, 0x4cc358
call fcn.00404150
test eax, eax
jle 0x4cc1c1
push 0x4cc364
push 0
call sub.user32.dll_FindWindowA
mov dword [0x4d23c0], eax
jmp 0x4cc1e3
push 0
lea edx, [ebp - 0x58]
mov eax, dword [0x4d23c8]
call fcn.00408ebc
mov eax, dword [ebp - 0x58]
call fcn.00404028
push eax
call sub.user32.dll_FindWindowA
mov dword [0x4d23c0], eax
cmp dword [0x4d23c0], 0
jbe 0x4cc272
mov eax, dword [0x4d23c0]
push eax
call sub.user32.dll_SetForegroundWindow
push 9
mov eax, dword [0x4d23c0]
push eax
call sub.user32.dll_ShowWindow
cmp dword [0x4d23cc], 0
je 0x4cc2fa
xor eax, eax
push ebp
push 0x4cc24f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
mov ecx, 0x4cc378
mov edx, dword [0x4d23cc]
call fcn.00403eb0
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0042ce70
pop edx
call fcn.0042cb10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cc259
push 0
push 0
push 0x1400
mov eax, dword [0x4d23c0]
push eax
call sub.user32.dll_PostMessageA
jmp 0x4cc2fa
mov eax, dword [esi]
call fcn.0045024c
mov eax, dword [esi]
mov edx, 0x4cc390
call fcn.0044fe50
mov ecx, dword [0x4cf02c]
mov eax, dword [esi]
mov edx, dword [0x488df0]
call fcn.00450264
mov ecx, dword [0x4cf384]
mov eax, dword [esi]
mov edx, dword [0x49c5c8]
call fcn.00450264
lea edx, [ebp - 0x60]
mov eax, dword [0x4cf384]
mov eax, dword [eax]
call fcn.00431dc8
mov eax, dword [ebp - 0x60]
mov edx, 0x4cc3a8
call fcn.00403f74
je 0x4cc2e7
lea edx, [ebp - 0x64]
mov eax, dword [0x4cf384]
mov eax, dword [eax]
call fcn.00431dc8
mov eax, dword [ebp - 0x64]
mov edx, 0x4cc3bc
call fcn.00403f74
jne 0x4cc2f3
mov eax, dword [0x4cf384]
mov eax, dword [eax]
call fcn.0044cff8
mov eax, dword [esi]
call fcn.004502e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc329
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00403c08
lea eax, [ebp - 0x5c]
mov edx, 0x14
call fcn.00403c08
ret