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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x728
mov eax, dword [0x4e7018]
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.0040f160
push 0x20a
lea eax, [ebp - 0x300]
push 0
push eax
call fcn.0040f160
push 0x64
xor edi, edi
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.0040f160
add esp, 0x24
mov dword [ebp - 0x70c], 0x32
test ebx, ebx
jne 0x43c2c3
push str.state
push str.QueryIntelTeamingStateReg:__s_failed_n
push 1
call fcn.004439a0
add esp, 0xc
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bf1
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], 0x855c
je 0x43c2d3
push str.stateSize__sizeof_state
jmp 0x43c2a2
mov eax, dword [ebx + 8]
test eax, eax
jg 0x43c2e1
push str.state__numAdapters___0
jmp 0x43c2a2
cmp eax, 0x40
jle 0x43c2ed
push str.state__numAdapters___VNET_BRSTATE_NUM_ADAPTERS
jmp 0x43c2a2
push 0x32
lea eax, [ebp - 0xf4]
push eax
push 0x4b6574
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x43c326
push str.cant_convert_guid_to_string
push 1
call fcn.004439a0
add esp, 8
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bf1
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.004159a0
add esp, 0x10
lea eax, [ebp - 0x724]
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 0x43c394
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.004439a0
add esp, 0x10
xor eax, eax
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bf1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x71c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x70c]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push dword [ebp - 0x724]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43c6dc
nop word [eax + eax]
push 0x400
lea eax, [ebp - 0x704]
inc edi
push 0
push eax
mov dword [ebp - 0x728], edi
call fcn.0040f160
add esp, 0xc
mov dword [ebp - 0x714], 0x400
lea eax, [ebp - 0x720]
mov dword [ebp - 0x70c], 0x32
push eax
push 1
push 0
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x724]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x43c448
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.004439a0
add esp, 0x14
jmp 0x43c6ac
push str.Intel
push str.ProviderName
push dword [ebp - 0x720]
call fcn.0043ce50
add esp, 0xc
test eax, eax
jne 0x43c478
push str.QueryIntelTeamingStateReg:_Provider_isnt_Intel
push 4
call fcn.004439a0
add esp, 8
jmp 0x43c6a0
push str.QueryIntelTeamingStateReg:_Provider_is_Intel
push 0x10
call fcn.004439a0
push str.iansminiport
push str.ComponentId
push dword [ebp - 0x720]
call fcn.0043ce50
add esp, 0x14
test eax, eax
jne 0x43c4ec
push str.iansminiport
push str.MatchingDeviceId
push dword [ebp - 0x720]
call fcn.0043ce50
add esp, 0xc
test eax, eax
jne 0x43c4ec
push str.Intel_R__Advanced_Network_Services_Virtual_Adapter
push str.DriverDesc
push dword [ebp - 0x720]
call fcn.0043ce50
add esp, 0xc
test eax, eax
jne 0x43c4ec
push str.QueryIntelTeamingStateReg:_Intel_device_isnt_NCS_miniport
push 4
call fcn.004439a0
add esp, 8
jmp 0x43c6a0
push str.QueryIntelTeamingStateReg:_device_is_NCS_miniport
push 0x10
call fcn.004439a0
add esp, 8
mov dword [ebp - 0x710], 0x28
lea eax, [ebp - 0x710]
mov dword [ebp - 0x708], 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 - 0x708]
push eax
push 0
push str.ReceiveLoadBalancing
push dword [ebp - 0x720]
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x43c683
cmp dword [ebp - 0x708], 1
jne 0x43c683
mov ecx, 0x4bb3ac
lea eax, [ebp - 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43c589
test dx, dx
je 0x43c585
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43c589
add eax, 4
add ecx, 4
test dx, dx
jne 0x43c563
xor eax, eax
jmp 0x43c58e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43c5a6
push str.QueryIntelTeamingStateReg:_RLB_isnt_in_use
push 0x20
call fcn.004439a0
add esp, 8
jmp 0x43c6a0
push str.QueryIntelTeamingStateReg:_RLB_is_in_use
push 0x20
call fcn.004439a0
add esp, 8
lea eax, [ebp - 0x714]
push eax
lea eax, [ebp - 0x704]
push eax
push 0
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x720]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x43c5fa
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.004439a0
add esp, 0x10
jmp 0x43c6a0
push dword [ebp - 0x720]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor esi, esi
mov word [ebp - 0x306], ax
cmp dword [ebx + 8], eax
jle 0x43c666
lea edi, [ebx + 0x68]
nop dword [eax]
lea eax, [ebp - 0x704]
push eax
push edi
call fcn.0048d839
add esp, 8
test eax, eax
jne 0x43c642
inc esi
add edi, 0x214
cmp esi, dword [ebx + 8]
jl 0x43c620
jmp 0x43c660
push esi
push str.QueryIntelTeamingStateReg:_found_match_for_registry_and_state:_offset__d
push 0x10
call fcn.004439a0
imul eax, esi, 0x214
add esp, 0xc
or dword [eax + ebx + 0x64], 0x180
mov edi, dword [ebp - 0x728]
cmp esi, dword [ebx + 8]
jl 0x43c6ac
lea eax, [ebp - 0x704]
push eax
push str.QueryIntelTeamingStateReg:_didnt_find_intel_match_for__S
push 1
call fcn.004439a0
add esp, 0xc
jmp 0x43c6ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x708]
push eax
push esi
push str.QueryIntelTeamingStateReg:_Error_reading_RLB:_0x_08x_0x_08x_0x_08x
push 4
call fcn.004439a0
add esp, 0x14
push dword [ebp - 0x720]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x71c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x70c]
push eax
lea eax, [ebp - 0x90]
push eax
push edi
push dword [ebp - 0x724]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43c3d0
push dword [ebp - 0x724]
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.00401bf1
mov esp, ebp
pop ebp
ret