Function at 0x4e2e80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4e2e88
push ecx
push ebx
push esi
push edi
mov eax, 0x4e2c10
call fcn.0040722c
mov esi, dword [0x4e6268]
xor eax, eax
push ebp
push 0x4e329e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, dword [0x4e6244]
mov edx, dword [edx]
call fcn.00403dac
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00408f00
mov edx, dword [ebp - 0x10]
mov eax, 0x4e32b8
call fcn.00404160
mov ebx, eax
cmp ebx, 1
jle 0x4e302a
mov eax, 0x4e93c8
mov edx, dword [0x4e6244]
mov edx, dword [edx]
call fcn.00403dac
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x4e93c8]
call fcn.00403e74
mov ecx, eax
sub ecx, ebx
sub ecx, 3
lea edx, [ebx + 4]
mov eax, dword [0x4e93c8]
call fcn.0040407c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040909c
mov edx, dword [ebp - 0x18]
mov eax, 0x4e93d0
call fcn.00403c48
push 0x4e93c8
lea eax, [ebp - 0x20]
mov edx, dword [0x4e6244]
mov edx, dword [edx]
call fcn.00403dac
mov eax, dword [ebp - 0x20]
lea ecx, [ebx + 3]
mov edx, 1
call fcn.0040407c
lea eax, [ebp - 0x28]
mov edx, dword [0x4e6244]
mov edx, dword [edx]
call fcn.00403dac
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00408f00
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [esi]
call fcn.00450824
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00408f00
mov eax, dword [ebp - 0x2c]
pop edx
call fcn.00404160
mov ebx, eax
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [esi]
call fcn.00450824
mov eax, dword [ebp - 0x3c]
call fcn.00403e74
push eax
mov eax, dword [0x4e93c8]
call fcn.00403e74
pop edx
sub eax, edx
push eax
lea edx, [ebp - 0x40]
mov eax, dword [esi]
call fcn.00450824
mov eax, dword [ebp - 0x40]
call fcn.00403e74
mov edx, eax
add edx, ebx
inc edx
mov eax, dword [0x4e93c8]
pop ecx
call fcn.0040407c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0040909c
mov edx, dword [ebp - 0x34]
mov eax, 0x4e93cc
mov ecx, 0x4e32c8
call fcn.00403ec0
mov eax, dword [0x4e93cc]
call fcn.00403e74
cmp eax, 0x40
jle 0x4e302a
push 0x4e93cc
mov eax, dword [0x4e93cc]
call fcn.00403e74
mov edx, eax
sub edx, 0x3f
mov ecx, 0x40
mov eax, dword [0x4e93cc]
call fcn.0040407c
lea eax, [ebp - 0x4c]
mov edx, dword [0x4e6244]
mov edx, dword [edx]
call fcn.00403dac
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408f00
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040909c
mov edx, dword [ebp - 0x44]
mov eax, 0x4e93c8
call fcn.00403c48
lea edx, [ebp - 0x50]
mov eax, dword [esi]
call fcn.00450824
mov eax, dword [ebp - 0x50]
call fcn.00403e74
mov ebx, eax
add ebx, 5
mov eax, dword [0x4e93c8]
call fcn.00403e74
cmp ebx, eax
jge 0x4e30ff
mov eax, dword [0x4e93c8]
call fcn.00403e74
cmp eax, 0x3f
jle 0x4e30ef
mov edx, dword [0x4e93c8]
mov eax, 0x4e32b8
call fcn.00404160
mov ebx, eax
test ebx, ebx
jle 0x4e30cc
sub ebx, 0x3f
cmp ebx, 1
jge 0x4e30b4
mov ebx, 1
push 0x4e93c8
mov ecx, 0x3f
mov edx, ebx
mov eax, dword [0x4e93c8]
call fcn.0040407c
jmp 0x4e30ef
push 0x4e93c8
mov eax, dword [0x4e93c8]
call fcn.00403e74
mov edx, eax
sub edx, 0x3e
mov ecx, 0x3f
mov eax, dword [0x4e93c8]
call fcn.0040407c
mov eax, 0x4e93cc
mov edx, dword [0x4e93c8]
call fcn.00403c48
lea edx, [ebp - 0x54]
mov eax, dword [0x4e93cc]
call fcn.0040909c
cmp dword [ebp - 0x54], 0
je 0x4e31ee
mov edx, dword [0x4e93cc]
mov eax, 0x4e32d4
call fcn.00404160
test eax, eax
jle 0x4e313d
push 0x4e32e0
push 0
call sub.user32.dll_FindWindowA
mov dword [0x4e93c4], eax
jmp 0x4e315f
push 0
lea edx, [ebp - 0x58]
mov eax, dword [0x4e93cc]
call fcn.00408f00
mov eax, dword [ebp - 0x58]
call fcn.00404038
push eax
call sub.user32.dll_FindWindowA
mov dword [0x4e93c4], eax
cmp dword [0x4e93c4], 0
jbe 0x4e31ee
mov eax, dword [0x4e93c4]
push eax
call sub.user32.dll_SetForegroundWindow
push 9
mov eax, dword [0x4e93c4]
push eax
call sub.user32.dll_ShowWindow
cmp dword [0x4e93d0], 0
je 0x4e3276
xor eax, eax
push ebp
push 0x4e31cb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
mov ecx, 0x4e32f4
mov edx, dword [0x4e93d0]
call fcn.00403ec0
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0042cee8
pop edx
call fcn.0042cb88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e31d5
push 0
push 0
push 0x1400
mov eax, dword [0x4e93c4]
push eax
call sub.user32.dll_PostMessageA
jmp 0x4e3276
mov eax, dword [esi]
call fcn.004502c4
mov eax, dword [esi]
mov edx, 0x4e330c
call fcn.0044fec8
mov ecx, dword [0x4e6030]
mov eax, dword [esi]
mov edx, dword [0x48ae98]
call fcn.004502dc
mov ecx, dword [0x4e6388]
mov eax, dword [esi]
mov edx, dword [0x49fa90]
call fcn.004502dc
lea edx, [ebp - 0x60]
mov eax, dword [0x4e6388]
mov eax, dword [eax]
call fcn.00431e40
mov eax, dword [ebp - 0x60]
mov edx, 0x4e3324
call fcn.00403f84
je 0x4e3263
lea edx, [ebp - 0x64]
mov eax, dword [0x4e6388]
mov eax, dword [eax]
call fcn.00431e40
mov eax, dword [ebp - 0x64]
mov edx, 0x4e3338
call fcn.00403f84
jne 0x4e326f
mov eax, dword [0x4e6388]
mov eax, dword [eax]
call fcn.0044d070
mov eax, dword [esi]
call fcn.0045035c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e32a5
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00403c18
lea eax, [ebp - 0x5c]
mov edx, 0x14
call fcn.00403c18
ret