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

Disassembly:
push 0xffffffffffffffff
push 0x43c399
mov eax, dword fs:[0]
push eax
sub esp, 0xa8c
mov eax, dword [0x449f6c]
xor eax, esp
mov dword [esp + 0xa88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449f6c]
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.0040f700
mov byte [esp + 0xaa8], 1
cmp dword [esp + 0xac8], 8
mov eax, dword [esp + 0xab4]
jae 0x41c4ed
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 0x41c80a
push 0x206
lea ecx, [esp + 0x9a]
push ebp
push ecx
xor esi, esi
mov word [esp + 0xa0], ax
call fcn.00428a90
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.00428a90
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 0x41c6e1
jmp 0x41c5d0
inc esi
cmp dword [esp + 0x20], 1
jne 0x41c679
cmp dword [esp + 0x1c], ebp
jbe 0x41c679
cmp dword [esp + 0x18], 3
jbe 0x41c679
lea eax, [esp + 0x94]
push eax
push str.NetCfgInstanceId
call fcn.00423bd7
add esp, 8
test eax, eax
jne 0x41c632
lea eax, [esp + 0x29c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x41c614
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x29c]
push eax
push ecx
lea ecx, [esp + 0x64]
jmp 0x41c674
lea edx, [esp + 0x94]
push edx
push str.DeviceInstanceID
call fcn.00423bd7
add esp, 8
test eax, eax
jne 0x41c679
lea eax, [esp + 0x29c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x41c655
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2a0]
push eax
lea ecx, [esp + 0x80]
call fcn.0040e9b0
push 0x208
lea ecx, [esp + 0x98]
push ebp
push ecx
call fcn.00428a90
add esp, 0xc
push 0x800
lea edx, [esp + 0x2a0]
push ebp
push edx
call fcn.00428a90
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 0x41c5d0
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.00415140
cmp dword [eax + 0x18], 8
jb 0x41c70c
mov eax, dword [eax + 4]
jmp 0x41c70f
add eax, 4
push 0x442bcc
push eax
call fcn.00423bd7
add esp, 8
test eax, eax
mov edi, 8
sete bl
cmp dword [esp + 0x58], edi
jb 0x41c73a
mov edx, dword [esp + 0x44]
push edx
call fcn.00423e76
add esp, 4
test bl, bl
je 0x41c7ce
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x64]
push eax
call fcn.0040e6d0
cmp dword [esp + 0x74], edi
jb 0x41c766
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00423e76
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 0x41c790
mov eax, dword [esp + 0x7c]
push eax
call fcn.00423e76
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.00402140
cmp dword [esp + 0xac8], edi
jb 0x41c7c7
mov edx, dword [esp + 0xab4]
push edx
call fcn.00423e76
add esp, 4
mov al, 1
jmp 0x41c865
cmp dword [esp + 0x74], edi
jb 0x41c7e1
mov eax, dword [esp + 0x60]
push eax
call fcn.00423e76
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 0x41c80a
mov edx, dword [esp + 0x7c]
push edx
call fcn.00423e76
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x41c830
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
push ecx
call fcn.0040c430
mov edx, dword [esp + 0x38]
add esp, 4
push edx
call fcn.00423e76
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.00423e76
add esp, 4
cmp dword [esp + 0xac8], 8
jb 0x41c863
mov ecx, dword [esp + 0xab4]
push ecx
call fcn.00423e76
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.004239c1
add esp, 0xa98
ret 0x20