Function at 0x100010c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062636
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x1007f098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3ac], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x39c]
push eax
push 0x20019
push 0
push esi
push edx
mov byte [ebp - 0x3a5], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000144e
xorps xmm0, xmm0
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x358], eax
movups xmmword [ebp - 0x398], xmm0
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], al
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], 0xf
mov byte [ebp - 0x370], al
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x344], 0xf
mov byte [ebp - 0x358], al
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x338], eax
push esi
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x324], 7
mov word [ebp - 0x338], ax
call fcn.10002260
lea edx, [ebp - 0x338]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c4]
call fcn.10024370
mov esi, eax
lea eax, [ebp - 0x388]
cmp eax, esi
je 0x10001242
mov edx, dword [ebp - 0x374]
cmp edx, 0x10
jb 0x100011ff
mov ecx, dword [ebp - 0x388]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100011f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001768
push edx
push ecx
call fcn.1003c10b
add esp, 8
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x388], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x378], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x3b0]
cmp edx, 0x10
jb 0x1000127c
mov ecx, dword [ebp - 0x3c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10001272
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001768
push edx
push ecx
call fcn.1003c10b
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 0x3b0], 0xf
mov byte [ebp - 0x3c4], 0
cmp edx, 8
jb 0x100012db
mov ecx, dword [ebp - 0x338]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100012d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001768
push edx
push ecx
call fcn.1003c10b
add esp, 8
xor eax, eax
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 7
mov word [ebp - 0x338], ax
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x31c], 0x80
push eax
lea eax, [ebp - 0x320]
push eax
push 0
push str.clsid
push dword [ebp - 0x39c]
call esi
test eax, eax
jne 0x10001378
cmp dword [ebp - 0x320], 1
jne 0x10001378
cmp dword [ebp - 0x31c], eax
jne 0x100013b8
cmp dword [ebp - 0x324], 8
lea eax, [ebp - 0x338]
mov dword [ebp - 0x328], 0
cmovae eax, dword [ebp - 0x338]
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp - 0x324]
cmp edx, 8
jb 0x10001430
mov ecx, dword [ebp - 0x338]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001426
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000176d
jmp 0x10001426
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x338]
call fcn.10002260
cmp dword [ebp - 0x324], 8
lea ecx, [ebp - 0x398]
lea eax, [ebp - 0x338]
cmovae eax, dword [ebp - 0x338]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jns 0x1000146e
mov edx, dword [ebp - 0x324]
cmp edx, 8
jb 0x10001430
mov ecx, dword [ebp - 0x338]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001426
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000176d
push edx
push ecx
call fcn.1003c10b
add esp, 8
mov byte [ebp - 0x3a5], 0
push dword [ebp - 0x39c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x398]
call fcn.10001780
mov al, byte [ebp - 0x3a5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c0aa
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x324]
cmp edx, 8
jb 0x100014b2
mov ecx, dword [ebp - 0x338]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100014a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000176d
push edx
push ecx
call fcn.1003c10b
add esp, 8
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x320], 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x31c], 0x80
push eax
lea eax, [ebp - 0x320]
push eax
push 0
push str.description
push dword [ebp - 0x39c]
call esi
test eax, eax
jne 0x1000157c
cmp dword [ebp - 0x320], 1
jne 0x1000157c
mov eax, dword [ebp - 0x31c]
test eax, eax
jne 0x1000152c
cmp dword [ebp - 0x35c], 0x10
lea eax, [ebp - 0x370]
mov dword [ebp - 0x360], 0
cmovae eax, dword [ebp - 0x370]
mov byte [eax], 0
jmp 0x1000157c
push 0
push 0
push 0x80
lea ecx, [ebp - 0x90]
shr eax, 1
push ecx
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1000157c
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001560
sub ecx, edx
lea eax, [ebp - 0x90]
push ecx
push eax
lea ecx, [ebp - 0x370]
call fcn.100043a0
lea eax, [ebp - 0x320]
mov dword [ebp - 0x320], 0
push eax
lea eax, [ebp - 0x398]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov byte [ebp - 0x3a5], 0
test eax, eax
js 0x10001437
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x31c], 0
push eax
push str.clsid
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x100016c7
lea eax, [ebp - 0x3a4]
mov dword [ebp - 0x3a4], 0
push eax
push 0x20019
push 0
push dword [ebp - 0x320]
push dword [ebp - 0x31c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100016bf
mov dword [ebp - 0x3a0], eax
lea eax, [ebp - 0x3a0]
push eax
push 0x20019
push 0
push str.InprocServer32
push dword [ebp - 0x3a4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100016b7
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x318]
mov dword [ebp - 0x340], 0x104
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
push 0
push dword [ebp - 0x3a0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100016a8
cmp dword [ebp - 0x33c], 1
jne 0x100016a8
mov eax, dword [ebp - 0x340]
test eax, eax
jne 0x1000170b
cmp dword [ebp - 0x344], 0x10
lea eax, [ebp - 0x358]
mov dword [ebp - 0x348], 0
cmovae eax, dword [ebp - 0x358]
mov byte [eax], 0
mov byte [ebp - 0x3a5], 0
push dword [ebp - 0x3a0]
call esi
push dword [ebp - 0x3a4]
call esi
push dword [ebp - 0x31c]
call esi
push dword [ebp - 0x320]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x39c]
call esi
cmp byte [ebp - 0x3a5], 0
je 0x10001443
mov ecx, dword [ebp - 0x3ac]
lea eax, [ebp - 0x398]
push eax
call fcn.10001860
mov al, byte [ebp - 0x3a5]
mov byte [ebp - 0x3a5], al
jmp 0x10001443
push 0
push 0
push 0x104
lea ecx, [ebp - 0x214]
shr eax, 1
push ecx
push eax
lea eax, [ebp - 0x318]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x100016a8
lea ecx, [ebp - 0x214]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001740
sub ecx, edx
lea eax, [ebp - 0x214]
push ecx
push eax
lea ecx, [ebp - 0x358]
call fcn.100043a0
mov byte [ebp - 0x3a5], 1
jmp 0x100016af
call fcn.10040a7f
call fcn.10040a7f
int3