Function at 0x472660
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
mov ebp, ecx
push edi
push 0
push 0
push 0x130b
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xfffffffffffffff0
push dword [esi + 0x18]
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0x1c]
mov ecx, eax
shr eax, 0x1c
shr ecx, 0x1b
not al
and eax, 0xffffff01
and cl, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne bl
test eax, eax
je 0x4726cc
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x14], 1
test eax, eax
je 0x4726d1
mov byte [esp + 0x14], 0
cmp byte [esp + 0x18], 0
jne 0x47274e
cmp byte [esp + 0x1c], 0
jne 0x47274e
cmp byte [esp + 0x64], 0
je 0x4726ea
xor bl, bl
jmp 0x472750
test bl, bl
je 0x47274e
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
test edi, edi
je 0x47274e
mov ebx, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push edi
call ebx
lea esi, [eax - 3]
cmp esi, dword [ebp + 0x5c]
jb 0x472723
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x47271e
push edi
call ebx
lea esi, [eax - 3]
cmp esi, dword [ebp + 0x5c]
jae 0x47274a
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x18], edi
jne 0x47274a
cmp esi, 0x2af8
je 0x47274a
mov esi, dword [esp + 0x60]
test eax, eax
je 0x47274e
mov al, byte [eax + 0x32]
cmp al, byte [esi + 0x33]
jne 0x47274e
xor bl, bl
jmp 0x472750
mov esi, dword [esp + 0x60]
mov bl, 1
lea eax, [esp + 0x48]
mov byte [esp + 0x64], bl
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
push str.ahk_dlg
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetPropW]
mov dword [esp + 0x24], eax
test eax, eax
je 0x472781
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esp + 0x14], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x38], xmm0
je 0x4727af
push 0
lea eax, [esp + 0x3c]
push eax
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_GetUpdateRect]
push 0
push 0
push 0xb
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
xor bh, bh
xor edi, edi
mov byte [esp + 0x15], bh
cmp dword [ebp + 0x5c], edi
jbe 0x47290e
mov ecx, dword [esp + 0x60]
mov eax, dword [ebp + 0x2c]
mov esi, dword [eax + edi*4]
mov al, byte [esi + 0x32]
cmp al, byte [ecx + 0x33]
jne 0x472900
movzx eax, byte [esi + 0x33]
cmp eax, dword [esp + 0x20]
sete al
cmp byte [esp + 0x18], 0
mov byte [esp + 0x17], al
jne 0x4727fb
test al, al
je 0x4727fb
test byte [esi + 0x31], 8
mov byte [esp + 0x16], 1
je 0x472800
mov byte [esp + 0x16], 0
cmp byte [esp + 0x1c], 0
jne 0x472818
test al, al
je 0x472818
test byte [esi + 0x31], 0x10
jne 0x472818
mov byte [esp + 0x13], 1
jmp 0x47281e
xor al, al
mov byte [esp + 0x13], al
push 0xfffffffffffffff0
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dl, byte [esp + 0x16]
mov ebx, eax
shr ebx, 0x1b
xor cl, cl
shr eax, 0x1c
not bl
and al, 1
and bl, 1
cmp dl, al
je 0x472854
movzx eax, dl
shl eax, 2
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov cl, 1
mov al, byte [esp + 0x13]
cmp al, bl
je 0x47286b
movzx eax, al
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x47286f
test cl, cl
je 0x4728b9
lea eax, [esp + 0x28]
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x2c]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
lea eax, [esp + 0x4c]
push dword [esp + 0x2c]
push eax
call ebx
test eax, eax
je 0x4728a9
push dword [esp + 0x34]
lea eax, [esp + 0x4c]
push dword [esp + 0x34]
push eax
call ebx
test eax, eax
jne 0x4728b5
mov al, byte [esp + 0x13]
mov bh, 1
mov byte [esp + 0x15], bh
jmp 0x4728bd
mov al, byte [esp + 0x13]
mov bh, byte [esp + 0x15]
mov bl, byte [esp + 0x64]
test bl, bl
jne case.0x4728e6.1
cmp byte [esp + 0x17], bl
je case.0x4728e6.1
cmp byte [esp + 0x16], bl
je case.0x4728e6.1
test al, al
je case.0x4728e6.1
movzx eax, byte [esi + 0x30]
dec eax
cmp eax, 0x11
ja case.0x4728e6.4
movzx eax, byte [eax + 0x4729b8]
jmp dword [eax*4 + 0x4729b0]
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetFocus]
mov bl, 1
mov byte [esp + 0x64], bl
mov ecx, dword [esp + 0x60]
inc edi
cmp edi, dword [ebp + 0x5c]
jb 0x4727c4
mov esi, dword [esp + 0x60]
cmp byte [esp + 0x14], 0
je 0x472924
push 0
push 1
push 0xb
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x47293c
cmp byte [esp + 0x18], 0
jne 0x47293c
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
jne 0x472949
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetFocus]
cmp byte [esp + 0x14], 0
je 0x4729a5
test bh, bh
je 0x47296b
push 1
push 0
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
cmp eax, dword [esp + 0x40]
je 0x472987
push 1
lea eax, [esp + 0x3c]
push eax
push dword [ebp + 0x1c]
call esi
push 2
lea eax, [esp + 0x4c]
push eax
push dword [ebp + 0x1c]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x4c]
push eax
push dword [ebp + 0x1c]
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8