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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x700
mov eax, dword [0x4ed018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xcc]
push edi
push 0x64
push 0
push eax
call fcn.00411960
push 0x20a
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.00411960
push 0x64
xor edi, edi
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.00411960
add esp, 0x24
mov dword [ebp - 0x6e8], 0x32
test ebx, ebx
jne 0x43eb00
push str.state
push str.QueryBroadcomTeamingStateReg:__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 0x43eb10
push str.stateSize__sizeof_state
jmp 0x43eadf
mov eax, dword [ebx + 8]
test eax, eax
jg 0x43eb1e
push str.state__numAdapters___0
jmp 0x43eadf
cmp eax, 0x40
jle 0x43eb2a
push str.state__numAdapters___VNET_BRSTATE_NUM_ADAPTERS
jmp 0x43eadf
push 0x32
lea eax, [ebp - 0xcc]
push eax
push 0x4bdf2c
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x43eb63
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 - 0xcc]
push eax
push str.SYSTEMCurrentControlSetControlClass_s
lea eax, [ebp - 0x2d8]
push 0x105
push eax
call fcn.00419510
add esp, 0x10
lea eax, [ebp - 0x6e0]
push eax
push 9
push 0
lea eax, [ebp - 0x2d8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x43ebd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.QueryBroadcomTeamingStateReg:_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 - 0x700]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x6e8]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push dword [ebp - 0x6e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43eec8
nop
push 0x400
lea eax, [ebp - 0x6d8]
inc edi
push 0
push eax
mov dword [ebp - 0x6f0], edi
call fcn.00411960
add esp, 0xc
mov dword [ebp - 0x6f8], 0x400
lea eax, [ebp - 0x6dc]
mov dword [ebp - 0x6e8], 0x32
push eax
push 1
push 0
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x6e0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x43ec72
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x68]
push ecx
push eax
push esi
push str.QueryBroadcomTeamingStateReg:_could_not_open_adapter_key:_0x_08x_0x_08x__S
push 1
call fcn.00446b80
add esp, 0x14
jmp 0x43ee9b
push str.Broadcom
push str.ProviderName
push dword [ebp - 0x6dc]
call fcn.004400f0
add esp, 0xc
test eax, eax
jne 0x43eca2
push str.QueryBroadcomTeamingStateReg:_Provider_isnt_broadcom
push 4
call fcn.00446b80
add esp, 8
jmp 0x43ee8f
push str.QueryBroadcomTeamingStateReg:_Provider_is_broadcom
push 0x10
call fcn.00446b80
push str.blfm
push str.ComponentId
push dword [ebp - 0x6dc]
call fcn.004400f0
add esp, 0x14
test eax, eax
jne 0x43ed16
push str.blfm
push str.MatchingDeviceId
push dword [ebp - 0x6dc]
call fcn.004400f0
add esp, 0xc
test eax, eax
jne 0x43ed16
push str.BASP_Virtual
push str.DriverDesc
push dword [ebp - 0x6dc]
call fcn.004400f0
add esp, 0xc
test eax, eax
jne 0x43ed16
push str.QueryBroadcomTeamingStateReg:_Broadcom_device_isnt_BASP
push 4
call fcn.00446b80
add esp, 8
jmp 0x43ee8f
push str.QueryBroadcomTeamingStateReg:_device_is_BASP
push 0x10
call fcn.00446b80
add esp, 8
mov dword [ebp - 0x6ec], 0
lea eax, [ebp - 0x6f4]
mov dword [ebp - 0x6f4], 4
mov dword [ebp - 0x6e4], 0
push eax
lea eax, [ebp - 0x6ec]
push eax
lea eax, [ebp - 0x6e4]
push eax
push 0
push 0x4c3838
push dword [ebp - 0x6dc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x43ee72
cmp dword [ebp - 0x6e4], 4
jne 0x43ee72
mov eax, dword [ebp - 0x6ec]
test eax, eax
je 0x43eda1
push eax
push str.QueryBroadcomTeamingStateReg:_team_type_isnt_SLB:_0x_08x
push 0x20
call fcn.00446b80
add esp, 0xc
jmp 0x43ee8f
lea eax, [ebp - 0x6f8]
push eax
lea eax, [ebp - 0x6d8]
push eax
push 0
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x6dc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x43ede6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.QueryBroadcomTeamingStateReg:_couldnt_query_instance_ID_for_adapter:_0x_08x_0x_08x
push 4
call fcn.00446b80
add esp, 0x10
jmp 0x43ee8f
push dword [ebp - 0x6dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor esi, esi
mov word [ebp - 0x2da], ax
mov eax, dword [ebx + 8]
test eax, eax
jle 0x43ee50
lea edi, [ebx + 0x68]
lea eax, [ebp - 0x6d8]
push eax
push edi
call fcn.0049595e
add esp, 8
test eax, eax
jne 0x43ee29
inc esi
add edi, 0x214
cmp esi, dword [ebx + 8]
jl 0x43ee07
jmp 0x43ee54
push esi
push str.QueryBroadcomTeamingStateReg:_found_match_for_registry_and_state:_offset__d
push 0x10
call fcn.00446b80
mov edi, dword [ebp - 0x6f0]
add esp, 0xc
imul eax, esi, 0x214
or dword [eax + ebx + 0x64], 0x180
mov eax, dword [ebx + 8]
cmp esi, eax
jl 0x43ee9b
lea eax, [ebp - 0x6d8]
push eax
push str.QueryBroadcomTeamingStateReg:_didnt_find_bcom_match_for__S
push 1
call fcn.00446b80
mov edi, dword [ebp - 0x6f0]
add esp, 0xc
jmp 0x43ee9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x6e4]
push eax
push esi
push str.QueryBroadcomTeamingStateReg:_Error_reading_teamtype:_0x_08x_0x_08x_0x_08x
push 4
call fcn.00446b80
add esp, 0x14
push dword [ebp - 0x6dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x700]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x6e8]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x6e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43ec00
push dword [ebp - 0x6e0]
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