Function at 0x498a50
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
mov ebp, ecx
push 0
push 0
push 0x130b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xfffffffffffffff0
push dword [edi]
mov ecx, eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 4]
mov ebx, eax
shr eax, 0x1b
shr ebx, 0x1c
and al, 1
not bl
mov dword [esp + 0x20], eax
and ebx, 0xffffff01
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, eax
test esi, esi
je 0x498ab9
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x15], 1
test eax, eax
je 0x498abe
mov byte [esp + 0x15], 0
test bl, bl
jne 0x498b35
cmp byte [esp + 0x1c], bl
jne 0x498b35
cmp byte [esp + 0x6c], bl
jne 0x498b37
test esi, esi
je 0x498b35
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
test edi, edi
je 0x498b31
mov ebx, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push edi
call ebx
lea esi, [eax - 3]
cmp esi, dword [ebp + 0x10]
jb 0x498b07
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x498b02
push edi
call ebx
lea esi, [eax - 3]
cmp esi, dword [ebp + 0x10]
jae 0x498b31
mov eax, dword [ebp + 0x18]
mov ecx, esi
shl ecx, 6
add eax, ecx
cmp dword [eax], edi
jne 0x498b31
cmp esi, 0x2af8
je 0x498b31
mov edi, dword [esp + 0x68]
test eax, eax
je 0x498b35
mov al, byte [eax + 6]
cmp al, byte [edi + 7]
jne 0x498b35
xor bl, bl
jmp 0x498b37
mov edi, dword [esp + 0x68]
mov bl, 1
lea eax, [esp + 0x50]
mov byte [esp + 0x6c], bl
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push str.ahk_dlg
push dword [edi]
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
je 0x498b68
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esp + 0x15], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x40], xmm0
je 0x498b96
push 0
lea eax, [esp + 0x44]
push eax
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_GetUpdateRect]
push 0
push 0
push 0xb
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor bh, bh
mov dword [esp + 0x20], 0
cmp dword [ebp + 0x10], 0
mov byte [esp + 0x16], bh
jbe 0x498d04
xor esi, esi
mov dword [esp + 0x24], esi
add esi, dword [ebp + 0x18]
mov al, byte [esi + 6]
cmp al, byte [edi + 7]
jne 0x498ce3
cmp byte [esp + 0x28], 0
movzx edi, byte [esi + 7]
mov eax, dword [esp + 0x18]
jne 0x498be1
cmp edi, eax
jne 0x498be1
test byte [esi + 5], 8
mov byte [esp + 0x17], 1
je 0x498be6
mov byte [esp + 0x17], 0
cmp byte [esp + 0x1c], 0
jne 0x498bfe
cmp edi, eax
jne 0x498bfe
test byte [esi + 5], 0x10
jne 0x498bfe
mov byte [esp + 0x14], 1
jmp 0x498c04
xor al, al
mov byte [esp + 0x14], al
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dl, byte [esp + 0x17]
mov ebx, eax
shr ebx, 0x1b
xor cl, cl
shr eax, 0x1c
not bl
and al, 1
and bl, 1
cmp dl, al
je 0x498c38
movzx eax, dl
shl eax, 2
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov cl, 1
mov al, byte [esp + 0x14]
cmp al, bl
je 0x498c4e
movzx eax, al
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x498c52
test cl, cl
je 0x498c9b
lea eax, [esp + 0x30]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x34]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
lea eax, [esp + 0x54]
push dword [esp + 0x34]
push eax
call ebx
test eax, eax
je 0x498c8b
push dword [esp + 0x3c]
lea eax, [esp + 0x54]
push dword [esp + 0x3c]
push eax
call ebx
test eax, eax
jne 0x498c97
mov al, byte [esp + 0x14]
mov bh, 1
mov byte [esp + 0x16], bh
jmp 0x498c9f
mov al, byte [esp + 0x14]
mov bh, byte [esp + 0x16]
mov bl, byte [esp + 0x6c]
test bl, bl
jne case.0x498cca.1
mov ecx, dword [esp + 0x18]
cmp edi, ecx
jne case.0x498cca.1
cmp byte [esp + 0x17], bl
je case.0x498cca.1
test al, al
je case.0x498cca.1
movzx eax, byte [esi + 4]
dec eax
cmp eax, 0x11
ja case.0x498cca.4
movzx eax, byte [eax + 0x498da8]
jmp dword [eax*4 + 0x498da0]
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov bl, 1
mov byte [esp + 0x6c], bl
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
inc eax
add esi, 0x40
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
cmp eax, dword [ebp + 0x10]
jb 0x498bb4
mov esi, dword [esp + 0x2c]
cmp byte [esp + 0x15], 0
je 0x498d1a
push 0
push 1
push 0xb
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je 0x498d2e
cmp byte [esp + 0x28], 0
jne 0x498d2e
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
jne 0x498d3a
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
cmp byte [esp + 0x15], 0
je 0x498d96
test bh, bh
je 0x498d5c
push 1
push 0
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
cmp eax, dword [esp + 0x48]
je 0x498d78
push 1
lea eax, [esp + 0x44]
push eax
push dword [ebp + 4]
call esi
push 2
lea eax, [esp + 0x54]
push eax
push dword [ebp + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x54]
push eax
push dword [ebp + 4]
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8