Function at 0x45ac00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce30f
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4fe0a8]
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.0045b450
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45b3ab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push 0x4e7288
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], esi
push str.Frien_same
push eax
call fcn.0041a070
add esp, 0xc
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.0045b3c0
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 0x45b1e9
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45b3ab
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.0041a070
push edi
mov edx, str.XDCadViewer.
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x24]
call fcn.0045d080
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.0045d080
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 0x45ad27
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.0045a360
mov esi, dword [ebp - 0x30]
test eax, eax
jne 0x45ad85
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x45ad85
mov edx, eax
lea edi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x45ad60
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 0x45ad97
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, 0x4e7588
mov esi, dword [esi]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45add9
test dx, dx
je 0x45add5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45add9
add eax, 4
add ecx, 4
test dx, dx
jne 0x45adb3
xor eax, eax
jmp 0x45adde
sbb eax, eax
or eax, 1
test eax, eax
je 0x45ae98
mov ecx, 0x4e7590
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45ae16
test dx, dx
je 0x45ae12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45ae16
add eax, 4
add ecx, 4
test dx, dx
jne 0x45adf0
xor eax, eax
jmp 0x45ae1b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45ae27
lea edi, [eax + 4]
jmp 0x45ae98
mov ecx, 0x4e7598
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45ae56
test dx, dx
je 0x45ae52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45ae56
add eax, 4
add ecx, 4
test dx, dx
jne 0x45ae30
xor eax, eax
jmp 0x45ae5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x45ae93
mov eax, str.dwfx
mov cx, word [esi]
cmp cx, word [eax]
jne 0x45ae8a
test cx, cx
je 0x45ae86
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x45ae8a
add esi, 4
add eax, 4
test cx, cx
jne 0x45ae64
xor eax, eax
jmp 0x45ae8f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45ae98
mov edi, 2
mov dword [ebp - 0x1c], 0
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45b3ab
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.0041a070
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 0x45aefa
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x45af10
call fcn.00404d50
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x45b3ab
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.00452be0
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.0045a360
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x4c]
test eax, eax
jne 0x45af96
test esi, esi
je 0x45af96
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45af71
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 0x45afa8
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 0x45afdc
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 0x45affd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45b3ab
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.0041a070
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.0045a360
mov esi, dword [ebp - 0x58]
test eax, eax
jne 0x45b08d
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x45b08d
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b067
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 0x45b09f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45b3ab
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.0041a070
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.0045a360
mov ebx, dword [ebp - 0x64]
test eax, eax
jne 0x45b146
mov edx, dword [ebp - 0x6c]
test edx, edx
je 0x45b146
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 0x45b120
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 0x45b158
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 0x45b17d
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 0x45b198
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 0x45b1b6
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 0x45b1d4
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 0x45aca2
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45b3b5
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.0041a070
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.0045a360
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 0x45b327
nop dword [eax + eax]
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x45b3ab
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.0045d080
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.0041a070
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 0x45b2db
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 0x45b315
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 0x45b270
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x45b332
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 0x45b350
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 0x45b36e
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 0x45b38d
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.0049d3dd
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404b30
push 0x80004005
call fcn.00404b30
int3