Function at 0x45aa40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6f96
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x5060c0]
xor eax, ebp
mov dword [ebp - 0x10], 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 - 0x450], 0
xor eax, eax
mov dword [ebp - 0x44c], 7
movups xmmword [ebp - 0x460], xmm0
mov word [ebp - 0x460], ax
mov dword [ebp - 4], eax
call fcn.00480d70
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.004a4300
add esp, 0xc
mov eax, edi
cmp dword [0x51b6cc], 0
je 0x45aae6
cmp esi, 7
jbe 0x45aac9
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x218]
push 0x4ed148
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.ISShellPicExts64.dll
jmp 0x45ab08
cmp esi, 7
jbe 0x45aaed
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x218]
push 0x4ed148
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.ISShellPicExts32.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x47c]
call fcn.00425cf0
movups xmm0, xmmword [ebp - 0x47c]
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x464], 0
movups xmmword [ebp - 0x460], xmm0
movq xmm0, qword [ebp - 0x46c]
movq qword [ebp - 0x450], xmm0
call fcn.00480d70
cmp dword [0x51b6cc], 0
mov ecx, 0x101
mov eax, 0x201
cmovne eax, ecx
lea ecx, [ebp - 0x464]
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 0x45ad6b
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.004a4300
add esp, 0xc
mov dword [ebp - 0x430], 0x208
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x42c]
push eax
push esi
push esi
push dword [ebp - 0x464]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x464]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x45ad6b
call fcn.00480d70
cmp dword [0x51b6cc], esi
mov ecx, str.ISShellPicExts32.dll
mov eax, str.ISShellPicExts64.dll
mov edx, edi
cmove eax, ecx
lea ecx, [ebp - 0x448]
push eax
call fcn.00459030
add esp, 4
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ac30
mov edi, dword [ebp - 0x434]
lea esi, [ebp - 0x448]
sub ecx, edx
mov edx, dword [ebp - 0x438]
sar ecx, 1
cmp edi, 7
cmova esi, dword [ebp - 0x448]
cmp edx, ecx
jne 0x45ad35
lea ecx, [ebp - 0x420]
test edx, edx
je 0x45ac86
mov eax, ecx
sub esi, eax
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x45ad35
add ecx, 2
sub edx, 1
jne 0x45ac71
call fcn.004050c0
mov ecx, eax
test ecx, ecx
je 0x45adc4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x448]
cmp dword [ebp - 0x434], 7
cmova eax, dword [ebp - 0x448]
push eax
lea eax, [ebp - 0x424]
push 0x4ee014
push eax
call fcn.0041f6d0
mov esi, dword [ebp - 0x424]
lea ecx, [ebp - 0x428]
add esp, 8
mov dword [ebp - 0x428], 0
mov edx, str.regsvr32__s__u
push esi
call fcn.00459720
mov edx, dword [ebp - 0x428]
or edi, 0xffffffff
add esp, 8
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ad16
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 0x45ad2f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x434]
cmp edi, 7
jbe 0x45ad6b
mov ecx, dword [ebp - 0x448]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x45ad61
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45adce
push edi
push ecx
call fcn.004a23b3
add esp, 8
mov ecx, dword [ebp - 0x44c]
cmp ecx, 7
jbe 0x45ada7
mov edx, dword [ebp - 0x460]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45ad9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45add3
push ecx
push edx
call fcn.004a23b3
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 - 0x10]
xor ecx, ebp
call fcn.004a2700
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404ea0
call fcn.004a78df
call fcn.004a78df
int3