Function at 0x435b40
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46c52c
mov eax, dword fs:[0]
push eax
mov eax, 0x10a4
call fcn.00463100
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x10a0], eax
push ebx
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x10b4]
mov dword fs:[0], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x14]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push closesocket
mov esi, ecx
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x435cc1
mov eax, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x435bd0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.00403b10
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x10c0], ebx
call fcn.0042c150
push eax
mov ebx, str.Connection
lea esi, [esp + 0x9c]
mov byte [esp + 0x10c4], 1
call fcn.004059c0
add esp, 8
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x435c2e
mov edx, dword [esp + 0x44]
push edx
call fcn.0044caf8
add esp, 4
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], ax
mov byte [esp + 0x10bc], 4
cmp dword [esp + 0x3c], 0x10
jb 0x435c5f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0044caf8
add esp, 4
mov eax, dword [esp + 0x98]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0xac], esi
jae 0x435c86
lea eax, [esp + 0x98]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push eax
mov eax, dword [esp + 0x24]
push eax
call edi
test eax, eax
je 0x435ccb
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xac], esi
jb 0x435cc1
mov edx, dword [esp + 0x98]
push edx
call fcn.0044caf8
add esp, 4
mov eax, 4
jmp 0x435e2b
push 0xffe
lea ecx, [esp + 0xb6]
xor eax, eax
push ebx
mov edi, 1
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], 0x800
mov word [esp + 0xbc], ax
call fcn.00452c80
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.PnpInstanceID
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x435df9
cmp dword [esp + 0x1c], 6
jbe 0x435df9
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x5c]
call fcn.004037f0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x10c0], 5
call fcn.0042c040
add esp, 4
lea esi, [esp + 0x5c]
call fcn.00418c90
mov eax, dword [esp + 0x7c]
mov esi, 0x10
cmp dword [esp + 0x90], esi
jae 0x435d7a
lea eax, [esp + 0x7c]
push 3
push 0x47a6fc
push eax
call fcn.0044d4e4
add esp, 0xc
test eax, eax
jne 0x435d94
mov dword [esp + 0x10], edi
jmp 0x435df0
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], esi
jae 0x435da5
lea eax, [esp + 0x7c]
push 3
push 0x47a700
push eax
call fcn.0044d4e4
add esp, 0xc
test eax, eax
jne 0x435dc3
mov dword [esp + 0x10], 2
jmp 0x435df0
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], esi
jae 0x435dd4
lea eax, [esp + 0x7c]
push 3
push 0x47a704
push eax
call fcn.0044d4e4
add esp, 0xc
test eax, eax
jne 0x435df0
mov dword [esp + 0x10], 3
lea ecx, [esp + 0x78]
call fcn.004037b0
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
cmp dword [esp + 0xac], 8
jb 0x435e27
mov eax, dword [esp + 0x98]
push eax
call fcn.0044caf8
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10a0]
xor ecx, esp
call fcn.0044c790
add esp, 0x10b0
ret