Function at 0x4582a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d24a6
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x4fe0c0]
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.00476d70
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0049e870
add esp, 0xc
mov eax, edi
cmp dword [0x51348c], 0
je 0x458346
cmp esi, 7
jbe 0x458329
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x218]
push 0x4e7030
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.ISShellPicExts64.dll
jmp 0x458368
cmp esi, 7
jbe 0x45834d
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x218]
push 0x4e7030
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.00425670
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.00476d70
cmp dword [0x51348c], 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 0x4585cb
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.0049e870
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 0x4585cb
call fcn.00476d70
cmp dword [0x51348c], 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.004567b0
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 0x458490
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 0x458595
lea ecx, [ebp - 0x420]
test edx, edx
je 0x4584e6
mov eax, ecx
sub esi, eax
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x458595
add ecx, 2
sub edx, 1
jne 0x4584d1
call fcn.00404dd0
mov ecx, eax
test ecx, ecx
je 0x458624
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 0x4e7d24
push eax
call fcn.0041f160
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.00456ea0
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 0x458576
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 0x45858f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x434]
cmp edi, 7
jbe 0x4585cb
mov ecx, dword [ebp - 0x448]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x4585c1
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45862e
push edi
push ecx
call fcn.0049caae
add esp, 8
mov ecx, dword [ebp - 0x44c]
cmp ecx, 7
jbe 0x458607
mov edx, dword [ebp - 0x460]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4585fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458633
push ecx
push edx
call fcn.0049caae
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.0049cdfb
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404bb0
call fcn.004a1e4f
call fcn.004a1e4f
int3