Function at 0x40a48b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ee28
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ad658]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
movsx edi, ax
shr eax, 0x10
movsx ebx, ax
push ebx
push edi
lea eax, [esi + 0x1d0]
push eax
mov dword [ebp - 0x30], ebx
call dword [sym.imp.USER32.dll_PtInRect]
mov dword [esi + 0x1f0], 0
test eax, eax
je 0x40a032
mov ecx, dword [esi + 4]
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x1f4], 3
jge 0x40a104
push ebx
push edi
lea edx, [esi + 0x1e0]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a0fa
mov eax, 1
mov dword [esi + 0x1f4], eax
cmp dword [esi + 0x11c], eax
jne 0x40a076
cmp dword [esi + 0x120], 0
je 0x40a104
mov eax, dword [esi + 0x120]
cmp eax, 2
je 0x40a08b
cmp eax, 3
je 0x40a08b
cmp eax, 4
jne 0x40a0e8
push 4
push str.exit
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00412da0
lea ecx, [ebp - 0x2c]
mov ebx, esi
mov dword [ebp - 4], 0
call fcn.00404e20
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x40a0d6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00464d3e
add esp, 4
mov ebx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov ecx, dword [esi + 4]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40a104
mov dword [esi + 0x1f4], 0
cmp dword [esi + 0x11c], 1
jne case.0x40a121.5
mov eax, dword [esi + 0x120]
dec eax
cmp eax, 9
ja case.0x40a121.5
jmp dword [eax*4 + 0x40a6c0]
push ebx
push edi
lea edx, [esi + 0x400]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je case.0x40a121.5
mov eax, dword [esi + 4]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x40a121.5
push ebx
push edi
lea ecx, [esi + 0x420]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a184
cmp byte [esi + 0x5ec], 0
sete al
xor edx, edx
test al, al
setne dl
mov byte [esi + 0x5ec], al
mov dword [esi + 0x5dc], edx
cmp byte [esi + 0x5ec], 0
je 0x40a1af
cmp byte [esi + 0x5f0], 0
je 0x40a1af
push ebx
push edi
lea eax, [esi + 0x410]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a1af
push esi
call fcn.0040b1b0
push ebx
push edi
lea ecx, [esi + 0x430]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a1f7
mov edx, dword [esi + 0x278]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 2
push 0x190
push 0x23a
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x120], 4
push ebx
push edi
lea ecx, [esi + 0x440]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je case.0x40a121.5
mov edx, dword [esi + 0x274]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 2
push 0x190
push 0x23a
push 0
push 0
push 0
push eax
jmp 0x40a476
push ebx
push edi
lea ecx, [esi + 0x420]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a268
cmp byte [esi + 0x5ec], 0
sete al
xor edx, edx
test al, al
setne dl
mov byte [esi + 0x5ec], al
mov dword [esi + 0x5dc], edx
cmp byte [esi + 0x5ec], 0
je 0x40a293
cmp byte [esi + 0x5f0], 0
je 0x40a293
push ebx
push edi
lea eax, [esi + 0x410]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a293
push esi
call fcn.0040b1b0
push ebx
push edi
lea ecx, [esi + 0x460]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a2c3
cmp byte [esi + 0x5ed], 0
sete al
xor edx, edx
test al, al
setne dl
mov byte [esi + 0x5ed], al
mov dword [esi + 0x5e4], edx
push ebx
push edi
lea eax, [esi + 0x470]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a2f3
cmp byte [esi + 0x5ee], 0
sete al
xor ecx, ecx
test al, al
setne cl
mov byte [esi + 0x5ee], al
mov dword [esi + 0x5e8], ecx
push ebx
push edi
lea edx, [esi + 0x450]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a30d
mov ecx, esi
call fcn.0040ad80
push ebx
push edi
lea eax, [esi + 0x430]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a355
mov ecx, dword [esi + 0x278]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 2
push 0x190
push 0x23a
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x120], 4
push ebx
push edi
lea eax, [esi + 0x440]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je case.0x40a121.5
mov ecx, dword [esi + 0x274]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 2
push 0x122
push 0x23a
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x120], 2
jmp case.0x40a121.5
push ebx
push edi
lea eax, [esi + 0x420]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a3d6
cmp byte [esi + 0x5ec], 0
sete al
xor ecx, ecx
test al, al
setne cl
mov byte [esi + 0x5ec], al
mov dword [esi + 0x5dc], ecx
cmp byte [esi + 0x5ec], 0
je 0x40a401
cmp byte [esi + 0x5f0], 0
je 0x40a401
push ebx
push edi
lea edx, [esi + 0x410]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a401
push esi
call fcn.0040b1b0
push ebx
push edi
lea eax, [esi + 0x430]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a43a
mov ecx, dword [esi + 4]
push 2
push 0x122
push 0x23a
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x120], 2
push ebx
push edi
lea edx, [esi + 0x440]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je case.0x40a121.5
mov eax, dword [esi + 0x274]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 2
push 0x190
push 0x23a
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x120], 3
jmp case.0x40a121.5
push ebx
push edi
lea edx, [esi + 0x420]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a4bb
cmp byte [esi + 0x5ec], 0
sete al
xor ecx, ecx
test al, al
setne cl
mov byte [esi + 0x5ec], al
mov dword [esi + 0x5dc], ecx
push ebx
push edi
lea edx, [esi + 0x430]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a503
mov eax, dword [esi + 0x278]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 2
push 0x122
push 0x23a
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x120], 5
push ebx
push edi
lea edx, [esi + 0x440]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je case.0x40a121.5
mov eax, dword [esi + 0x274]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 2
push 0x190
push 0x23a
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x120], 6
jmp case.0x40a121.5
push ebx
push edi
lea edx, [esi + 0x420]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a584
cmp byte [esi + 0x5ec], 0
sete al
xor ecx, ecx
test al, al
setne cl
mov byte [esi + 0x5ec], al
mov dword [esi + 0x5dc], ecx
push ebx
push edi
lea edx, [esi + 0x460]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a5b4
cmp byte [esi + 0x5ed], 0
sete al
xor ecx, ecx
test al, al
setne cl
mov byte [esi + 0x5ed], al
mov dword [esi + 0x5e4], ecx
push ebx
push edi
lea edx, [esi + 0x470]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a5e4
cmp byte [esi + 0x5ee], 0
sete al
xor ecx, ecx
test al, al
setne cl
mov byte [esi + 0x5ee], al
mov dword [esi + 0x5e8], ecx
push ebx
push edi
lea edx, [esi + 0x450]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a5fe
mov ecx, esi
call fcn.0040ad80
push ebx
push edi
lea eax, [esi + 0x430]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a646
mov ecx, dword [esi + 0x278]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 2
push 0x190
push 0x23a
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x120], 7
push ebx
push edi
lea eax, [esi + 0x440]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je case.0x40a121.5
mov ecx, dword [esi + 0x274]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 2
push 0x122
push 0x23a
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esi + 0x120], 5
mov eax, dword [esi + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464d49
mov esp, ebp
pop ebp
ret 4