Function at 0x43f2a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x724
mov eax, dword [0x4ed018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xf4]
push edi
push 0x64
push 0
push eax
call fcn.00411960
push 0x20a
lea eax, [ebp - 0x300]
push 0
push eax
call fcn.00411960
push 0x64
xor edi, edi
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.00411960
add esp, 0x24
mov dword [ebp - 0x710], 0x32
test ebx, ebx
jne 0x43f323
push str.state
push str.QueryIntelTeamingStateReg:__s_failed_n
push 1
call fcn.00446b80
add esp, 0xc
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], 0x855c
je 0x43f333
push str.stateSize__sizeof_state
jmp 0x43f302
mov eax, dword [ebx + 8]
test eax, eax
jg 0x43f341
push str.state__numAdapters___0
jmp 0x43f302
cmp eax, 0x40
jle 0x43f34d
push str.state__numAdapters___VNET_BRSTATE_NUM_ADAPTERS
jmp 0x43f302
push 0x32
lea eax, [ebp - 0xf4]
push eax
push 0x4bdf2c
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x43f386
push str.cant_convert_guid_to_string
push 1
call fcn.00446b80
add esp, 8
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0xf4]
push eax
push str.SYSTEMCurrentControlSetControlClass_s
lea eax, [ebp - 0x300]
push 0x105
push eax
call fcn.00419510
add esp, 0x10
lea eax, [ebp - 0x708]
push eax
push 9
push 0
lea eax, [ebp - 0x300]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x43f3f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.QueryIntelTeamingStateReg:_couldnt_open_net_class_adapter:_0x_08x_0x_08x
push 1
call fcn.00446b80
add esp, 0x10
xor eax, eax
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x724]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x710]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push dword [ebp - 0x708]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43f744
nop word [eax + eax]
push 0x400
lea eax, [ebp - 0x700]
inc edi
push 0
push eax
mov dword [ebp - 0x714], edi
call fcn.00411960
add esp, 0xc
mov dword [ebp - 0x71c], 0x400
lea eax, [ebp - 0x704]
mov dword [ebp - 0x710], 0x32
push eax
push 1
push 0
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x708]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x43f4a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x90]
push ecx
push eax
push esi
push str.QueryIntelTeamingStateReg:_could_not_open_adapter_key:_0x_08x_0x_08x__S
push 1
call fcn.00446b80
add esp, 0x14
jmp 0x43f714
push str.Intel
push str.ProviderName
push dword [ebp - 0x704]
call fcn.004400f0
add esp, 0xc
test eax, eax
jne 0x43f4d8
push str.QueryIntelTeamingStateReg:_Provider_isnt_Intel
push 4
call fcn.00446b80
add esp, 8
jmp 0x43f708
push str.QueryIntelTeamingStateReg:_Provider_is_Intel
push 0x10
call fcn.00446b80
push str.iansminiport
push str.ComponentId
push dword [ebp - 0x704]
call fcn.004400f0
add esp, 0x14
test eax, eax
jne 0x43f54c
push str.iansminiport
push str.MatchingDeviceId
push dword [ebp - 0x704]
call fcn.004400f0
add esp, 0xc
test eax, eax
jne 0x43f54c
push str.Intel_R__Advanced_Network_Services_Virtual_Adapter
push str.DriverDesc
push dword [ebp - 0x704]
call fcn.004400f0
add esp, 0xc
test eax, eax
jne 0x43f54c
push str.QueryIntelTeamingStateReg:_Intel_device_isnt_NCS_miniport
push 4
call fcn.00446b80
add esp, 8
jmp 0x43f708
push str.QueryIntelTeamingStateReg:_device_is_NCS_miniport
push 0x10
call fcn.00446b80
add esp, 8
mov dword [ebp - 0x718], 0x28
lea eax, [ebp - 0x718]
mov dword [ebp - 0x70c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
push eax
lea eax, [ebp - 0x2c]
movq qword [ebp - 0xc], xmm0
push eax
lea eax, [ebp - 0x70c]
push eax
push 0
push str.ReceiveLoadBalancing
push dword [ebp - 0x704]
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x43f6eb
cmp dword [ebp - 0x70c], 1
jne 0x43f6eb
mov ecx, 0x4c2d04
lea eax, [ebp - 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43f5e9
test dx, dx
je 0x43f5e5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43f5e9
add eax, 4
add ecx, 4
test dx, dx
jne 0x43f5c3
xor eax, eax
jmp 0x43f5ee
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43f606
push str.QueryIntelTeamingStateReg:_RLB_isnt_in_use
push 0x20
call fcn.00446b80
add esp, 8
jmp 0x43f708
push str.QueryIntelTeamingStateReg:_RLB_is_in_use
push 0x20
call fcn.00446b80
add esp, 8
lea eax, [ebp - 0x71c]
push eax
lea eax, [ebp - 0x700]
push eax
push 0
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x704]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x43f65a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.QueryIntelTeamingStateReg:_couldnt_query_instance_ID_for_adapter:_0x_08x_0x_08x
push 4
call fcn.00446b80
add esp, 0x10
jmp 0x43f708
push dword [ebp - 0x704]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor esi, esi
mov word [ebp - 0x302], ax
mov eax, dword [ebx + 8]
test eax, eax
jle 0x43f6c9
lea edi, [ebx + 0x68]
nop dword [eax + eax]
lea eax, [ebp - 0x700]
push eax
push edi
call fcn.0049595e
add esp, 8
test eax, eax
jne 0x43f6a2
inc esi
add edi, 0x214
cmp esi, dword [ebx + 8]
jl 0x43f680
jmp 0x43f6cd
push esi
push str.QueryIntelTeamingStateReg:_found_match_for_registry_and_state:_offset__d
push 0x10
call fcn.00446b80
mov edi, dword [ebp - 0x714]
add esp, 0xc
imul eax, esi, 0x214
or dword [eax + ebx + 0x64], 0x180
mov eax, dword [ebx + 8]
cmp esi, eax
jl 0x43f714
lea eax, [ebp - 0x700]
push eax
push str.QueryIntelTeamingStateReg:_didnt_find_intel_match_for__S
push 1
call fcn.00446b80
mov edi, dword [ebp - 0x714]
add esp, 0xc
jmp 0x43f714
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x70c]
push eax
push esi
push str.QueryIntelTeamingStateReg:_Error_reading_RLB:_0x_08x_0x_08x_0x_08x
push 4
call fcn.00446b80
add esp, 0x14
push dword [ebp - 0x704]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x724]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x710]
push eax
lea eax, [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x708]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43f430
push dword [ebp - 0x708]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00401bd5
mov esp, ebp
pop ebp
ret