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

Disassembly:
push 0xffffffffffffffff
push 0x10058c69
mov eax, dword fs:[0]
push eax
sub esp, 0xa8c
mov eax, dword [0x1006c3ac]
xor eax, esp
mov dword [esp + 0xa88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006c3ac]
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.1002f390
mov byte [esp + 0xaa8], 1
cmp dword [esp + 0xac8], 8
mov eax, dword [esp + 0xab4]
jae 0x1003b87d
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 0x1003bb84
push 0x206
lea ecx, [esp + 0x9a]
push ebp
push ecx
xor edi, edi
mov word [esp + 0xa0], ax
call fcn.10042250
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.10042250
mov eax, 7
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x18], 0x400
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 ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push ebp
push edx
call ebx
test eax, eax
jne 0x1003ba5c
inc edi
cmp dword [esp + 0x20], 1
jne 0x1003b9f0
cmp dword [esp + 0x1c], ebp
jbe 0x1003b9f0
cmp dword [esp + 0x18], 3
jbe 0x1003b9f0
lea eax, [esp + 0x94]
push eax
push str.NetCfgInstanceId
call fcn.1003fa5d
add esp, 8
test eax, eax
jne 0x1003b9a5
lea eax, [esp + 0x29c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x1003b994
lea esi, [esp + 0x5c]
jmp 0x1003b9df
lea ecx, [esp + 0x94]
push ecx
push str.DeviceInstanceID
call fcn.1003fa5d
add esp, 8
test eax, eax
jne 0x1003b9f0
lea eax, [esp + 0x29c]
lea edx, [eax + 2]
jmp 0x1003b9d0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x1003b9d0
lea esi, [esp + 0x78]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2a0]
call fcn.1000b540
push 0x208
lea edx, [esp + 0x98]
push ebp
push edx
call fcn.10042250
add esp, 0xc
push 0x800
lea eax, [esp + 0x2a0]
push ebp
push eax
call fcn.10042250
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2a0]
push edx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push ebp
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xa8]
push edx
push edi
push eax
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x38], 0x400
call ebx
test eax, eax
je 0x1003b954
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x78]
push edx
mov ecx, 3
xor edx, edx
lea esi, [esp + 0x44]
call fcn.1002be00
cmp dword [eax + 0x18], 8
jb 0x1003ba87
mov eax, dword [eax + 4]
jmp 0x1003ba8a
add eax, 4
push 0x100626e0
push eax
call fcn.1003fa5d
add esp, 8
test eax, eax
mov edi, 8
sete bl
cmp dword [esp + 0x58], edi
jb 0x1003bab5
mov eax, dword [esp + 0x44]
push eax
call fcn.1003f2c6
add esp, 4
test bl, bl
je 0x1003bb48
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x64]
call fcn.1000b980
cmp dword [esp + 0x74], edi
jb 0x1003bae0
mov ecx, dword [esp + 0x60]
push ecx
call fcn.1003f2c6
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 0x1003bb0a
mov eax, dword [esp + 0x7c]
push eax
call fcn.1003f2c6
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.10032950
cmp dword [esp + 0xac8], edi
jb 0x1003bb41
mov edx, dword [esp + 0xab4]
push edx
call fcn.1003f2c6
add esp, 4
mov al, 1
jmp 0x1003bbdf
cmp dword [esp + 0x74], edi
jb 0x1003bb5b
mov eax, dword [esp + 0x60]
push eax
call fcn.1003f2c6
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 0x1003bb84
mov edx, dword [esp + 0x7c]
push edx
call fcn.1003f2c6
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x1003bbaa
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
push ecx
call fcn.1002dee0
mov edx, dword [esp + 0x38]
add esp, 4
push edx
call fcn.1003f2c6
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.1003f2c6
add esp, 4
cmp dword [esp + 0xac8], 8
jb 0x1003bbdd
mov ecx, dword [esp + 0xab4]
push ecx
call fcn.1003f2c6
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.1003f2d1
add esp, 0xa98
ret 0x20