Function at 0x45b080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3656
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5010c0]
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 - 0x248], 0
xor eax, eax
mov dword [ebp - 0x244], 7
movups xmmword [ebp - 0x258], xmm0
mov word [ebp - 0x258], ax
mov dword [ebp - 4], eax
call fcn.0047e2e0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a15c0
add esp, 0xc
mov eax, edi
cmp dword [0x5164cc], 0
je 0x45b124
cmp dword [edi + 0x14], 7
jbe 0x45b107
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x218]
push 0x4e9080
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.ISShellPicExts64.dll
jmp 0x45b147
cmp dword [edi + 0x14], 7
jbe 0x45b12c
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x218]
push 0x4e9080
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 - 0x23c]
call fcn.00425ca0
movups xmm0, xmmword [ebp - 0x23c]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x25c], 0
movups xmmword [ebp - 0x258], xmm0
movq xmm0, qword [ebp - 0x22c]
movq qword [ebp - 0x248], xmm0
call fcn.0047e2e0
cmp dword [0x5164cc], 0
mov ecx, 0x101
mov eax, 0x201
cmovne eax, ecx
lea ecx, [ebp - 0x25c]
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 0x45b35a
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004a15c0
add esp, 0xc
mov dword [ebp - 0x240], 0x208
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x25c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x45b35a
call fcn.0047e2e0
cmp dword [0x5164cc], esi
mov ecx, str.ISShellPicExts32.dll
mov eax, str.ISShellPicExts64.dll
mov edx, edi
cmove eax, ecx
lea ecx, [ebp - 0x23c]
push eax
call fcn.00459840
add esp, 4
lea edx, [ebp - 0x218]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.00455150
test al, al
je 0x45b31e
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x45b3b3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x23c]
cmp dword [ebp - 0x228], 7
cmova eax, dword [ebp - 0x23c]
push eax
lea eax, [ebp - 0x21c]
push 0x4e9fa4
push eax
call fcn.0041f6f0
add esp, 8
mov dword [ebp - 0x220], esi
mov esi, dword [ebp - 0x21c]
lea ecx, [ebp - 0x220]
mov edx, str.regsvr32__s__u
push esi
call fcn.00459f30
mov edx, dword [ebp - 0x220]
or edi, 0xffffffff
add esp, 8
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b305
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 0x45b31e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x45b35a
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45b350
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b3bd
push ecx
push edx
call fcn.0049f7fe
add esp, 8
mov ecx, dword [ebp - 0x244]
cmp ecx, 7
jbe 0x45b396
mov edx, dword [ebp - 0x258]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45b38c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b3c2
push ecx
push edx
call fcn.0049f7fe
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.0049fb4b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404d50
call fcn.004a4b9f
call fcn.004a4b9f
int3