Function at 0x10017ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100487e3
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x100632c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x858], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x848], 0
call fcn.100030b0
mov ecx, eax
test ecx, ecx
je 0x100184d4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x848], 1
call fcn.100030b0
mov ecx, eax
test ecx, ecx
je 0x100184de
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x838], eax
push 0x1004a698
lea ecx, [ebp - 0x838]
mov dword [ebp - 4], 1
call fcn.10005590
test al, al
jne 0x10017fac
push 0
push 0x1004a698
lea ecx, [ebp - 0x838]
call fcn.10006bb0
push dword [ebp + 0xc]
mov dword [ebp - 4], 2
call fcn.10018640
mov edx, dword [0x10064b5c]
add esp, 4
mov esi, eax
mov eax, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x10017fee
cmp dword [ecx + 0x10], esi
jge 0x10017fdb
mov ecx, dword [ecx + 8]
jmp 0x10017fdf
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10017fd1
cmp eax, edx
je 0x10017fee
cmp esi, dword [eax + 0x10]
jge 0x10017ff0
mov eax, edx
cmp edx, eax
je 0x10018020
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x10017fff
xor ecx, ecx
jmp 0x10018013
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018004
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x838]
call fcn.10006bb0
call fcn.100030b0
mov ecx, eax
test ecx, ecx
je 0x100184e8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x83c], eax
push 0x10052eb0
lea ecx, [ebp - 0x83c]
mov byte [ebp - 4], 3
call fcn.10005590
test al, al
jne 0x10018067
push 3
push 0x10052eb0
lea ecx, [ebp - 0x83c]
call fcn.10006bb0
dec esi
mov byte [ebp - 4], 4
cmp esi, 9
ja case.default.0x1001807c
movzx eax, byte [esi + 0x10018520]
jmp dword [eax*4 + 0x10018510]
push 8
push str.VendorID
lea ecx, [ebp - 0x83c]
call fcn.10006bb0
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0
mov esi, dword [ebp - 0x838]
lea ecx, [ebp - 0x854]
push 0x20219
push esi
push 0x80000002
mov byte [ebp - 4], 5
call fcn.100187f0
mov edi, dword [ebp - 0x83c]
test eax, eax
jne 0x10018142
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10024530
add esp, 0xc
mov dword [ebp - 0x834], 0x104
lea eax, [ebp - 0x834]
lea ecx, [ebp - 0x854]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.100188a0
test eax, eax
jne 0x10018142
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018124
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10006bb0
mov eax, dword [ebp - 0x854]
test eax, eax
je 0x1001847e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001847e
call fcn.100030b0
mov ecx, eax
test ecx, ecx
je 0x100184f2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x844], esi
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0
push 0x20219
push dword [ebp - 0x838]
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 7
push 0x80000002
call fcn.100187f0
mov edi, dword [ebp - 0x83c]
test eax, eax
jne 0x100183b7
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10024530
add esp, 0xc
mov dword [ebp - 0x834], 0x104
lea eax, [ebp - 0x834]
lea ecx, [ebp - 0x854]
push eax
lea eax, [ebp - 0x420]
push eax
push edi
call fcn.100188a0
test eax, eax
jne 0x1001822e
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018210
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10006bb0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10024530
add esp, 0xc
mov dword [ebp - 0x834], 0x104
lea eax, [ebp - 0x834]
lea ecx, [ebp - 0x854]
push eax
lea eax, [ebp - 0x628]
push eax
push str.SUBPID
call fcn.100188a0
test eax, eax
jne 0x100182a8
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018280
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x844]
call fcn.10006bb0
mov esi, dword [ebp - 0x844]
cmp dword [esi - 0xc], 0
jne 0x100182c0
push ebx
lea ecx, [ebp - 0x844]
call fcn.10004eb0
mov esi, dword [ebp - 0x844]
mov eax, dword [ebx]
mov byte [ebp - 4], 8
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x100182d8
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x100182ee
call fcn.100030b0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x100184fc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x848], 3
mov dword [ebp - 0x840], eax
mov eax, dword [ebx]
push 2
push 0x10052edc
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.10005720
add esp, 0x14
mov eax, dword [ebp - 0x840]
mov byte [ebp - 4], 9
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x1001833e
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10018354
call fcn.100030b0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x10018506
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x848], 7
mov dword [ebp - 0x834], eax
mov eax, dword [ebp - 0x840]
push esi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.10005720
add esp, 0x14
lea eax, [ebp - 0x834]
mov ecx, ebx
push eax
call fcn.10004eb0
lea ecx, [ebp - 0x834]
call fcn.10004af0
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x848], 1
call fcn.10004af0
mov eax, dword [ebp - 0x854]
test eax, eax
je 0x100183c8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10018478
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10018478
push 0x208
lea eax, [ebp - 0x830]
mov dword [ebp - 0x840], 1
push 0
push eax
mov dword [ebp - 0x834], 0x104
call fcn.10024530
mov edi, dword [ebp - 0x83c]
lea eax, [ebp - 0x834]
mov esi, dword [ebp - 0x838]
add esp, 0xc
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x840]
push eax
push edi
push esi
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001847e
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018452
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10006bb0
jmp 0x1001847e
mov edi, dword [ebp - 0x83c]
mov esi, dword [ebp - 0x838]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1001849a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100184b6
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b60e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003270
push 0x80004005
call fcn.10003270
push 0x80004005
call fcn.10003270
push 0x80004005
call fcn.10003270
push 0x80004005
call fcn.10003270
push 0x80004005
call fcn.10003270
add dword [eax - 0x7c12efff], 1
adc byte [ecx + eax*4 + 1], bl
adc byte [ebp + 0x100180], dl
add byte [ecx], al
add al, byte [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add ecx, esp
int3