Function at 0x45fd20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d15ef
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5020a8]
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 - 0x70], ebx
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x6c], esi
call fcn.00460570
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4604cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push 0x4eaba4
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], esi
push str.Frien_same
push eax
call fcn.0041a0f0
add esp, 0xc
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.004604e0
mov byte [ebp - 4], 1
mov edi, dword [ebx]
mov eax, dword [ebx + 4]
or ebx, 0xffffffff
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x40], eax
cmp edi, eax
je 0x460309
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4604cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push dword [ebp - 0x78]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push dword [edi]
push str._s__s
push eax
call fcn.0041a0f0
push edi
mov edx, str.XDCadViewer.
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x24]
call fcn.00453db0
or esi, 2
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
mov edx, str.SOFTWAREClasses_
lea ecx, [ebp - 0x18]
call fcn.00453db0
add esp, 0x18
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45fe47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x14
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0045f480
mov esi, dword [ebp - 0x30]
test eax, eax
jne 0x45fea5
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x45fea5
mov edx, eax
lea edi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x45fe80
sub edx, edi
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x45feb7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 6
mov edi, 3
mov esi, dword [ebp - 0x20]
mov ecx, 0x4ea83c
mov esi, dword [esi]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45fef9
test dx, dx
je 0x45fef5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45fef9
add eax, 4
add ecx, 4
test dx, dx
jne 0x45fed3
xor eax, eax
jmp 0x45fefe
sbb eax, eax
or eax, 1
test eax, eax
je 0x45ffb8
mov ecx, 0x4ea868
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45ff36
test dx, dx
je 0x45ff32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45ff36
add eax, 4
add ecx, 4
test dx, dx
jne 0x45ff10
xor eax, eax
jmp 0x45ff3b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45ff47
lea edi, [eax + 4]
jmp 0x45ffb8
mov ecx, 0x4ea860
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45ff76
test dx, dx
je 0x45ff72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45ff76
add eax, 4
add ecx, 4
test dx, dx
jne 0x45ff50
xor eax, eax
jmp 0x45ff7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x45ffb3
mov eax, str.dwfx
mov cx, word [esi]
cmp cx, word [eax]
jne 0x45ffaa
test cx, cx
je 0x45ffa6
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x45ffaa
add esi, 4
add eax, 4
test cx, cx
jne 0x45ff84
xor eax, eax
jmp 0x45ffaf
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45ffb8
mov edi, 2
mov dword [ebp - 0x1c], 0
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4604cb
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x68]
add eax, 0x10
mov dword [ebp - 0x1c], eax
or ebx, 8
mov eax, dword [ebp - 0x70]
push edi
mov dword [ebp - 0x6c], ebx
push dword [eax + 0xc]
lea eax, [ebp - 0x1c]
push str._s__d
push eax
call fcn.0041a0f0
add esp, 0x10
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x46001a
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x460030
call fcn.00404de0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4604cb
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push 0xc
push str.DefaultIcon
add eax, 0x10
or ebx, 0x10
push dword [edx - 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
call fcn.00454060
mov edi, dword [ebp - 0x14]
sub esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push edi
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0045f480
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x4c]
test eax, eax
jne 0x4600b6
test esi, esi
je 0x4600b6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460091
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ebx, ebx
je 0x4600c8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x68]
or ebx, 0xffffffff
and ecx, 0xffffffef
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x68], ecx
add edi, 0xfffffff0
mov dword [ebp - 0x6c], ecx
mov eax, ebx
mov byte [ebp - 4], 6
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4600fc
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x68]
and ecx, 0xfffffff7
mov byte [ebp - 4], 5
mov dword [ebp - 0x68], ecx
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46011d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4604cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.ellop
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1c]
push dword [ebp - 0x18]
push str._s_sh_sen
push eax
call fcn.0041a0f0
mov edi, dword [ebp - 0x1c]
push ecx
push edi
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.0045f480
mov esi, dword [ebp - 0x58]
test eax, eax
jne 0x4601ad
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x4601ad
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460187
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4601bf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4604cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.ellopenco
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14]
push dword [ebp - 0x18]
push str._s_sh_smmand
push eax
call fcn.0041a0f0
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
push ecx
push esi
push ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.0045f480
mov ebx, dword [ebp - 0x64]
test eax, eax
jne 0x460266
mov edx, dword [ebp - 0x6c]
test edx, edx
je 0x460266
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460240
sub ecx, dword [ebp - 0x14]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ebx, ebx
je 0x460278
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x64], 0
or ebx, 0xffffffff
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46029d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4602b8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4602d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4602f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x68]
add edi, 4
mov dword [ebp - 0x20], edi
cmp edi, dword [ebp - 0x40]
jne 0x45fdc2
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4604d5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push str.tionAssociation
push str.tVersionA
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xa
push str.SOFTWAREMicrosoftWindowsCurren_spplica_sToasts
push eax
call fcn.0041a0f0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push ecx
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x24]
push edi
push ecx
lea ecx, [ebp - 0x30]
call fcn.0045f480
mov eax, dword [ebp - 0x70]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
cmp ebx, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x30]
je 0x460447
nop dword [eax + eax]
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4604cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push ebx
mov edx, str.XDCadViewer.
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x70]
call fcn.00453db0
or esi, 0x20
mov dword [ebp - 0x68], esi
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x20]
push dword [ebx]
push dword [ebp - 0x70]
push str._s_._s
push eax
call fcn.0041a0f0
mov byte [ebp - 4], 0xc
add esp, 0x14
mov edx, dword [ebp - 0x70]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4603fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x40]
push 4
push eax
push 4
push 0
push esi
push dword [ebp - 0x30]
mov dword [ebp - 0x40], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0xb
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x460435
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x68]
add ebx, 4
cmp ebx, dword [ebp - 0x74]
jne 0x460390
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x460452
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x460470
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46048e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4604ad
mov ecx, dword [edx]
push edx
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.0049fe2d
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404bc0
push 0x80004005
call fcn.00404bc0
int3