Function at 0x4af0f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4af101
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 0x4af77f
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, 0x4af798
call fcn.00404bc8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4af163
lea eax, [ebp - 0x14]
mov ecx, 0x2800
mov edx, dword [ebp - 0x18]
call fcn.00404b24
mov eax, dword [ebp - 0x14]
call fcn.0046dddc
test al, al
je 0x4af278
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.00409bb8
mov eax, dword [ebp - 0x20]
mov edx, 0x4af7a4
call fcn.004049d0
je 0x4af1ab
mov eax, dword [ebp - 0x20]
mov edx, 0x4af7b4
call fcn.004049d0
je 0x4af1ab
mov eax, dword [ebp - 0x20]
mov edx, 0x4af7c4
call fcn.004049d0
jne 0x4af1f2
xor eax, eax
push ebp
push 0x4af1e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x168]
mov edx, dword [ebp - 0x14]
call fcn.004263a8
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af2e1
mov eax, dword [ebp - 0x20]
mov edx, 0x4af7d4
call fcn.004049d0
je 0x4af232
mov eax, dword [ebp - 0x20]
mov edx, 0x4af7e4
call fcn.004049d0
je 0x4af232
mov eax, dword [ebp - 0x20]
mov edx, 0x4af7f4
call fcn.004049d0
je 0x4af232
mov eax, dword [ebp - 0x20]
mov edx, 0x4af804
call fcn.004049d0
jne 0x4af2e1
xor eax, eax
push ebp
push 0x4af26c
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 [0x54439c]
mov eax, dword [eax + 0x300]
call fcn.004ab684
mov byte [ebp - 0x19], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af2e1
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, 0x4af814
call fcn.004049d0
jne 0x4af2e1
xor eax, eax
push ebp
push 0x4af2d7
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 [0x54439c]
mov eax, dword [eax + 0x300]
call fcn.004ab684
mov byte [ebp - 0x19], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af2e1
cmp byte [ebp - 1], 0
je 0x4af2fa
mov ax, word [ebp - 3]
or ax, word [0x53e8f4]
mov word [0x53e8f4], ax
jmp 0x4af30d
mov ax, word [ebp - 3]
not eax
and ax, word [0x53e8f4]
mov word [0x53e8f4], ax
mov ax, word [0x4af81c]
cmp ax, word [0x53e8f4]
setne byte [ebp - 1]
mov dl, byte [ebp - 1]
mov eax, dword [0x54439c]
call fcn.00442cd0
push 0
lea edx, [ebp - 0x30]
mov eax, 0x7e
call fcn.004ab980
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 0x4af5c2
mov eax, dword [0x541cb0]
cmp dword [eax], 0
jle 0x4af368
test byte [0x53e8f4], 8
je 0x4af37f
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x308]
mov edx, 0xff
call fcn.004ab828
jmp 0x4af3a3
mov eax, dword [0x541cb0]
mov eax, dword [eax]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov edx, 0xff
sub edx, eax
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x308]
call fcn.004ab828
test byte [0x53e8f4], 8
je 0x4af40e
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x304]
mov dl, 1
call fcn.00457720
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.00457720
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.00457720
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00456d14
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x300]
mov edx, 0xfffff448
call fcn.00456f70
jmp 0x4af57d
cmp byte [ebp - 0x19], 1
jne 0x4af476
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2fc]
mov dl, 1
call fcn.00457720
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.00457720
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00456d14
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x300]
mov edx, 0xfffff448
call fcn.00456f70
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x304]
xor edx, edx
call fcn.00457720
jmp 0x4af57d
cmp byte [ebp - 0x19], 0
jne 0x4af4c9
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.00457720
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.00457720
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x300]
mov dl, 5
call fcn.00456d14
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x304]
xor edx, edx
call fcn.00457720
jmp 0x4af57d
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.00457720
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2f0]
mov dl, 1
call fcn.00457720
cmp dword [ebp - 8], 0
je 0x4af524
mov al, byte [0x4af820]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4af82c
mov edx, 0x4af838
mov eax, dword [ebp - 8]
call fcn.0040da60
mov edx, dword [ebp - 0x34]
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2f0]
call fcn.00457830
jmp 0x4af544
lea edx, [ebp - 0x38]
mov eax, 0xf
call fcn.004ac210
mov edx, dword [ebp - 0x38]
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2f0]
call fcn.00457830
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x300]
xor edx, edx
call fcn.00456d14
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x300]
mov edx, 0xfffff448
call fcn.00456f70
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x304]
xor edx, edx
call fcn.00457720
mov eax, dword [0x541944]
mov eax, dword [eax]
xor edx, edx
call fcn.0047310c
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 [0x54439c]
call fcn.0045deb8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4af6fc
lea ecx, [ebp - 0x3c]
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x300]
mov edx, 0xd3
call fcn.004a82f4
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x44]
mov eax, 0x63
call fcn.004ab980
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.00404e90
mov edx, dword [ebp - 0x40]
pop eax
call fcn.00404fc8
je 0x4af66c
mov dword [ebp - 0x18], 3
xor eax, eax
push ebp
push 0x4af653
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x4c]
mov eax, 0x63
call fcn.004ab980
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.00404e90
mov edx, dword [ebp - 0x48]
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x300]
call fcn.004ab684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af66c
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2f4]
xor edx, edx
call fcn.00457720
mov eax, dword [0x54439c]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.00457720
mov eax, dword [0x54439c]
call fcn.00457a60
mov eax, dword [0x541944]
mov eax, dword [eax]
xor edx, edx
call fcn.0047310c
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 [0x54439c]
call fcn.0045deb8
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.004d938c
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 0x4af786
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