Function at 0x4670d0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x489a79
mov eax, dword fs:[0]
push eax
sub esp, 0xa8c
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0xa88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0xaa0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xacc]
mov dword [esp + 0x24], eax
xor ebp, ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0xaa8], ebp
push ecx
mov dword [esp + 0x18], ebp
call fcn.00449510
mov byte [esp + 0xaa8], 1
cmp dword [esp + 0xac8], 8
mov eax, dword [esp + 0xab4]
jae 0x46714d
lea eax, [esp + 0xab4]
lea edx, [esp + 0x14]
push edx
push 1
push ebp
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46746a
push 0x206
lea ecx, [esp + 0x9a]
push ebp
push ecx
xor esi, esi
mov word [esp + 0xa0], ax
call fcn.00474b70
add esp, 0xc
push 0x7fe
lea eax, [esp + 0x2a2]
xor edx, edx
push ebp
push eax
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x2c], ebp
mov word [esp + 0x2a8], dx
call fcn.00474b70
mov ebx, 0x400
mov eax, 7
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], cx
xor edx, edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], dx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2a0]
push ecx
lea edx, [esp + 0x28]
push edx
push ebp
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xa8]
push ecx
mov byte [esp + 0xac0], 3
mov edx, dword [esp + 0x2c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push ebp
push edx
call edi
test eax, eax
jne 0x467341
jmp 0x467230
inc esi
cmp dword [esp + 0x20], 1
jne 0x4672d9
cmp dword [esp + 0x1c], ebp
jbe 0x4672d9
cmp dword [esp + 0x18], 3
jbe 0x4672d9
lea eax, [esp + 0x94]
push eax
push str.NetCfgInstanceId
call fcn.0046f9ec
add esp, 8
test eax, eax
jne 0x467292
lea eax, [esp + 0x29c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x467274
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x29c]
push eax
push ecx
lea ecx, [esp + 0x64]
jmp 0x4672d4
lea edx, [esp + 0x94]
push edx
push str.DeviceInstanceID
call fcn.0046f9ec
add esp, 8
test eax, eax
jne 0x4672d9
lea eax, [esp + 0x29c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4672b5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2a0]
push eax
lea ecx, [esp + 0x80]
call fcn.00405fe0
push 0x208
lea ecx, [esp + 0x98]
push ebp
push ecx
call fcn.00474b70
add esp, 0xc
push 0x800
lea edx, [esp + 0x2a0]
push ebp
push edx
call fcn.00474b70
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2a0]
push ecx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x20]
push ebp
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xa8]
push ecx
push esi
push edx
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x38], ebx
call edi
test eax, eax
je 0x467230
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x78]
push ecx
mov ecx, 3
xor edx, edx
lea esi, [esp + 0x44]
call fcn.0044b5f0
cmp dword [eax + 0x18], 8
jb 0x46736c
mov eax, dword [eax + 4]
jmp 0x46736f
add eax, 4
push 0x495904
push eax
call fcn.0046f9ec
add esp, 8
test eax, eax
mov edi, 8
sete bl
cmp dword [esp + 0x58], edi
jb 0x46739a
mov edx, dword [esp + 0x44]
push edx
call fcn.0046f011
add esp, 4
test bl, bl
je 0x46742e
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x64]
push eax
call fcn.00405c00
cmp dword [esp + 0x74], edi
jb 0x4673c6
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0046f011
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], dx
cmp dword [esp + 0x90], edi
jb 0x4673f0
mov eax, dword [esp + 0x7c]
push eax
call fcn.0046f011
add esp, 4
mov dword [esp + 0x90], esi
xor ecx, ecx
lea esi, [esp + 0x28]
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], cx
call fcn.00447e70
cmp dword [esp + 0xac8], edi
jb 0x467427
mov edx, dword [esp + 0xab4]
push edx
call fcn.0046f011
add esp, 4
mov al, 1
jmp 0x4674c5
cmp dword [esp + 0x74], edi
jb 0x467441
mov eax, dword [esp + 0x60]
push eax
call fcn.0046f011
add esp, 4
xor ecx, ecx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], cx
cmp dword [esp + 0x90], edi
jb 0x46746a
mov edx, dword [esp + 0x7c]
push edx
call fcn.0046f011
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x467490
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
push ecx
call fcn.00447f00
mov edx, dword [esp + 0x38]
add esp, 4
push edx
call fcn.0046f011
add esp, 4
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call fcn.0046f011
add esp, 4
cmp dword [esp + 0xac8], 8
jb 0x4674c3
mov ecx, dword [esp + 0xab4]
push ecx
call fcn.0046f011
add esp, 4
xor al, al
mov ecx, dword [esp + 0xaa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa88]
xor ecx, esp
call fcn.0046f01c
add esp, 0xa98
ret 0x20