Function at 0x6fd95720
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], ebx
call sym._GetWindowLongW_8
sub esp, 8
cmp esi, 0x4e
je 0x6fd95840
xor edi, edi
cmp esi, 0x110
jne 0x6fd95830
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], 0
mov esi, dword [eax + 0x1c]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], ebx
mov dword [esp + 8], esi
call sym._SetWindowLongW_12
sub esp, 0xc
mov dword [esp], ebx
call sym._GetParent_4
sub esp, 4
call sym._CenterWindow
mov dword [esp], ebx
call sym._GetParent_4
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [ebp - 0x24], eax
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov edx, dword [ebp - 0x24]
sub esp, 8
mov dword [esp], edx
mov dword [esp + 4], 0
call sym._EnableWindow_8
sub esp, 8
mov dword [esp + 0x10], 1
mov eax, dword [esi]
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x7db
mov dword [esp], ebx
call sym._SendDlgItemMessageW_20
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x14]
sub esp, 0x14
call sym._CanDisableDevice.constprop.8
mov dword [esp + 4], 0x7d3
mov esi, dword [ebp - 0x14]
mov dword [esp], ebx
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._EnableWindow_8
sub esp, 8
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edi, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
cmp eax, 0xffffff32
je 0x6fd958e0
cmp eax, 0xffffff38
je 0x6fd958a4
cmp eax, 0xffffff30
je 0x6fd95870
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [edi + 0x30]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
lea esi, [edi + 0x1c]
call sym._CanDisableDevice.constprop.8
test eax, eax
je 0x6fd95894
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x6fd95960
mov eax, dword [edi + 0x18]
xor ecx, ecx
mov edx, esi
xor edi, edi
call sym._SetFailedInstall
jmp 0x6fd95863
mov dword [esp], ebx
xor edi, edi
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 5
mov dword [esp + 8], 0
mov dword [esp + 4], 0x470
mov dword [esp], eax
call sym._PostMessageW_16
sub esp, 0x10
jmp 0x6fd95830
mov dword [esp], ebx
mov edi, 1
call sym._GetParent_4
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov esi, eax
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._EnableWindow_8
sub esp, 8
mov dword [esp], ebx
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 0xc9
mov dword [esp + 8], 0
mov dword [esp + 4], 0x472
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x6fd95830
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [edi + 0x30]
mov dword [esp + 8], eax
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.setupapi.dll_CM_Get_DevNode_Status_Ex]
sub esp, 0x14
test eax, eax
jne 0x6fd95894
test byte [ebp - 0x18], 8
jne 0x6fd95894
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf0
mov dword [esp + 4], 0x7d3
mov dword [esp], ebx
call sym._SendDlgItemMessageW_20
sub esp, 0x14
cmp eax, 1
jne 0x6fd95894
mov eax, dword [edi + 0x18]
mov edx, esi
xor edi, edi
call sym._StartDevice.constprop.6
jmp 0x6fd95863