Function at 0x45e700
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3bb7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5010c0]
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.00404f80
mov ecx, eax
test ecx, ecx
je 0x45ea5c
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.0041f6f0
add esp, 0xc
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x45ea66
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.0041f6f0
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [ebp - 0x18]
mov edx, esi
push str.XDImageShow
push edi
call fcn.0045d280
push str.ApplicationName
push str.XDImageShow
mov edx, edi
call fcn.0045d280
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 2
push eax
mov edx, 0x4e56c0
lea ecx, [ebp - 0x34]
call fcn.004624d0
push str.___0
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004140d0
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 0x45e819
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.0045d280
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 0x45e84b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.ApplicationDescription
push 0x4ea868
mov edx, edi
call fcn.0045d280
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.00404f80
mov ecx, eax
test ecx, ecx
je 0x45ea70
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.0041f6f0
push ecx
push dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0045d0b0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
cmp ebx, eax
je 0x45e9d8
push ebx
mov edx, str.XDImageShow.
lea ecx, [ebp - 0x34]
call fcn.004624d0
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 0x45e90f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x45e925
call fcn.00404f80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x45ea5c
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, 0x4e5f5c
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], esi
push dword [eax - 0xc]
push eax
push 1
call fcn.00414690
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x45e98a
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp - 0x2c], edx
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x45e963
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 0x45e9aa
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 0x45e9c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, dword [ebp - 0x3c]
jne 0x45e8d6
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 0x45e9f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x45ea07
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 0x45ea22
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 0x45ea3e
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.0049fb4b
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404d50
push 0x80004005
call fcn.00404d50
push 0x80004005
call fcn.00404d50
int3