Function at 0x45b960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2a07
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4fe0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x38], 0
call fcn.00404dd0
mov ecx, eax
test ecx, ecx
je 0x45bcbc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.Capabiliti
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push str.SOFTWAREXDImageShow_ses
push eax
call fcn.0041f160
add esp, 0xc
call fcn.00404dd0
mov ecx, eax
test ecx, ecx
je 0x45bcc6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.eredApplic
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push str.SOFTWARERegist_sations
push eax
call fcn.0041f160
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [ebp - 0x18]
mov edx, esi
push str.XDImageShow
push edi
call fcn.0045a4f0
push str.ApplicationName
push str.XDImageShow
mov edx, edi
call fcn.0045a4f0
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 2
push eax
mov edx, 0x4e36a0
lea ecx, [ebp - 0x34]
call fcn.0045f730
push str.___0
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00451ee0
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov edx, dword [ebp - 0x34]
add esp, 8
mov dword [ebp - 0x38], 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ba79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.ApplicationIcon
push dword [ebp - 0x14]
mov edx, edi
call fcn.0045a4f0
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45baab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.ApplicationDescription
push 0x4e85c0
mov edx, edi
call fcn.0045a4f0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
call fcn.00404dd0
mov ecx, eax
test ecx, ecx
je 0x45bcd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.Associati
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push str._sFile_sons
push eax
call fcn.0041f160
push ecx
push dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0045a320
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
cmp ebx, eax
je 0x45bc38
push ebx
mov edx, str.XDImageShow.
lea ecx, [ebp - 0x34]
call fcn.0045f730
mov esi, dword [ebp - 0x30]
add esp, 4
or esi, 1
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 7
mov eax, dword [ebx]
mov dword [ebp - 0x2c], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x45bb6f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x45bb85
call fcn.00404dd0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x45bcbc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
or esi, 2
mov eax, dword [ebx]
mov edx, 0x4e3f3c
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], esi
push dword [eax - 0xc]
push eax
push 1
call fcn.004521c0
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x45bbea
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp - 0x2c], edx
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x45bbc3
sub ecx, dword [ebp - 0x2c]
sar ecx, 1
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
and dword [ebp - 0x30], 0xfffffffd
add esi, 0xfffffff0
mov byte [ebp - 4], 6
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45bc0a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bc29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, dword [ebp - 0x3c]
jne 0x45bb36
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 4
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bc59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x45bc67
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45bc82
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45bc9e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049cdfb
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404bb0
push 0x80004005
call fcn.00404bb0
push 0x80004005
call fcn.00404bb0
int3