Function at 0x461d80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbf66
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x50b0c0]
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.00485ff0
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.004a8730
add esp, 0xc
mov eax, edi
cmp dword [0x5208d0], 0
je 0x461e26
cmp esi, 7
jbe 0x461e09
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x218]
push 0x4f1270
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.XDZipShellExt64.dll
jmp 0x461e48
cmp esi, 7
jbe 0x461e2d
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x218]
push 0x4f1270
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.XDZipShellExt.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.0042af70
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.00485ff0
cmp dword [0x5208d0], 0
mov ecx, 0x101
mov eax, 0x201
cmovne eax, ecx
lea ecx, [ebp - 0x464]
push ecx
push eax
push 0
push str.CLSIDFB49CED7_2410_4936_B9CB_7B15401768D9InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4620ab
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.004a8730
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 0x4620ab
call fcn.00485ff0
cmp dword [0x5208d0], esi
mov ecx, str.XDZipShellExt.dll
mov eax, str.XDZipShellExt64.dll
mov edx, edi
cmove eax, ecx
lea ecx, [ebp - 0x448]
push eax
call fcn.00460440
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 0x461f70
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 0x462075
lea ecx, [ebp - 0x420]
test edx, edx
je 0x461fc6
mov eax, ecx
sub esi, eax
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x462075
add ecx, 2
sub edx, 1
jne 0x461fb1
call fcn.0040a050
mov ecx, eax
test ecx, ecx
je 0x462104
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 0x4f2598
push eax
call fcn.004248c0
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.00460b30
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 0x462056
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 0x46206f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x434]
cmp edi, 7
jbe 0x4620ab
mov ecx, dword [ebp - 0x448]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x4620a1
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46210e
push edi
push ecx
call fcn.004a6653
add esp, 8
mov ecx, dword [ebp - 0x44c]
cmp ecx, 7
jbe 0x4620e7
mov edx, dword [ebp - 0x460]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4620dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462113
push ecx
push edx
call fcn.004a6653
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.004a69a0
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409e30
call fcn.004abd0f
call fcn.004abd0f
int3