Function at 0x50d8f0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x5cffec
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x65b4e4]
xor eax, esp
mov dword [esp + 0x894], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65b4e4]
xor eax, esp
push eax
lea eax, [esp + 0x8ac]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8bc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov esi, 0x20019
call fcn.004fe580
test eax, eax
je 0x50d94d
mov esi, 0x20119
push 0x42
xor ebx, ebx
mov edi, 0xf
push str.SYSTEMCurrentControlSetServicesIANSPROTOCOLParametersAdapters
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.004098b0
mov eax, dword [esp + 0x74]
mov ebp, 0x10
cmp dword [esp + 0x88], ebp
mov dword [esp + 0x8b4], ebx
jae 0x50d993
lea eax, [esp + 0x74]
lea edx, [esp + 0x14]
push edx
push esi
push ebx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x50d9c7
cmp dword [esp + 0x88], ebp
jb 0x50d9c0
mov eax, dword [esp + 0x74]
push eax
call fcn.00594e98
add esp, 4
xor eax, eax
jmp 0x50dc49
xor esi, esi
mov dword [esp + 0x1c], esi
lea ecx, [ecx]
push 0x400
lea ecx, [esp + 0x4ac]
push ebx
push ecx
call fcn.005b4520
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x4bc]
push eax
push esi
push ecx
mov dword [esp + 0x38], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x50dc23
push 0x3ff
lea edx, [esp + 0xad]
push ebx
push edx
mov byte [esp + 0xb4], bl
call fcn.005b4520
push 1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x40]
push edx
push str.MiniportBindingList
lea eax, [esp + 0x4c8]
push eax
push ecx
mov dword [esp + 0x40], 0x3ff
call fcn.004fef20
add esp, 0x28
cmp eax, ebx
je 0x50dc0f
lea edx, [esp + 0xa8]
push edx
push str.Adapter:__s_r_n
call fcn.005b403f
add esp, 8
push 8
push str.Device_
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
call fcn.004098b0
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x8c0], 1
call fcn.00408470
lea eax, [esp + 0xa8]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x50dae0
sub eax, esi
push eax
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004098b0
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0x60]
mov byte [esp + 0x8c0], 2
call fcn.0049f800
push eax
push ebx
lea ecx, [esp + 0x5c]
call fcn.00408170
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0x64]
call fcn.004ca3c0
add eax, 1
push eax
lea ecx, [esp + 0x5c]
call fcn.00408170
cmp dword [esp + 0x6c], ebp
mov eax, dword [esp + 0x58]
jae 0x50db50
lea eax, [esp + 0x58]
mov edx, dword [esp + 0x68]
push edx
push eax
mov eax, dword [esp + 0xa8]
push eax
push ebx
lea ecx, [esp + 0x9c]
call fcn.00414ba0
test eax, eax
jne 0x50dbd0
lea eax, [esp + 0x4a8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x50db85
sub eax, edx
push eax
lea ecx, [esp + 0x4ac]
push ecx
lea ecx, [esp + 0x34]
call fcn.004098b0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x8bc], 3
call fcn.00459730
cmp dword [esp + 0x44], ebp
jb 0x50dbd0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00594e98
add esp, 4
cmp dword [esp + 0x6c], ebp
jb 0x50dbe3
mov edx, dword [esp + 0x58]
push edx
call fcn.00594e98
add esp, 4
cmp dword [esp + 0xa4], ebp
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov byte [esp + 0x8b4], bl
jb 0x50dc0f
mov eax, dword [esp + 0x90]
push eax
call fcn.00594e98
add esp, 4
mov esi, dword [esp + 0x1c]
add esi, 1
cmp esi, 0x20
mov dword [esp + 0x1c], esi
jl 0x50d9d0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x88], ebp
jb 0x50dc44
mov edx, dword [esp + 0x74]
push edx
call fcn.00594e98
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x8ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x894]
xor ecx, esp
call fcn.005b0968
add esp, 0x8a4
ret