Function at 0x4688e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x38
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, dword [esp + 0x48]
mov eax, dword [esi]
push 0
push 0
push 0x130b
push eax
call ebp
mov ecx, dword [esi]
push 0xfffffffffffffff0
push ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, eax
shr eax, 0x1b
shr edx, 0x1c
and al, 1
not dl
mov byte [esp + 0x11], al
mov eax, dword [edi + 4]
and dl, 1
push eax
mov byte [esp + 0x14], dl
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne bl
test bl, bl
je 0x46894a
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0xd], 1
test eax, eax
je 0x46894f
mov byte [esp + 0xd], 0
cmp byte [esp + 0x10], 0
jne 0x468991
cmp byte [esp + 0x11], 0
jne 0x468991
cmp byte [esp + 0x4c], 0
je 0x46896b
mov byte [esp + 0x4c], 0
jmp 0x468996
test bl, bl
je 0x468991
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x468991
mov ebx, edi
call fcn.004012e0
test eax, eax
je 0x468991
mov dl, byte [eax + 6]
mov byte [esp + 0x4c], 0
cmp dl, byte [esi + 7]
je 0x468996
mov byte [esp + 0x4c], 1
mov ecx, dword [esi]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push 0x4bd250
push edx
call dword [sym.imp.USER32.dll_GetPropW]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4689c5
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esp + 0xd], 0
je 0x4689d8
mov eax, dword [edi + 4]
push 0
push 0
push 0xb
push eax
call ebp
xor ebp, ebp
mov byte [esp + 0x12], 0
cmp dword [edi + 0x10], ebp
jbe 0x468b44
xor esi, esi
mov dword [esp + 0x14], esi
mov edi, edi
add esi, dword [edi + 0x18]
mov eax, dword [esp + 0x48]
mov dl, byte [esi + 6]
cmp dl, byte [eax + 7]
jne case.0x468b12.1
movzx ecx, byte [esi + 7]
cmp ecx, dword [esp + 0x18]
sete al
cmp byte [esp + 0x10], 0
mov byte [esp + 0x13], al
jne 0x468a28
test al, al
je 0x468a28
test byte [esi + 5], 8
mov byte [esp + 0xe], 1
je 0x468a2d
mov byte [esp + 0xe], 0
cmp byte [esp + 0x11], 0
jne 0x468a43
test al, al
je 0x468a43
test byte [esi + 5], 0x10
mov byte [esp + 0xf], 1
je 0x468a48
mov byte [esp + 0xf], 0
mov edx, dword [esi]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
shr ecx, 0x1b
not cl
mov edx, eax
mov al, byte [esp + 0xe]
and cl, 1
shr edx, 0x1c
mov bl, cl
and dl, 1
xor cl, cl
cmp al, dl
je 0x468a87
mov ecx, dword [esi]
movzx eax, al
neg eax
sbb eax, eax
and eax, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov cl, 1
mov al, byte [esp + 0xf]
cmp al, bl
je 0x468a9e
movzx edx, al
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x468aa2
test cl, cl
je 0x468ae5
mov edx, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call ebx
test eax, eax
je 0x468ae0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call ebx
test eax, eax
jne 0x468ae5
mov byte [esp + 0x12], 1
cmp byte [esp + 0x4c], 0
jne case.0x468b12.1
cmp byte [esp + 0x13], 0
je case.0x468b12.1
cmp byte [esp + 0xe], 0
je case.0x468b12.1
cmp byte [esp + 0xf], 0
je case.0x468b12.1
movzx eax, byte [esi + 4]
dec eax
cmp eax, 0x11
ja case.0x468b12.4
movzx eax, byte [eax + 0x468bdc]
jmp dword [eax*4 + 0x468bd4]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [esp + 0x4c], 1
mov esi, dword [esp + 0x14]
inc ebp
add esi, 0x14
mov dword [esp + 0x14], esi
cmp ebp, dword [edi + 0x10]
jb 0x4689f0
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x1c]
cmp byte [esp + 0xd], 0
je 0x468b5b
mov edx, dword [edi + 4]
push 0
push 1
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
je 0x468b6f
cmp byte [esp + 0x10], 0
jne 0x468b6f
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esp + 0x4c], 0
jne 0x468b7f
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp byte [esp + 0xd], 0
je 0x468bc8
cmp byte [esp + 0x12], 0
je 0x468ba4
mov ecx, dword [edi + 4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
mov eax, dword [edi + 4]
push 2
lea edx, [esp + 0x34]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [edi + 4]
push 1
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8