Function at 0x4aee98
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4aeea1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov word [ebp - 3], dx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
call fcn.00404a74
xor eax, eax
push ebp
push 0x4af51f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 2
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00408e1c
mov edx, dword [ebp - 0x14]
mov eax, 0x4af538
call fcn.00404bc8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4aef03
lea eax, [ebp - 0x14]
mov ecx, 0x2800
mov edx, dword [ebp - 0x18]
call fcn.00404b24
mov eax, dword [ebp - 0x14]
call fcn.0046dd20
test al, al
je 0x4af018
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.00409b20
mov eax, dword [ebp - 0x20]
mov edx, 0x4af544
call fcn.004049d0
je 0x4aef4b
mov eax, dword [ebp - 0x20]
mov edx, 0x4af554
call fcn.004049d0
je 0x4aef4b
mov eax, dword [ebp - 0x20]
mov edx, 0x4af564
call fcn.004049d0
jne 0x4aef92
xor eax, eax
push ebp
push 0x4aef83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x168]
mov edx, dword [ebp - 0x14]
call fcn.00426310
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af081
mov eax, dword [ebp - 0x20]
mov edx, 0x4af574
call fcn.004049d0
je 0x4aefd2
mov eax, dword [ebp - 0x20]
mov edx, 0x4af584
call fcn.004049d0
je 0x4aefd2
mov eax, dword [ebp - 0x20]
mov edx, 0x4af594
call fcn.004049d0
je 0x4aefd2
mov eax, dword [ebp - 0x20]
mov edx, 0x4af5a4
call fcn.004049d0
jne 0x4af081
xor eax, eax
push ebp
push 0x4af00c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x14]
call fcn.00404e90
mov edx, dword [ebp - 0x24]
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x300]
call fcn.004ab424
mov byte [ebp - 0x19], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af081
lea eax, [ebp - 0x28]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404ae4
mov eax, dword [ebp - 0x28]
mov edx, 0x4af5b4
call fcn.004049d0
jne 0x4af081
xor eax, eax
push ebp
push 0x4af077
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
call fcn.00404e90
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x300]
call fcn.004ab424
mov byte [ebp - 0x19], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af081
cmp byte [ebp - 1], 0
je 0x4af09a
mov ax, word [ebp - 3]
or ax, word [0x53b8f0]
mov word [0x53b8f0], ax
jmp 0x4af0ad
mov ax, word [ebp - 3]
not eax
and ax, word [0x53b8f0]
mov word [0x53b8f0], ax
mov ax, word [0x4af5bc]
cmp ax, word [0x53b8f0]
setne byte [ebp - 1]
mov dl, byte [ebp - 1]
mov eax, dword [0x54139c]
call fcn.004419bc
push 0
lea edx, [ebp - 0x30]
mov eax, 0x7e
call fcn.004ab720
mov eax, dword [ebp - 0x30]
call fcn.00404a84
push eax
call sub.user32.dll_FindWindowA
mov dword [ebp - 0x10], eax
cmp byte [ebp - 1], 0
je 0x4af362
mov eax, dword [0x53ec84]
cmp dword [eax], 0
jle 0x4af108
test byte [0x53b8f0], 8
je 0x4af11f
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x308]
mov edx, 0xff
call fcn.004ab5c8
jmp 0x4af143
mov eax, dword [0x53ec84]
mov eax, dword [eax]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov edx, 0xff
sub edx, eax
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x308]
call fcn.004ab5c8
test byte [0x53b8f0], 8
je 0x4af1ae
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x304]
mov dl, 1
call fcn.00457688
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.00457688
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.00457688
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00456c7c
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x300]
mov edx, 0xfffff448
call fcn.00456ed8
jmp 0x4af31d
cmp byte [ebp - 0x19], 1
jne 0x4af216
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2fc]
mov dl, 1
call fcn.00457688
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.00457688
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00456c7c
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x300]
mov edx, 0xfffff448
call fcn.00456ed8
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x304]
xor edx, edx
call fcn.00457688
jmp 0x4af31d
cmp byte [ebp - 0x19], 0
jne 0x4af269
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.00457688
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.00457688
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x300]
mov dl, 5
call fcn.00456c7c
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x304]
xor edx, edx
call fcn.00457688
jmp 0x4af31d
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.00457688
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2f0]
mov dl, 1
call fcn.00457688
cmp dword [ebp - 8], 0
je 0x4af2c4
mov al, byte [0x4af5c0]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4af5cc
mov edx, 0x4af5d8
mov eax, dword [ebp - 8]
call fcn.0040d9c8
mov edx, dword [ebp - 0x34]
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2f0]
call fcn.00457798
jmp 0x4af2e4
lea edx, [ebp - 0x38]
mov eax, 0xf
call fcn.004abfb0
mov edx, dword [ebp - 0x38]
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2f0]
call fcn.00457798
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00456c7c
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x300]
mov edx, 0xfffff448
call fcn.00456ed8
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x304]
xor edx, edx
call fcn.00457688
mov eax, dword [0x53e918]
mov eax, dword [eax]
xor edx, edx
call fcn.00472eac
mov ebx, eax
push 0x40
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push eax
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [0x54139c]
call fcn.0045de20
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4af49c
lea ecx, [ebp - 0x3c]
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x300]
mov edx, 0xd3
call fcn.004a8094
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x44]
mov eax, 0x63
call fcn.004ab720
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.00404e90
mov edx, dword [ebp - 0x40]
pop eax
call fcn.00404fc8
je 0x4af40c
mov dword [ebp - 0x18], 3
xor eax, eax
push ebp
push 0x4af3f3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x4c]
mov eax, 0x63
call fcn.004ab720
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.00404e90
mov edx, dword [ebp - 0x48]
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x300]
call fcn.004ab424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af40c
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2f4]
xor edx, edx
call fcn.00457688
mov eax, dword [0x54139c]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.00457688
mov eax, dword [0x54139c]
call fcn.004579c8
mov eax, dword [0x53e918]
mov eax, dword [eax]
xor edx, edx
call fcn.00472eac
mov ebx, eax
push 0x83
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push eax
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [0x54139c]
call fcn.0045de20
push eax
call sub.user32.dll_SetWindowPos
push 0x47
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_SetWindowPos
mov eax, 0xc8
call fcn.004d8720
push 0xffffffffffffffff
push 0
push 0
call sub.user32.dll_InvalidateRect
push 0
lea eax, [ebp - 0xc]
push eax
xor eax, eax
mov al, byte [ebp - 1]
push eax
push 0x61
call sub.user32.dll_SystemParametersInfoA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af526
lea eax, [ebp - 0x4c]
call fcn.004045b8
lea eax, [ebp - 0x48]
call fcn.00404cf0
lea eax, [ebp - 0x44]
call fcn.004045b8
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00404d08
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004045dc
lea eax, [ebp - 0x2c]
call fcn.00404cf0
lea eax, [ebp - 0x28]
call fcn.004045b8
lea eax, [ebp - 0x24]
call fcn.00404cf0
lea eax, [ebp - 0x20]
call fcn.004045b8
lea eax, [ebp - 0x14]
call fcn.004045b8
lea eax, [ebp - 8]
call fcn.004045b8
ret