Function at 0x45fb10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d18cf
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.00460360
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4602bb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push 0x4ea61c
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.004602d0
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 0x4600f9
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4602bb
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.00453ba0
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.00453ba0
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 0x45fc37
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.0045f270
mov esi, dword [ebp - 0x30]
test eax, eax
jne 0x45fc95
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x45fc95
mov edx, eax
lea edi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x45fc70
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 0x45fca7
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, 0x4ea910
mov esi, dword [esi]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45fce9
test dx, dx
je 0x45fce5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45fce9
add eax, 4
add ecx, 4
test dx, dx
jne 0x45fcc3
xor eax, eax
jmp 0x45fcee
sbb eax, eax
or eax, 1
test eax, eax
je 0x45fda8
mov ecx, 0x4ea918
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45fd26
test dx, dx
je 0x45fd22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45fd26
add eax, 4
add ecx, 4
test dx, dx
jne 0x45fd00
xor eax, eax
jmp 0x45fd2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45fd37
lea edi, [eax + 4]
jmp 0x45fda8
mov ecx, 0x4ea920
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45fd66
test dx, dx
je 0x45fd62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45fd66
add eax, 4
add ecx, 4
test dx, dx
jne 0x45fd40
xor eax, eax
jmp 0x45fd6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x45fda3
mov eax, str.dwfx
mov cx, word [esi]
cmp cx, word [eax]
jne 0x45fd9a
test cx, cx
je 0x45fd96
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x45fd9a
add esi, 4
add eax, 4
test cx, cx
jne 0x45fd74
xor eax, eax
jmp 0x45fd9f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45fda8
mov edi, 2
mov dword [ebp - 0x1c], 0
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4602bb
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 0x45fe0a
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x45fe20
call fcn.00404de0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x4602bb
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.00453e50
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.0045f270
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x4c]
test eax, eax
jne 0x45fea6
test esi, esi
je 0x45fea6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fe81
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 0x45feb8
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 0x45feec
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 0x45ff0d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4602bb
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.0045f270
mov esi, dword [ebp - 0x58]
test eax, eax
jne 0x45ff9d
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x45ff9d
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ff77
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 0x45ffaf
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 0x4602bb
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.0045f270
mov ebx, dword [ebp - 0x64]
test eax, eax
jne 0x460056
mov edx, dword [ebp - 0x6c]
test edx, edx
je 0x460056
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 0x460030
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 0x460068
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 0x46008d
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 0x4600a8
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 0x4600c6
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 0x4600e4
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 0x45fbb2
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4602c5
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.0045f270
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 0x460237
nop dword [eax + eax]
call fcn.00404de0
mov ecx, eax
test ecx, ecx
je 0x4602bb
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.00453ba0
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 0x4601eb
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 0x460225
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 0x460180
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x460242
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 0x460260
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 0x46027e
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 0x46029d
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.004a024d
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404bc0
push 0x80004005
call fcn.00404bc0
int3