Function at 0x467330
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, dword [esp + 0x54]
push edi
push 0
push 0
push 0x130b
push dword [esi]
mov edi, ecx
call ebp
push 0xfffffffffffffff0
push dword [esi]
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi + 4]
mov ecx, eax
shr eax, 0x1c
shr ecx, 0x1b
not al
and eax, 0xffffff01
and cl, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne bl
test eax, eax
je 0x46739b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x46739b
mov bh, 1
jmp 0x46739d
xor bh, bh
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x19], bh
jne 0x4673e0
cmp byte [esp + 0x20], 0
jne 0x4673e0
cmp byte [esp + 0x5c], 0
je 0x4673ba
xor bl, bl
jmp 0x4673e2
test bl, bl
je 0x4673e0
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x4673e0
push eax
mov ecx, edi
call fcn.00401da0
test eax, eax
je 0x4673e0
mov al, byte [eax + 6]
cmp al, byte [esi + 7]
jne 0x4673e0
xor bl, bl
jmp 0x4673e2
mov bl, 1
lea eax, [esp + 0x40]
mov byte [esp + 0x5c], bl
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x4c7f80
push dword [esi]
call dword [sym.imp.USER32.dll_GetPropW]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x467411
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bh, bh
je 0x467420
push 0
push 0
push 0xb
push dword [edi + 4]
call ebp
xor ebp, ebp
mov byte [esp + 0x1a], 0
cmp dword [edi + 0x10], ebp
jbe 0x467586
mov ecx, dword [esp + 0x58]
xor esi, esi
mov dword [esp + 0x24], esi
nop word [eax + eax]
add esi, dword [edi + 0x18]
mov al, byte [esi + 6]
cmp al, byte [ecx + 7]
jne 0x467569
movzx eax, byte [esi + 7]
cmp eax, dword [esp + 0x28]
sete al
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x1b], al
jne 0x467474
test al, al
je 0x467474
test byte [esi + 5], 8
mov byte [esp + 0x18], 1
je 0x467479
mov byte [esp + 0x18], 0
cmp byte [esp + 0x20], 0
jne 0x467491
test al, al
je 0x467491
test byte [esi + 5], 0x10
jne 0x467491
mov byte [esp + 0x17], 1
jmp 0x467497
xor al, al
mov byte [esp + 0x17], al
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dl, byte [esp + 0x18]
mov ebx, eax
shr ebx, 0x1b
xor cl, cl
shr eax, 0x1c
not bl
and al, 1
and bl, 1
cmp dl, al
je 0x4674cb
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 + 0x17]
cmp al, bl
je 0x4674e1
movzx eax, al
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4674e5
test cl, cl
je 0x467527
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 + 0x44]
push dword [esp + 0x34]
push eax
call ebx
test eax, eax
je 0x46751e
push dword [esp + 0x3c]
lea eax, [esp + 0x44]
push dword [esp + 0x3c]
push eax
call ebx
test eax, eax
jne 0x467523
mov byte [esp + 0x1a], 1
mov al, byte [esp + 0x17]
mov bl, byte [esp + 0x5c]
test bl, bl
jne case.0x467550.1
cmp byte [esp + 0x1b], bl
je case.0x467550.1
cmp byte [esp + 0x18], bl
je case.0x467550.1
test al, al
je case.0x467550.1
movzx eax, byte [esi + 4]
dec eax
cmp eax, 0x11
ja case.0x467550.4
movzx eax, byte [eax + 0x467614]
jmp dword [eax*4 + 0x46760c]
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov bl, 1
mov byte [esp + 0x5c], bl
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x24]
inc ebp
add esi, 0x14
mov dword [esp + 0x24], esi
cmp ebp, dword [edi + 0x10]
jb 0x467440
mov esi, dword [esp + 0x58]
mov bh, byte [esp + 0x19]
test bh, bh
je 0x467599
push 0
push 1
push 0xb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4675b1
cmp byte [esp + 0x1c], 0
jne 0x4675b1
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
jne 0x4675bd
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
test bh, bh
je 0x467600
cmp byte [esp + 0x1a], 0
mov eax, dword [edi + 4]
je 0x4675e0
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
push 2
lea ecx, [esp + 0x44]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x44]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8