Function at 0x1002cc10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bdd5f
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x102223f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x240], eax
xor eax, eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x248], SysStringLen
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x248], SysStringLen
push 0x50
lfence
call fcn.10084b43
mov edi, eax
push 0x50
push 0
push edi
lea esi, [edi + 0x50]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], esi
call fcn.10086310
add esp, 0x10
mov dword [ebp - 0x5c], esi
push 0x28
push edi
push 0x101edc54
mov byte [ebp - 4], 1
call dword [sym.imp.OLE32.dll_StringFromGUID2]
push 0x300
push edi
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Device_ID_List_SizeW]
test eax, eax
je 0x1002cd25
mov esi, dword [ebp - 0x240]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test edi, edi
je 0x1002d742
push 0x50
push edi
call fcn.100843a3
add esp, 8
jmp 0x1002d742
lea eax, [ebp - 0x235]
mov dword [ebp - 0x64], 0
push eax
push dword [ebp - 0x234]
xorps xmm0, xmm0
lea ecx, [ebp - 0x6c]
movq qword [ebp - 0x6c], xmm0
call fcn.1002a610
mov eax, dword [ebp - 0x68]
mov esi, dword [ebp - 0x6c]
sub eax, esi
push 0x300
sar eax, 1
push eax
push esi
push edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x23c], eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Device_ID_ListW]
test eax, eax
je 0x1002cdec
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test esi, esi
je 0x1002cdd2
mov ecx, dword [ebp - 0x64]
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x1002cdc8
lfence
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x1002d767
mov esi, edx
push ecx
push esi
call fcn.100843a3
add esp, 8
test edi, edi
je 0x1002cde1
push 0x50
push edi
call fcn.100843a3
add esp, 8
mov esi, dword [ebp - 0x240]
jmp 0x1002d742
push 0xa8
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.10086310
mov edi, dword [ebp - 0x23c]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], cx
lea eax, [esi + edi*2]
cmp esi, eax
je 0x1002ce3d
sub eax, esi
lea ecx, [ebp - 0x260]
sar eax, 1
push eax
push esi
call fcn.10021e20
push 1
push 1
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x230]
call fcn.1002a350
lea ecx, [ebp - 0x260]
call fcn.1001a650
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x44]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x248], eax
push 1
mov byte [ebp - 4], 6
call fcn.1006a0e5
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
call fcn.10029eb0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1000e010
mov dword [ebp - 0x40], eax
push 0x54
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.10086310
add esp, 0x18
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x188]
push 0x100
push 0x101ee5f6
push 0x101ee530
push eax
call fcn.1002a0f0
lea eax, [ebp - 0x164]
mov dword [ebp - 0x23c], eax
push 0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.1002ea30
lea ecx, [ebp - 0x188]
mov esi, eax
call fcn.1002f340
mov ecx, dword [ebp - 0x188]
cmp ecx, dword [ebp - 0x180]
jne 0x1002d76c
push esi
lea ecx, [ebp - 0x164]
call fcn.10030620
push 0x15
lea ecx, [ebp - 0x164]
call fcn.10031030
mov esi, dword [ebp - 0x164]
mov eax, dword [ebp - 0x148]
push 0
push 0
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x17c]
inc eax
push esi
mov dword [esi + 0x1c], eax
call fcn.1002eb30
add esp, 0xc
mov dword [ebp - 0x23c], 0
lock inc dword [esi + 0x20]
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x1002cf82
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x1002cf82
push 0
push dword [ebp - 0x48]
call fcn.1002f300
add esp, 8
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x48], esi
call fcn.100312e0
lea eax, [ebp - 0x235]
mov byte [ebp - 4], 0xb
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
push edi
lea ecx, [ebp - 0x7c]
movq qword [ebp - 0x7c], xmm0
call fcn.1002a610
mov edi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 0x78]
push 0
sub eax, edi
mov byte [ebp - 4], 0xc
sar eax, 1
push 0
push eax
push edi
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x248], eax
call fcn.10031c50
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x1002d6e1
nop
push 0x38
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.10086310
xorps xmm0, xmm0
mov dword [ebp - 0xb4], 0
add esp, 0xc
mov byte [ebp - 0xb0], 0
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x80], 0
mov ecx, edi
mov byte [ebp - 4], 0xd
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002d070
mov esi, dword [ebp - 0x48]
sub ecx, edx
sar ecx, 1
lea eax, [edi + ecx*2]
mov dword [ebp - 0x268], eax
test esi, esi
je 0x1002d2de
push 0x80
lea eax, [ebp - 0x134]
push 0
push eax
call fcn.10086310
mov eax, dword [esi + 0x14]
add esp, 0xc
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xd0], 0
mov dword [ebp - 0xcc], ecx
mov al, byte [esi + 8]
shr al, 3
and al, 1
mov byte [ebp - 4], 0x10
mov byte [ebp - 0xc8], al
lea eax, [ebp - 0x44]
mov dword [ebp - 0xc4], eax
mov eax, dword [esi + 0x18]
mov byte [ebp - 0x235], 0
test eax, eax
je 0x1002d1d0
lea ecx, [ebp - 0x235]
push ecx
push eax
lea ecx, [ebp - 0xf4]
lfence
call fcn.10029710
nop dword [eax]
push 1
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x134]
call fcn.10029170
lea ecx, [ebp - 0xf4]
mov byte [ebp - 0x235], al
mov byte [ebp - 4], 0xd
call fcn.1002aac0
lea ecx, [ebp - 0x100]
call fcn.10031340
lea ecx, [ebp - 0x110]
call fcn.100312e0
lea ecx, [ebp - 0x120]
call fcn.10031340
lea ecx, [ebp - 0x130]
call fcn.100312e0
cmp byte [ebp - 0x235], 0
je 0x1002d2de
mov ecx, dword [ebp - 0xa8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xac]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
jb 0x1002d2de
cmp byte [esi + 0x14], 0
je 0x1002d26d
mov edi, dword [esi + 0xc]
mov ecx, edi
mov eax, dword [esi + 0x10]
jmp 0x1002d273
xor edi, edi
xor eax, eax
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], si
mov edx, 7
mov dword [ebp - 0x24c], edx
cmp ecx, eax
je 0x1002d2ac
sub eax, ecx
lea ecx, [ebp - 0x260]
sar eax, 1
push eax
push edi
call fcn.10021e20
mov edx, dword [ebp - 0x24c]
or dword [ebp - 0x264], 6
lea eax, [ebp - 0x260]
cmp edx, 8
push 0x10
cmovae eax, dword [ebp - 0x260]
push 0
push eax
call fcn.100a9c0a
add esp, 0xc
mov byte [ebp - 0x235], 0
cmp eax, 0x8086
je 0x1002d2e5
mov byte [ebp - 0x235], 1
mov eax, dword [ebp - 0x264]
test al, 2
je 0x1002d355
mov edx, dword [ebp - 0x24c]
and eax, 0xfffffffd
mov dword [ebp - 0x264], eax
cmp edx, 8
jb 0x1002d338
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d32e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d767
push edx
push ecx
call fcn.100843a3
add esp, 8
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp byte [ebp - 0x235], 0
mov edi, dword [ebp - 0x23c]
jne 0x1002d6ac
push 0
push edi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
test eax, eax
jne 0x1002d6ac
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x12
push eax
push 1
push 0
push 0x20019
push dword [ebp - 0x70]
call dword [sym.imp.SETUPAPI.dll_CM_Open_DevNode_Key]
test eax, eax
jne 0x1002d690
xorps xmm0, xmm0
mov dword [ebp - 0x4c], eax
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x244], SysStringLen
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x244], SysStringLen
push 0x800
lfence
call fcn.10084b43
push 0x800
push 0
push eax
lea esi, [eax + 0x800]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], esi
call fcn.10086310
add esp, 0x10
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x13
push eax
push dword [ebp - 0x54]
mov dword [ebp - 0x234], 0x800
push 0
push 0
push str.DriverStorePathForVPL
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x244], SysStringLen
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x244], SysStringLen
push 0x800
lfence
call fcn.10084b43
push 0x800
push 0
push eax
lea esi, [eax + 0x800]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], esi
call fcn.10086310
add esp, 0x10
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x14
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x234], 0x800
push 0
push 0
push str.DriverStorePathForMediaSDK
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0xa8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xac]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x88]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x1002d4ed
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x260]
push eax
call fcn.10032680
cmp dword [eax + 0x14], 8
jb 0x1002d501
mov eax, dword [eax]
push 0x10
push 0
push eax
call fcn.100a9c0a
add esp, 0xc
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x260]
call fcn.1001a650
mov ecx, dword [ebp - 0xa8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xac]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x88]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jbe 0x1002d54b
lea ecx, [esi + 0x24]
lea eax, [ebp - 0x260]
push eax
call fcn.10032680
cmp dword [eax + 0x14], 8
jb 0x1002d55f
mov eax, dword [eax]
push 0x10
push 0
push eax
call fcn.100a9c0a
add esp, 0xc
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x260]
call fcn.1001a650
mov ecx, dword [ebp - 0xa8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xac]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x88]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
jbe 0x1002d5a9
lea ecx, [esi + 0x30]
lea eax, [ebp - 0x260]
push eax
call fcn.10032680
cmp dword [eax + 0x14], 8
jb 0x1002d5bd
mov eax, dword [eax]
push 0x10
push 0
push eax
call fcn.100a9c0a
add esp, 0xc
lea ecx, [ebp - 0x260]
mov esi, eax
call fcn.1001a650
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x244]
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x168], ecx
lea ecx, [ebp - 0x164]
push eax
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x170], esi
call fcn.100281f0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x14c]
call fcn.100281f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x170]
mov edi, dword [ebp - 0x23c]
push ecx
mov byte [ebp - 4], 0x16
push eax
cmp dword [ebp - 0x14], eax
je 0x1002d66d
lea eax, [ebp - 0x1c]
push eax
call fcn.10029a10
add esp, 0xc
add dword [ebp - 0x18], 0x3c
jmp 0x1002d675
lea ecx, [ebp - 0x1c]
call fcn.100283e0
lea ecx, [ebp - 0x170]
call fcn.1002aa40
lea ecx, [ebp - 0x34]
call fcn.100313a0
lea ecx, [ebp - 0x54]
call fcn.100313a0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1002d6a5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xc
call fcn.1002ab20
push 0
push 0
push dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
push edi
call fcn.10031c50
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x1002cff0
mov esi, dword [ebp - 0x240]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.1002a5c0
lea ecx, [ebp - 0x7c]
call fcn.100313a0
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1002d718
or ecx, 0xffffffff
lock xadd dword [eax + 0x20], ecx
jne 0x1002d718
push 0
push dword [ebp - 0x48]
call fcn.1002f300
add esp, 8
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], 0
call fcn.1002a9a0
lea ecx, [ebp - 0x230]
call fcn.1002b2b0
lea ecx, [ebp - 0x6c]
call fcn.100313a0
lea ecx, [ebp - 0x60]
call fcn.100313a0
lea ecx, [ebp - 0x1c]
call fcn.1002ab90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100847aa
mov esp, ebp
pop ebp
ret
call fcn.10091b9d
push 0xe
lea ecx, [ebp - 0x188]
call fcn.100306d0
int3