Function at 0x45e150
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d74f7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5060c0]
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.004050c0
mov ecx, eax
test ecx, ecx
je 0x45e4ac
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.0041f6d0
add esp, 0xc
call fcn.004050c0
mov ecx, eax
test ecx, ecx
je 0x45e4b6
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.0041f6d0
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [ebp - 0x18]
mov edx, esi
push str.XDImageShow
push edi
call fcn.0045ccd0
push str.ApplicationName
push str.XDImageShow
mov edx, edi
call fcn.0045ccd0
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 2
push eax
mov edx, 0x4e9780
lea ecx, [ebp - 0x34]
call fcn.004624f0
push str.___0
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00414080
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 0x45e269
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.0045ccd0
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 0x45e29b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.ApplicationDescription
push 0x4ee974
mov edx, edi
call fcn.0045ccd0
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.004050c0
mov ecx, eax
test ecx, ecx
je 0x45e4c0
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.0041f6d0
push ecx
push dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0045cb20
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
cmp ebx, eax
je 0x45e428
push ebx
mov edx, str.XDImageShow.
lea ecx, [ebp - 0x34]
call fcn.004624f0
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 0x45e35f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x45e375
call fcn.004050c0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x45e4ac
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, 0x4ea01c
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], esi
push dword [eax - 0xc]
push eax
push 1
call fcn.00414640
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x45e3da
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp - 0x2c], edx
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x45e3b3
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 0x45e3fa
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 0x45e419
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
cmp ebx, dword [ebp - 0x3c]
jne 0x45e326
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 0x45e449
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x45e457
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 0x45e472
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 0x45e48e
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.004a2700
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404ea0
push 0x80004005
call fcn.00404ea0
push 0x80004005
call fcn.00404ea0
int3