Function at 0x4ac904
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 0x4acba8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [esi + 0x248], 0
test bl, bl
je 0x4ac958
cmp dword [esi + 0x2a8], 0
je 0x4ac958
lea edx, [ebp - 0x20]
mov eax, dword [esi + 0x2a8]
call fcn.004a9270
cmp dword [ebp - 0x20], 0
jne 0x4ac95c
xor eax, eax
jmp 0x4ac95e
mov al, 1
mov ebx, eax
test bl, bl
je 0x4acb26
mov eax, esi
call fcn.0043fa50
test al, al
jne 0x4acb26
mov ebx, dword [esi + 0x2a8]
cmp byte [ebx + 0x24], 0
je 0x4ac9a2
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
call fcn.0041534c
mov edx, eax
mov eax, dword [esi + 0x2a8]
mov ecx, dword [eax + 0xc]
mov eax, esi
call fcn.004aba44
jmp 0x4ac9b5
mov eax, ebx
call fcn.0041534c
mov edx, eax
lea ecx, [ebp - 0x1c]
mov eax, esi
call fcn.004ab848
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.0043e954
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.004a9270
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.0043b674
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.004a92a0
cmp byte [eax + 0x18], 0
jne 0x4aca64
mov eax, dword [esi + 0x38]
sub eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
sar eax, 1
jns 0x4aca5f
adc eax, 0
add dword [ebp - 8], eax
jmp 0x4aca6d
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 0x4acaa8
mov eax, dword [esi + 0x24c]
push eax
mov eax, esi
call fcn.00447144
push eax
call sub.user32.dll_KillTimer
mov eax, dword [0x57f120]
mov eax, dword [eax]
mov edx, dword [eax + 0x4c]
mov eax, dword [esi + 0x244]
call fcn.0043f254
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 0x4a9c5c
push 0xbb8
push 1
mov eax, esi
call fcn.00447144
push eax
call sub.user32.dll_SetTimer
mov dword [esi + 0x24c], eax
xor edx, edx
mov eax, esi
call fcn.0043f1c8
lea edx, [ebp - 0x44]
mov eax, dword [esi + 0x2a8]
call fcn.004a9270
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.0043b6c8
mov edx, dword [ebp - 0x40]
lea eax, [esi + 0x70]
call fcn.00404910
jmp 0x4acb75
cmp dword [esi + 0x24c], 0xffffffff
je 0x4acb4d
mov eax, dword [esi + 0x24c]
push eax
mov eax, esi
call fcn.00447144
push eax
call sub.user32.dll_KillTimer
mov dword [esi + 0x24c], 0xffffffff
mov eax, dword [esi + 0x244]
call fcn.00447144
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4acb75
push 0
mov eax, dword [esi + 0x244]
call fcn.00447144
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acbaf
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004048e0
lea eax, [ebp - 0x2c]
call fcn.004048bc
lea eax, [ebp - 0x20]
call fcn.004048bc
lea eax, [ebp - 0xc]
call fcn.004048bc
ret