Function at 0x4af060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4af069
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 0x4af6e7
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, 0x4af700
call fcn.00404bc8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4af0cb
lea eax, [ebp - 0x14]
mov ecx, 0x2800
mov edx, dword [ebp - 0x18]
call fcn.00404b24
mov eax, dword [ebp - 0x14]
call fcn.0046dd44
test al, al
je 0x4af1e0
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.00409b44
mov eax, dword [ebp - 0x20]
mov edx, 0x4af70c
call fcn.004049d0
je 0x4af113
mov eax, dword [ebp - 0x20]
mov edx, 0x4af71c
call fcn.004049d0
je 0x4af113
mov eax, dword [ebp - 0x20]
mov edx, 0x4af72c
call fcn.004049d0
jne 0x4af15a
xor eax, eax
push ebp
push 0x4af14b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x168]
mov edx, dword [ebp - 0x14]
call fcn.00426334
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af249
mov eax, dword [ebp - 0x20]
mov edx, 0x4af73c
call fcn.004049d0
je 0x4af19a
mov eax, dword [ebp - 0x20]
mov edx, 0x4af74c
call fcn.004049d0
je 0x4af19a
mov eax, dword [ebp - 0x20]
mov edx, 0x4af75c
call fcn.004049d0
je 0x4af19a
mov eax, dword [ebp - 0x20]
mov edx, 0x4af76c
call fcn.004049d0
jne 0x4af249
xor eax, eax
push ebp
push 0x4af1d4
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 [0x54339c]
mov eax, dword [eax + 0x300]
call fcn.004ab5ec
mov byte [ebp - 0x19], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af249
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, 0x4af77c
call fcn.004049d0
jne 0x4af249
xor eax, eax
push ebp
push 0x4af23f
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 [0x54339c]
mov eax, dword [eax + 0x300]
call fcn.004ab5ec
mov byte [ebp - 0x19], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af249
cmp byte [ebp - 1], 0
je 0x4af262
mov ax, word [ebp - 3]
or ax, word [0x53d8f4]
mov word [0x53d8f4], ax
jmp 0x4af275
mov ax, word [ebp - 3]
not eax
and ax, word [0x53d8f4]
mov word [0x53d8f4], ax
mov ax, word [0x4af784]
cmp ax, word [0x53d8f4]
setne byte [ebp - 1]
mov dl, byte [ebp - 1]
mov eax, dword [0x54339c]
call fcn.004419e0
push 0
lea edx, [ebp - 0x30]
mov eax, 0x7e
call fcn.004ab8e8
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 0x4af52a
mov eax, dword [0x540cb0]
cmp dword [eax], 0
jle 0x4af2d0
test byte [0x53d8f4], 8
je 0x4af2e7
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x308]
mov edx, 0xff
call fcn.004ab790
jmp 0x4af30b
mov eax, dword [0x540cb0]
mov eax, dword [eax]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov edx, 0xff
sub edx, eax
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x308]
call fcn.004ab790
test byte [0x53d8f4], 8
je 0x4af376
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x304]
mov dl, 1
call fcn.004576ac
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.004576ac
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.004576ac
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00456ca0
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x300]
mov edx, 0xfffff448
call fcn.00456efc
jmp 0x4af4e5
cmp byte [ebp - 0x19], 1
jne 0x4af3de
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2fc]
mov dl, 1
call fcn.004576ac
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.004576ac
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00456ca0
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x300]
mov edx, 0xfffff448
call fcn.00456efc
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x304]
xor edx, edx
call fcn.004576ac
jmp 0x4af4e5
cmp byte [ebp - 0x19], 0
jne 0x4af431
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.004576ac
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.004576ac
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x300]
mov dl, 5
call fcn.00456ca0
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x304]
xor edx, edx
call fcn.004576ac
jmp 0x4af4e5
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.004576ac
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2f0]
mov dl, 1
call fcn.004576ac
cmp dword [ebp - 8], 0
je 0x4af48c
mov al, byte [0x4af788]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4af794
mov edx, 0x4af7a0
mov eax, dword [ebp - 8]
call fcn.0040d9ec
mov edx, dword [ebp - 0x34]
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2f0]
call fcn.004577bc
jmp 0x4af4ac
lea edx, [ebp - 0x38]
mov eax, 0xf
call fcn.004ac178
mov edx, dword [ebp - 0x38]
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2f0]
call fcn.004577bc
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00456ca0
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x300]
mov edx, 0xfffff448
call fcn.00456efc
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x304]
xor edx, edx
call fcn.004576ac
mov eax, dword [0x540944]
mov eax, dword [eax]
xor edx, edx
call fcn.00473074
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 [0x54339c]
call fcn.0045de44
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4af664
lea ecx, [ebp - 0x3c]
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x300]
mov edx, 0xd3
call fcn.004a825c
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x44]
mov eax, 0x63
call fcn.004ab8e8
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.00404e90
mov edx, dword [ebp - 0x40]
pop eax
call fcn.00404fc8
je 0x4af5d4
mov dword [ebp - 0x18], 3
xor eax, eax
push ebp
push 0x4af5bb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x4c]
mov eax, 0x63
call fcn.004ab8e8
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.00404e90
mov edx, dword [ebp - 0x48]
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x300]
call fcn.004ab5ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af5d4
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2f4]
xor edx, edx
call fcn.004576ac
mov eax, dword [0x54339c]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.004576ac
mov eax, dword [0x54339c]
call fcn.004579ec
mov eax, dword [0x540944]
mov eax, dword [eax]
xor edx, edx
call fcn.00473074
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 [0x54339c]
call fcn.0045de44
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.004d9234
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 0x4af6ee
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