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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
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
mov edi, dword [ebp + 0xc]
push 0x64
push 0
push eax
call fcn.00411960
push 0x20a
lea eax, [ebp - 0x468]
push 0
push eax
call fcn.00411960
add esp, 0x18
test ebx, ebx
je 0x41a2f0
test edi, edi
je 0x41a2f0
cmp dword [edi], 0
je 0x41a2f0
push 0x32
lea eax, [ebp - 0xcc]
push eax
push 0x4bdf3c
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x419f83
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
lea eax, [ebp - 0xcc]
push eax
push str.GetBridgeGUID:_guid_is__S
push 0x20
call fcn.00446b80
lea eax, [ebp - 0xcc]
push eax
push str.SYSTEMCurrentControlSetControlNetwork_s
lea eax, [ebp - 0x468]
push 0x105
push eax
call fcn.00419510
lea eax, [ebp - 0x468]
push eax
push str.GetBridgeGUID:_key_name_is__S
push 0x20
call fcn.00446b80
add esp, 0x28
lea eax, [ebp - 0x46c]
push eax
push 9
push 0
lea eax, [ebp - 0x468]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41a041
cmp eax, 2
jne 0x41a018
push eax
lea eax, [ebp - 0x468]
push eax
push str.GetBridgeGUID:_netservice_class_key_not_found_in_registry__S:_0x_08x
push 2
call fcn.00446b80
add esp, 0x10
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 eax
lea eax, [ebp - 0x468]
push eax
push str.GetBridgeGUID:_couldnt_open__S_for_enumeration:_0x_08x
push 1
call fcn.00446b80
add esp, 0x10
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 - 0x468]
push eax
push str.GetBridgeGUID:_opened__S_for_enumeration
push 0x10
call fcn.00446b80
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00411960
add esp, 0x18
mov dword [ebp - 0x478], 0x32
xor esi, esi
lea eax, [ebp - 0x480]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41a230
nop dword [eax + eax]
push 0xc8
lea eax, [ebp - 0x25c]
inc esi
push 0
push eax
call fcn.00411960
push 0xc8
lea eax, [ebp - 0x194]
mov dword [ebp - 0x474], 0xc8
push 0
push eax
call fcn.00411960
add esp, 0x18
mov dword [ebp - 0x478], 0x32
lea eax, [ebp - 0x470]
push eax
push 1
push 0
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41a13b
cmp eax, 2
jne 0x41a11d
push eax
mov ecx, eax
mov edx, str.GetBridgeGUID:_net_class_instance_key_not_found_in_registry__S:_0x_08x
lea eax, [ebp - 0x68]
push eax
push edx
push ecx
call fcn.00446b80
add esp, 0x10
jmp 0x41a203
push eax
lea eax, [ebp - 0x68]
mov edx, str.GetBridgeGUID:_couldnt_open_instance__S_for_enumeration:_0x_08x
push eax
mov ecx, 1
push edx
push ecx
call fcn.00446b80
add esp, 0x10
jmp 0x41a203
push str.VMware_Bridge_Protocol
lea eax, [ebp - 0x194]
push 0x32
push eax
call fcn.00419510
add esp, 0xc
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x25c]
push eax
push 0
push 0
push 0x4a492c
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a196
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0040e1c8
add esp, 8
test eax, eax
je 0x41a25e
push str.vmware_bridge
lea eax, [ebp - 0x194]
push 0x32
push eax
call fcn.00419510
add esp, 0xc
mov dword [ebp - 0x474], 0xc8
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x25c]
push eax
push 0
push 0
push str.ComponentId
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a1f7
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0040e1c8
add esp, 8
test eax, eax
je 0x41a265
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x480]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41a0a0
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.GetBridgeGUID:_didnt_find_bridge
push 0x20
call fcn.00446b80
add esp, 8
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
push str.GetBridgeGUID:_found_bridge_service_by_description
jmp 0x41a26a
push str.found_bridge_by_component_ID
push 0x20
call fcn.00446b80
add esp, 8
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x68]
push eax
push str.GetBridgeGUID:_read_bridge_guid:__S
push 0x20
call fcn.00446b80
lea ecx, [ebp - 0x68]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a2a5
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, dword [edi]
jbe 0x41a2c7
push str.GetBridgeGUID:_insuffcient_caller_buffer_to_copy_result
push 1
jmp 0x41a243
lea eax, [esi + esi]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
call fcn.00413660
add esp, 0xc
mov dword [edi], esi
mov eax, 1
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
push edi
push ebx
push str.GetBridgeGUID:_invalid_parameters:_0x_08x_0x_08x
push 1
call fcn.00446b80
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
xor eax, eax
pop edi
pop ebx
call fcn.00401bd5
mov esp, ebp
pop ebp
ret