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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x704
mov eax, dword [0x4e7018]
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.0040f160
push 0x20a
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.0040f160
push 0x64
xor edi, edi
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.0040f160
add esp, 0x24
mov dword [ebp - 0x6e4], 0x32
test ebx, ebx
jne 0x43b9a0
push str.state
push str.QueryBroadcomTeamingStateReg:__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 0x43b9b0
push str.stateSize__sizeof_state
jmp 0x43b97f
mov eax, dword [ebx + 8]
test eax, eax
jg 0x43b9be
push str.state__numAdapters___0
jmp 0x43b97f
cmp eax, 0x40
jle 0x43b9ca
push str.state__numAdapters___VNET_BRSTATE_NUM_ADAPTERS
jmp 0x43b97f
push 0x32
lea eax, [ebp - 0xcc]
push eax
push 0x4b6574
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x43ba03
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 - 0xcc]
push eax
push str.SYSTEMCurrentControlSetControlClass_s
lea eax, [ebp - 0x2d8]
push 0x105
push eax
call fcn.004159a0
add esp, 0x10
lea eax, [ebp - 0x700]
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 0x43ba71
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.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 - 0x6f8]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x6e4]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push dword [ebp - 0x700]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43bd5e
nop
push 0x400
lea eax, [ebp - 0x6dc]
inc edi
push 0
push eax
mov dword [ebp - 0x704], edi
call fcn.0040f160
add esp, 0xc
mov dword [ebp - 0x6f0], 0x400
lea eax, [ebp - 0x6fc]
mov dword [ebp - 0x6e4], 0x32
push eax
push 1
push 0
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x700]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x43bb12
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.004439a0
add esp, 0x14
jmp 0x43bd31
push str.Broadcom
push str.ProviderName
push dword [ebp - 0x6fc]
call fcn.0043ce50
add esp, 0xc
test eax, eax
jne 0x43bb42
push str.QueryBroadcomTeamingStateReg:_Provider_isnt_broadcom
push 4
call fcn.004439a0
add esp, 8
jmp 0x43bd25
push str.QueryBroadcomTeamingStateReg:_Provider_is_broadcom
push 0x10
call fcn.004439a0
push str.blfm
push str.ComponentId
push dword [ebp - 0x6fc]
call fcn.0043ce50
add esp, 0x14
test eax, eax
jne 0x43bbb6
push str.blfm
push str.MatchingDeviceId
push dword [ebp - 0x6fc]
call fcn.0043ce50
add esp, 0xc
test eax, eax
jne 0x43bbb6
push str.BASP_Virtual
push str.DriverDesc
push dword [ebp - 0x6fc]
call fcn.0043ce50
add esp, 0xc
test eax, eax
jne 0x43bbb6
push str.QueryBroadcomTeamingStateReg:_Broadcom_device_isnt_BASP
push 4
call fcn.004439a0
add esp, 8
jmp 0x43bd25
push str.QueryBroadcomTeamingStateReg:_device_is_BASP
push 0x10
call fcn.004439a0
add esp, 8
mov dword [ebp - 0x6e8], 0
lea eax, [ebp - 0x6ec]
mov dword [ebp - 0x6ec], 4
mov dword [ebp - 0x6e0], 0
push eax
lea eax, [ebp - 0x6e8]
push eax
lea eax, [ebp - 0x6e0]
push eax
push 0
push 0x4bbef0
push dword [ebp - 0x6fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x43bd08
cmp dword [ebp - 0x6e0], 4
jne 0x43bd08
mov eax, dword [ebp - 0x6e8]
test eax, eax
je 0x43bc41
push eax
push str.QueryBroadcomTeamingStateReg:_team_type_isnt_SLB:_0x_08x
push 0x20
call fcn.004439a0
add esp, 0xc
jmp 0x43bd25
lea eax, [ebp - 0x6f0]
push eax
lea eax, [ebp - 0x6dc]
push eax
push 0
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x6fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x43bc86
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.004439a0
add esp, 0x10
jmp 0x43bd25
push dword [ebp - 0x6fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor esi, esi
mov word [ebp - 0x2de], ax
cmp dword [ebx + 8], eax
jle 0x43bceb
lea edi, [ebx + 0x68]
lea eax, [ebp - 0x6dc]
push eax
push edi
call fcn.0048d839
add esp, 8
test eax, eax
jne 0x43bcc7
inc esi
add edi, 0x214
cmp esi, dword [ebx + 8]
jl 0x43bca5
jmp 0x43bce5
push esi
push str.QueryBroadcomTeamingStateReg:_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 - 0x704]
cmp esi, dword [ebx + 8]
jl 0x43bd31
lea eax, [ebp - 0x6dc]
push eax
push str.QueryBroadcomTeamingStateReg:_didnt_find_bcom_match_for__S
push 1
call fcn.004439a0
add esp, 0xc
jmp 0x43bd31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x6e0]
push eax
push esi
push str.QueryBroadcomTeamingStateReg:_Error_reading_teamtype:_0x_08x_0x_08x_0x_08x
push 4
call fcn.004439a0
add esp, 0x14
push dword [ebp - 0x6fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x6f8]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x6e4]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x700]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43baa0
push dword [ebp - 0x700]
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