Function at 0x4a9ee8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4a9ef0
push ecx
push ebx
push esi
push edi
mov eax, 0x4a9cc0
call fcn.00406cd0
mov esi, dword [0x4acb28]
xor eax, eax
push ebp
push 0x4aa306
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, dword [0x4acb04]
mov edx, dword [edx]
call fcn.00403ca8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00408954
mov edx, dword [ebp - 0x10]
mov eax, 0x4aa320
call fcn.0040405c
mov ebx, eax
cmp ebx, 1
jle 0x4aa092
mov eax, 0x4ada10
mov edx, dword [0x4acb04]
mov edx, dword [edx]
call fcn.00403ca8
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x4ada10]
call fcn.00403d70
mov ecx, eax
sub ecx, ebx
sub ecx, 3
lea edx, [ebx + 4]
mov eax, dword [0x4ada10]
call fcn.00403f78
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00408af0
mov edx, dword [ebp - 0x18]
mov eax, 0x4ada18
call fcn.00403b44
push 0x4ada10
lea eax, [ebp - 0x20]
mov edx, dword [0x4acb04]
mov edx, dword [edx]
call fcn.00403ca8
mov eax, dword [ebp - 0x20]
lea ecx, [ebx + 3]
mov edx, 1
call fcn.00403f78
lea eax, [ebp - 0x28]
mov edx, dword [0x4acb04]
mov edx, dword [edx]
call fcn.00403ca8
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00408954
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [esi]
call fcn.0044ef0c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00408954
mov eax, dword [ebp - 0x2c]
pop edx
call fcn.0040405c
mov ebx, eax
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [esi]
call fcn.0044ef0c
mov eax, dword [ebp - 0x3c]
call fcn.00403d70
push eax
mov eax, dword [0x4ada10]
call fcn.00403d70
pop edx
sub eax, edx
push eax
lea edx, [ebp - 0x40]
mov eax, dword [esi]
call fcn.0044ef0c
mov eax, dword [ebp - 0x40]
call fcn.00403d70
mov edx, eax
add edx, ebx
inc edx
mov eax, dword [0x4ada10]
pop ecx
call fcn.00403f78
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00408af0
mov edx, dword [ebp - 0x34]
mov eax, 0x4ada14
mov ecx, 0x4aa330
call fcn.00403dbc
mov eax, dword [0x4ada14]
call fcn.00403d70
cmp eax, 0x40
jle 0x4aa092
push 0x4ada14
mov eax, dword [0x4ada14]
call fcn.00403d70
mov edx, eax
sub edx, 0x3f
mov ecx, 0x40
mov eax, dword [0x4ada14]
call fcn.00403f78
lea eax, [ebp - 0x4c]
mov edx, dword [0x4acb04]
mov edx, dword [edx]
call fcn.00403ca8
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408954
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00408af0
mov edx, dword [ebp - 0x44]
mov eax, 0x4ada10
call fcn.00403b44
lea edx, [ebp - 0x50]
mov eax, dword [esi]
call fcn.0044ef0c
mov eax, dword [ebp - 0x50]
call fcn.00403d70
mov ebx, eax
add ebx, 5
mov eax, dword [0x4ada10]
call fcn.00403d70
cmp ebx, eax
jge 0x4aa167
mov eax, dword [0x4ada10]
call fcn.00403d70
cmp eax, 0x3f
jle 0x4aa157
mov edx, dword [0x4ada10]
mov eax, 0x4aa320
call fcn.0040405c
mov ebx, eax
test ebx, ebx
jle 0x4aa134
sub ebx, 0x3f
cmp ebx, 1
jge 0x4aa11c
mov ebx, 1
push 0x4ada10
mov ecx, 0x3f
mov edx, ebx
mov eax, dword [0x4ada10]
call fcn.00403f78
jmp 0x4aa157
push 0x4ada10
mov eax, dword [0x4ada10]
call fcn.00403d70
mov edx, eax
sub edx, 0x3e
mov ecx, 0x3f
mov eax, dword [0x4ada10]
call fcn.00403f78
mov eax, 0x4ada14
mov edx, dword [0x4ada10]
call fcn.00403b44
lea edx, [ebp - 0x54]
mov eax, dword [0x4ada14]
call fcn.00408af0
cmp dword [ebp - 0x54], 0
je 0x4aa256
mov edx, dword [0x4ada14]
mov eax, 0x4aa33c
call fcn.0040405c
test eax, eax
jle 0x4aa1a5
push 0x4aa34c
push 0
call sub.user32.dll_FindWindowA
mov dword [0x4ada0c], eax
jmp 0x4aa1c7
push 0
lea edx, [ebp - 0x58]
mov eax, dword [0x4ada14]
call fcn.00408954
mov eax, dword [ebp - 0x58]
call fcn.00403f34
push eax
call sub.user32.dll_FindWindowA
mov dword [0x4ada0c], eax
cmp dword [0x4ada0c], 0
jbe 0x4aa256
mov eax, dword [0x4ada0c]
push eax
call sub.user32.dll_SetForegroundWindow
push 9
mov eax, dword [0x4ada0c]
push eax
call sub.user32.dll_ShowWindow
cmp dword [0x4ada18], 0
je 0x4aa2de
xor eax, eax
push ebp
push 0x4aa233
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
mov ecx, 0x4aa364
mov edx, dword [0x4ada18]
call fcn.00403dbc
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0042b68c
pop edx
call fcn.0042b32c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aa23d
push 0
push 0
push 0x1400
mov eax, dword [0x4ada0c]
push eax
call sub.user32.dll_PostMessageA
jmp 0x4aa2de
mov eax, dword [esi]
call fcn.0044e9ac
mov eax, dword [esi]
mov edx, 0x4aa37c
call fcn.0044e5b0
mov ecx, dword [0x4ac8fc]
mov eax, dword [esi]
mov edx, dword [0x486d08]
call fcn.0044e9c4
mov ecx, dword [0x4acc40]
mov eax, dword [esi]
mov edx, dword [0x48c024]
call fcn.0044e9c4
lea edx, [ebp - 0x60]
mov eax, dword [0x4acc40]
mov eax, dword [eax]
call fcn.004305e4
mov eax, dword [ebp - 0x60]
mov edx, 0x4aa394
call fcn.00403e80
je 0x4aa2cb
lea edx, [ebp - 0x64]
mov eax, dword [0x4acc40]
mov eax, dword [eax]
call fcn.004305e4
mov eax, dword [ebp - 0x64]
mov edx, 0x4aa3a8
call fcn.00403e80
jne 0x4aa2d7
mov eax, dword [0x4acc40]
mov eax, dword [eax]
call fcn.0044b728
mov eax, dword [esi]
call fcn.0044ea44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa30d
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00403b14
lea eax, [ebp - 0x5c]
mov edx, 0x14
call fcn.00403b14
ret