Function at 0x4ac5a8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ac84c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [esi + 0x248], 0
test bl, bl
je 0x4ac5fc
cmp dword [esi + 0x2a8], 0
je 0x4ac5fc
lea edx, [ebp - 0x20]
mov eax, dword [esi + 0x2a8]
call fcn.004a8f14
cmp dword [ebp - 0x20], 0
jne 0x4ac600
xor eax, eax
jmp 0x4ac602
mov al, 1
mov ebx, eax
test bl, bl
je 0x4ac7ca
mov eax, esi
call fcn.0043f134
test al, al
jne 0x4ac7ca
mov ebx, dword [esi + 0x2a8]
cmp byte [ebx + 0x24], 0
je 0x4ac646
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
call fcn.004152fc
mov edx, eax
mov eax, dword [esi + 0x2a8]
mov ecx, dword [eax + 0xc]
mov eax, esi
call fcn.004ab6e8
jmp 0x4ac659
mov eax, ebx
call fcn.004152fc
mov edx, eax
lea ecx, [ebp - 0x1c]
mov eax, esi
call fcn.004ab4ec
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x28]
lea edx, [ebp - 8]
mov eax, esi
call fcn.0043e038
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
push 0
mov eax, dword [esi + 0x280]
add eax, eax
mov edx, dword [esi + 0x38]
sub edx, eax
push edx
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_SetRect
lea edx, [ebp - 0x2c]
mov eax, dword [esi + 0x2a8]
call fcn.004a8f14
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.0043ad58
push 0
lea eax, [ebp - 0x3c]
push eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x244]
mov ebx, dword [eax]
call dword [ebx + 0xc0]
push esi
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x1c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [esi + 0x2a8]
call fcn.004a8f44
cmp byte [eax + 0x18], 0
jne 0x4ac708
mov eax, dword [esi + 0x38]
sub eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
sar eax, 1
jns 0x4ac703
adc eax, 0
add dword [ebp - 8], eax
jmp 0x4ac711
mov eax, dword [esi + 0x280]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_OffsetRect
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_InflateRect
cmp dword [esi + 0x24c], 0xffffffff
je 0x4ac74c
mov eax, dword [esi + 0x24c]
push eax
mov eax, esi
call fcn.00446828
push eax
call sub.user32.dll_KillTimer
mov eax, dword [0x578828]
mov eax, dword [eax]
mov edx, dword [eax + 0x4c]
mov eax, dword [esi + 0x244]
call fcn.0043e938
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x1c]
mov eax, dword [esi + 0x244]
mov ebx, dword [eax]
call dword [ebx + 0xb8]
mov byte [esi + 0x248], 1
push 0x4a9900
push 0xbb8
push 1
mov eax, esi
call fcn.00446828
push eax
call sub.user32.dll_SetTimer
mov dword [esi + 0x24c], eax
xor edx, edx
mov eax, esi
call fcn.0043e8ac
lea edx, [ebp - 0x44]
mov eax, dword [esi + 0x2a8]
call fcn.004a8f14
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.0043adac
mov edx, dword [ebp - 0x40]
lea eax, [esi + 0x70]
call fcn.004048e8
jmp 0x4ac819
cmp dword [esi + 0x24c], 0xffffffff
je 0x4ac7f1
mov eax, dword [esi + 0x24c]
push eax
mov eax, esi
call fcn.00446828
push eax
call sub.user32.dll_KillTimer
mov dword [esi + 0x24c], 0xffffffff
mov eax, dword [esi + 0x244]
call fcn.00446828
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ac819
push 0
mov eax, dword [esi + 0x244]
call fcn.00446828
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac853
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004048b8
lea eax, [ebp - 0x2c]
call fcn.00404894
lea eax, [ebp - 0x20]
call fcn.00404894
lea eax, [ebp - 0xc]
call fcn.00404894
ret