Function at 0x45aa90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb8ff
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4fa0a8]
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.0045b2e0
call fcn.00404d00
mov ecx, eax
test ecx, ecx
je 0x45b23b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push 0x4e3da0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], esi
push str.Frien_same
push eax
call fcn.00420260
add esp, 0xc
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.0045b250
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 0x45b079
call fcn.00404d00
mov ecx, eax
test ecx, ecx
je 0x45b23b
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.00420260
push edi
mov edx, str.XDCadViewer.
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x24]
call fcn.0045cf10
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.0045cf10
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 0x45abb7
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.0045a1f0
mov esi, dword [ebp - 0x30]
test eax, eax
jne 0x45ac15
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x45ac15
mov edx, eax
lea edi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x45abf0
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 0x45ac27
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, 0x4e40a0
mov esi, dword [esi]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45ac69
test dx, dx
je 0x45ac65
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45ac69
add eax, 4
add ecx, 4
test dx, dx
jne 0x45ac43
xor eax, eax
jmp 0x45ac6e
sbb eax, eax
or eax, 1
test eax, eax
je 0x45ad28
mov ecx, 0x4e40a8
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45aca6
test dx, dx
je 0x45aca2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45aca6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45ac80
xor eax, eax
jmp 0x45acab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45acb7
lea edi, [eax + 4]
jmp 0x45ad28
mov ecx, 0x4e40b0
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45ace6
test dx, dx
je 0x45ace2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45ace6
add eax, 4
add ecx, 4
test dx, dx
jne 0x45acc0
xor eax, eax
jmp 0x45aceb
sbb eax, eax
or eax, 1
test eax, eax
je 0x45ad23
mov eax, str.dwfx
mov cx, word [esi]
cmp cx, word [eax]
jne 0x45ad1a
test cx, cx
je 0x45ad16
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x45ad1a
add esi, 4
add eax, 4
test cx, cx
jne 0x45acf4
xor eax, eax
jmp 0x45ad1f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45ad28
mov edi, 2
mov dword [ebp - 0x1c], 0
call fcn.00404d00
mov ecx, eax
test ecx, ecx
je 0x45b23b
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.00420260
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 0x45ad8a
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x45ada0
call fcn.00404d00
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x45b23b
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.00452b50
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.0045a1f0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x4c]
test eax, eax
jne 0x45ae26
test esi, esi
je 0x45ae26
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ae01
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 0x45ae38
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 0x45ae6c
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 0x45ae8d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404d00
mov ecx, eax
test ecx, ecx
je 0x45b23b
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.00420260
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.0045a1f0
mov esi, dword [ebp - 0x58]
test eax, eax
jne 0x45af1d
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x45af1d
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45aef7
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 0x45af2f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call fcn.00404d00
mov ecx, eax
test ecx, ecx
je 0x45b23b
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.00420260
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.0045a1f0
mov ebx, dword [ebp - 0x64]
test eax, eax
jne 0x45afd6
mov edx, dword [ebp - 0x6c]
test edx, edx
je 0x45afd6
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 0x45afb0
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 0x45afe8
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 0x45b00d
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 0x45b028
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 0x45b046
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 0x45b064
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 0x45ab32
call fcn.00404d00
mov ecx, eax
test ecx, ecx
je 0x45b245
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.00420260
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.0045a1f0
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 0x45b1b7
nop dword [eax + eax]
call fcn.00404d00
mov ecx, eax
test ecx, ecx
je 0x45b23b
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.0045cf10
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.00420260
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 0x45b16b
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 0x45b1a5
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 0x45b100
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x45b1c2
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 0x45b1e0
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 0x45b1fe
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 0x45b21d
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.0049a9dd
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404ae0
push 0x80004005
call fcn.00404ae0
int3