Function at 0x1002eb80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d71ef
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x102445d0]
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.10165483
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.101679e0
add esp, 0x10
mov dword [ebp - 0x5c], esi
push 0x28
push edi
push 0x1020bc50
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 0x1002ec95
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 0x1002f6b2
push 0x50
push edi
call fcn.101654b3
add esp, 8
jmp 0x1002f6b2
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.1002c580
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 0x1002ed5c
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 0x1002ed42
mov ecx, dword [ebp - 0x64]
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x1002ed38
lfence
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x1002f6d7
mov esi, edx
push ecx
push esi
call fcn.101654b3
add esp, 8
test edi, edi
je 0x1002ed51
push 0x50
push edi
call fcn.101654b3
add esp, 8
mov esi, dword [ebp - 0x240]
jmp 0x1002f6b2
push 0xa8
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.101679e0
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 0x1002edad
sub eax, esi
lea ecx, [ebp - 0x260]
sar eax, 1
push eax
push esi
call fcn.1000db50
push 1
push 1
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x230]
call fcn.1002c2c0
lea ecx, [ebp - 0x260]
call fcn.1000c830
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.1014b1c5
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
call fcn.1002be20
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1000bc60
mov dword [ebp - 0x40], eax
push 0x54
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.101679e0
add esp, 0x18
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x188]
push 0x100
push 0x1020c5ee
push 0x1020c528
push eax
call fcn.1002c060
lea eax, [ebp - 0x164]
mov dword [ebp - 0x23c], eax
push 0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.100309a0
lea ecx, [ebp - 0x188]
mov esi, eax
call fcn.100312b0
mov ecx, dword [ebp - 0x188]
cmp ecx, dword [ebp - 0x180]
jne 0x1002f6dc
push esi
lea ecx, [ebp - 0x164]
call fcn.10032590
push 0x15
lea ecx, [ebp - 0x164]
call fcn.10032fa0
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.10030aa0
add esp, 0xc
mov dword [ebp - 0x23c], 0
lock inc dword [esi + 0x20]
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x1002eef2
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x1002eef2
push 0
push dword [ebp - 0x48]
call fcn.10031270
add esp, 8
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x48], esi
call fcn.10033250
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.1002c580
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.10033bc0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x1002f651
nop
push 0x38
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.101679e0
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 0x1002efe0
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 0x1002f24e
push 0x80
lea eax, [ebp - 0x134]
push 0
push eax
call fcn.101679e0
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 0x1002f140
lea ecx, [ebp - 0x235]
push ecx
push eax
lea ecx, [ebp - 0xf4]
lfence
call fcn.1002b680
nop dword [eax]
push 1
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x134]
call fcn.1002b0e0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 0x235], al
mov byte [ebp - 4], 0xd
call fcn.1002ca30
lea ecx, [ebp - 0x100]
call fcn.100332b0
lea ecx, [ebp - 0x110]
call fcn.10033250
lea ecx, [ebp - 0x120]
call fcn.100332b0
lea ecx, [ebp - 0x130]
call fcn.10033250
cmp byte [ebp - 0x235], 0
je 0x1002f24e
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 0x1002f24e
cmp byte [esi + 0x14], 0
je 0x1002f1dd
mov edi, dword [esi + 0xc]
mov ecx, edi
mov eax, dword [esi + 0x10]
jmp 0x1002f1e3
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 0x1002f21c
sub eax, ecx
lea ecx, [ebp - 0x260]
sar eax, 1
push eax
push edi
call fcn.1000db50
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.1018a90a
add esp, 0xc
mov byte [ebp - 0x235], 0
cmp eax, 0x8086
je 0x1002f255
mov byte [ebp - 0x235], 1
mov eax, dword [ebp - 0x264]
test al, 2
je 0x1002f2c5
mov edx, dword [ebp - 0x24c]
and eax, 0xfffffffd
mov dword [ebp - 0x264], eax
cmp edx, 8
jb 0x1002f2a8
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f29e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f6d7
push edx
push ecx
call fcn.101654b3
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 0x1002f61c
push 0
push edi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
test eax, eax
jne 0x1002f61c
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 0x1002f600
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.10165483
push 0x800
push 0
push eax
lea esi, [eax + 0x800]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], esi
call fcn.101679e0
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.10165483
push 0x800
push 0
push eax
lea esi, [eax + 0x800]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], esi
call fcn.101679e0
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 0x1002f45d
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x260]
push eax
call fcn.10034430
cmp dword [eax + 0x14], 8
jb 0x1002f471
mov eax, dword [eax]
push 0x10
push 0
push eax
call fcn.1018a90a
add esp, 0xc
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x260]
call fcn.1000c830
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 0x1002f4bb
lea ecx, [esi + 0x24]
lea eax, [ebp - 0x260]
push eax
call fcn.10034430
cmp dword [eax + 0x14], 8
jb 0x1002f4cf
mov eax, dword [eax]
push 0x10
push 0
push eax
call fcn.1018a90a
add esp, 0xc
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x260]
call fcn.1000c830
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 0x1002f519
lea ecx, [esi + 0x30]
lea eax, [ebp - 0x260]
push eax
call fcn.10034430
cmp dword [eax + 0x14], 8
jb 0x1002f52d
mov eax, dword [eax]
push 0x10
push 0
push eax
call fcn.1018a90a
add esp, 0xc
lea ecx, [ebp - 0x260]
mov esi, eax
call fcn.1000c830
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.1002a160
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x14c]
call fcn.1002a160
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 0x1002f5dd
lea eax, [ebp - 0x1c]
push eax
call fcn.1002b980
add esp, 0xc
add dword [ebp - 0x18], 0x3c
jmp 0x1002f5e5
lea ecx, [ebp - 0x1c]
call fcn.1002a350
lea ecx, [ebp - 0x170]
call fcn.1002c9b0
lea ecx, [ebp - 0x34]
call fcn.10033310
lea ecx, [ebp - 0x54]
call fcn.10033310
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1002f615
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.1002ca90
push 0
push 0
push dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
push edi
call fcn.10033bc0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x1002ef60
mov esi, dword [ebp - 0x240]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.1002c530
lea ecx, [ebp - 0x7c]
call fcn.10033310
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1002f688
or ecx, 0xffffffff
lock xadd dword [eax + 0x20], ecx
jne 0x1002f688
push 0
push dword [ebp - 0x48]
call fcn.10031270
add esp, 8
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], 0
call fcn.1002c910
lea ecx, [ebp - 0x230]
call fcn.1002d220
lea ecx, [ebp - 0x6c]
call fcn.10033310
lea ecx, [ebp - 0x60]
call fcn.10033310
lea ecx, [ebp - 0x1c]
call fcn.1002cb00
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.101658c8
mov esp, ebp
pop ebp
ret
call fcn.10172dcd
push 0xe
lea ecx, [ebp - 0x188]
call fcn.10032640
int3