Function at 0x427350
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4839b1
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004440b8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4273a6
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x234], 0
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x14]
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push edx
call fcn.00403800
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
add esp, 0xc
or ecx, eax
jge 0x4273f8
push 0
lea ecx, [esp + 0x14]
call fcn.00401cf0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42741c
or edi, 0xffffffff
jmp 0x427561
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.00464a00
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push str.PnpInstanceID
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x34], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x18]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x427492
or edi, 0xffffffff
lea eax, [esi - 0x10]
mov dword [esp + 0x234], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
jmp 0x427573
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401ed0
push 3
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 1
call fcn.00428c60
push 0x492080
mov edi, eax
mov byte [esp + 0x238], 2
call fcn.00428c00
push eax
call fcn.0040d990
mov bl, al
mov byte [esp + 0x23c], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or edi, 0xffffffff
add esp, 8
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427501
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test bl, bl
je 0x427553
test edx, edx
jg 0x42752c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x234], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42754c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x427583
test edx, edx
jg 0x427561
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
mov dword [esp + 0x234], edi
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x427581
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00461706
add esp, 0x228
ret