Function at 0x406750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b896
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x43f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x442b68]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x2c], xmm0
test esi, esi
jne 0x4067d2
push 0x98
call fcn.00411618
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
lea ecx, [esi + 8]
mov dword [esi], vtable.CWifiDirectController.0
call fcn.00407e10
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x90], 0
mov dword [0x442b68], esi
mov ecx, esi
call fcn.00407220
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x54], vtable.CNotifyProxyWindow.0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x34]
push dword [ebp - 0x10]
push eax
push 0x43f8a0
call fcn.00406be0
add esp, 8
movzx eax, ax
push eax
push 0
push 0x280
push 0xcf0000
push str.WifiDirectSupportWindow
push 0x43f92c
push ecx
lea ecx, [ebp - 0x54]
call fcn.00406b30
push 0
push 0
push 0x110
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4068a8
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x30]
push eax
call esi
lea eax, [ebp - 0x30]
push eax
call edi
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x406888
mov esi, dword [0x442b68]
test esi, esi
jne 0x4068ea
push 0x98
call fcn.00411618
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 8]
mov dword [esi], vtable.CWifiDirectController.0
call fcn.00407e10
mov byte [ebp - 4], 2
mov dword [esi + 0x90], 0
mov dword [0x442b68], esi
lea ecx, [esi + 8]
call fcn.00408790
mov esi, dword [esi + 0x90]
test esi, esi
je 0x40692c
mov eax, dword [esi]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x40691e
cmp word [ebp - 0x10], 0xffff
sete al
mov byte [esi + 8], al
mov al, byte [esi + 8]
test al, al
je 0x40692c
mov ecx, esi
call fcn.0040eeb0
mov esi, dword [0x442b68]
test esi, esi
jne 0x40696a
push 0x98
call fcn.00411618
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 6
lea ecx, [esi + 8]
mov dword [esi], vtable.CWifiDirectController.0
call fcn.00407e10
mov dword [esi + 0x90], 0
mov dword [0x442b68], esi
mov ecx, dword [esi + 0x90]
mov dword [esi + 0x80], 0
test ecx, ecx
je 0x4069c1
push ecx
call fcn.004072f0
mov dword [esi + 0x90], 0
cmp dword [0x442b04], 0
je 0x4069c1
push dword [0x442b00]
mov dword [0x442afc], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x442b00], 0
mov dword [0x442b04], 0
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x54], vtable.CNotifyProxyWindow.0
test eax, eax
je 0x4069d8
push eax
call fcn.00410fab
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret