Function at 0x10012670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081226
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x478
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x458], 0
xor eax, eax
mov dword [ebp - 0x454], 7
movups xmmword [ebp - 0x468], xmm0
mov word [ebp - 0x468], ax
mov dword [ebp - 4], eax
call fcn.10031c00
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x220]
push 0x208
push 0
push eax
call fcn.10055b90
add esp, 0xc
mov eax, edi
cmp dword [0x100a40c8], 0
je 0x1001272a
cmp esi, 7
jbe 0x1001270d
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x220]
push 0x10092f90
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.ISShellPicExts64.dll
jmp 0x1001274c
cmp esi, 7
jbe 0x10012731
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x220]
push 0x10092f90
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.ISShellPicExts32.dll
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x484]
call fcn.1000c060
movups xmm0, xmmword [ebp - 0x484]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x46c], 0
movups xmmword [ebp - 0x468], xmm0
movq xmm0, qword [ebp - 0x474]
movq qword [ebp - 0x458], xmm0
call fcn.10031c00
cmp dword [0x100a40c8], 0
mov ecx, 0x101
mov eax, 0x201
cmovne eax, ecx
lea ecx, [ebp - 0x46c]
push ecx
push eax
push 0
push str.CLSID1F23370B_625A_453E_9D2C_1FAF54061C85InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x100129fa
push 0x208
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.10055b90
add esp, 0xc
mov dword [ebp - 0x438], 0x208
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x434]
push eax
push esi
push esi
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x46c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100129fa
call fcn.10031c00
mov esi, dword [0x100a40c8]
lea eax, [ebp - 0x220]
push 0x208
push 0
push eax
call fcn.10055b90
add esp, 0xc
cmp dword [edi + 0x14], 7
jbe 0x10012861
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x220]
push 0x10092f90
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, str.ISShellPicExts32.dll
test esi, esi
mov eax, str.ISShellPicExts64.dll
cmove eax, ecx
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x450]
call fcn.1000c060
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100128b3
mov edi, dword [ebp - 0x43c]
lea esi, [ebp - 0x450]
sub ecx, edx
mov edx, dword [ebp - 0x440]
sar ecx, 1
cmp edi, 7
cmova esi, dword [ebp - 0x450]
cmp edx, ecx
jne 0x100129c4
lea ecx, [ebp - 0x428]
test edx, edx
je 0x10012915
mov eax, ecx
sub esi, eax
nop dword [eax]
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x100129c4
add ecx, 2
sub edx, 1
jne 0x10012900
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x10012a56
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x450]
cmp dword [ebp - 0x43c], 7
cmova eax, dword [ebp - 0x450]
push eax
lea eax, [ebp - 0x42c]
push 0x10092c3c
push eax
call fcn.10007310
mov esi, dword [ebp - 0x42c]
lea ecx, [ebp - 0x430]
add esp, 8
mov dword [ebp - 0x430], 0
mov edx, str.regsvr32__s__u
push esi
call fcn.10010ae0
mov edx, dword [ebp - 0x430]
or edi, 0xffffffff
add esp, 8
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100129a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x100129be
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x43c]
cmp edi, 7
jbe 0x100129fa
mov ecx, dword [ebp - 0x450]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x100129f0
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012a60
push edi
push ecx
call fcn.10053bf1
add esp, 8
mov ecx, dword [ebp - 0x454]
cmp ecx, 7
jbe 0x10012a36
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012a2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012a65
push ecx
push edx
call fcn.10053bf1
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.10001410
call fcn.10058b57
call fcn.10058b57
int3