Function at 0x411750
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42570b
mov eax, dword fs:[0]
push eax
mov eax, 0x4868
call fcn.00414bd0
mov eax, dword [0x439010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x4874]
push str.UninstallClassDevices
mov dword [ebp - 0x484c], ebx
call fcn.00408610
push 4
push 0
push 0
push ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x4838], 0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov edi, eax
cmp edi, 0xffffffff
je 0x411ad2
mov ecx, ebx
mov edx, 0x429f2c
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x411822
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4117d0
push 0
push str.SoftwareIntelNicExpressTeaming
lea eax, [ebp - 0x4858]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00411d20
add esp, 0x10
test eax, eax
jne 0x411822
push 1
lea eax, [ebp - 0x4858]
push str.EtCoFlags
push eax
call fcn.00411d90
lea eax, [ebp - 0x4858]
push eax
call fcn.00411d00
add esp, 0x10
lea eax, [ebp - 0x4848]
push eax
call fcn.004109e0
add esp, 4
mov dword [ebp - 0x482c], 0x1c
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x482c]
mov dword [ebp - 0x4840], esi
push eax
push ebx
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x411abe
lea esp, [esp]
mov ecx, dword [ebp - 0x484c]
inc ebx
mov edx, 0x429f2c
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41195c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x411871
push 0xf003f
push 2
push 0
push 1
lea eax, [ebp - 0x482c]
push eax
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov esi, eax
cmp esi, 0xffffffff
je 0x41195c
lea eax, [ebp - 0x4834]
mov dword [ebp - 0x4844], 0
push eax
lea eax, [ebp - 0x4844]
mov dword [ebp - 0x483c], 4
push eax
lea eax, [ebp - 0x483c]
mov dword [ebp - 0x4834], 4
push eax
push 0
push str.ExpressTeaming
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x4844], 0
je 0x411955
lea eax, [ebp - 0x4834]
mov dword [ebp - 0x4830], 0
push eax
lea eax, [ebp - 0x4830]
mov dword [ebp - 0x483c], 4
push eax
lea eax, [ebp - 0x483c]
mov dword [ebp - 0x4834], 4
push eax
push 0
push str.Characteristics
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
and dword [ebp - 0x4830], 0xffffffdf
lea eax, [ebp - 0x4830]
push 4
push eax
push 4
push 0
push str.Characteristics
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x1000
lea eax, [ebp - 0x4810]
push eax
lea eax, [ebp - 0x482c]
push eax
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
test eax, eax
je 0x411a97
push 0
push 0x1000
lea eax, [ebp - 0x2810]
push eax
lea eax, [ebp - 0x485c]
push eax
push 0
lea eax, [ebp - 0x482c]
push eax
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x411a97
lea eax, [ebp - 0x4800]
push 4
push eax
call fcn.00410940
movzx esi, ax
lea eax, [ebp - 0x47ee]
push 4
push eax
call fcn.00410940
push dword [ebp - 0x4848]
movzx eax, ax
push dword [ebp - 0x4840]
push eax
push esi
call fcn.00410860
add esp, 0x20
test eax, eax
je 0x411a97
lea eax, [ebp - 0x482c]
push eax
push edi
push 5
call dword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
cmp eax, 1
jne 0x411a0d
inc dword [ebp - 0x4838]
jmp 0x411a97
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.00413c30
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call fcn.00413c30
add esp, 0x18
lea eax, [ebp - 0x810]
push 0x200
push eax
push 0x247
push dword [0x43b648]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x2810]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x410]
push 0
push 0x43b650
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [ebp - 0x482c]
mov dword [ebp - 0x482c], 0x1c
push eax
push ebx
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x411860
mov esi, dword [ebp - 0x4840]
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
test esi, esi
je 0x411ad2
push esi
call fcn.004128d5
add esp, 4
lea ecx, [ebp - 0x4874]
mov dword [ebp - 4], 0xffffffff
call fcn.00408830
mov eax, dword [ebp - 0x4838]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413026
mov esp, ebp
pop ebp
ret