Function at 0x405720
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf1c0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5053a4]
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
lea esi, [ecx + 0x498]
mov dword [ebp - 0x18], 0
push 0x4f5c50
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.00406600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push str.uninst.exe
mov edx, esi
mov dword [ebp - 0x1c], 0
call fcn.00406600
add esp, 8
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsSciktyNotes.exe
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00408680
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x40]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 0x40]
mov edi, eax
neg edi
sbb edi, edi
or esi, 0xffffffff
inc edi
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4057f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, 1
test edi, edi
je 0x40588d
mov eax, dword [ebp - 0x18]
mov edx, ebx
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x40581c
push 0
lea ecx, [ebp - 0x18]
call fcn.00408460
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408680
push 0x4f61c8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00408680
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x40]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405873
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40588d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.00405630
mov eax, 0xffff
add word [ebp - 0x3c], ax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
mov edx, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebp - 0x44], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4058e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x14]
call fcn.00408680
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 0x14]
mov edi, eax
neg edi
mov ecx, esi
sbb edi, edi
add edx, 0xfffffff0
inc edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x405938
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x405ba9
push 0x4f5928
lea ecx, [ebp - 0x40]
call fcn.00408680
push str.DisplayName
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00408680
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call edi
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40599d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4059b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov edx, ebx
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x4059d3
push 0
lea ecx, [ebp - 0x1c]
call fcn.00408460
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00408680
push str.UninstallString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00408680
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call edi
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405a26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405a40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
sub ebx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, ebx
jge 0x405a5a
push 0
lea ecx, [ebp - 0x18]
call fcn.00408460
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x40]
call fcn.00408680
push str.DisplayIcon
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00408680
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call edi
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405aad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405ac7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4f6024
lea ecx, [ebp - 0x40]
call fcn.00408680
push str.DisplayVersion
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00408680
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call edi
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405b1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405b38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4f6054
lea ecx, [ebp - 0x40]
call fcn.00408680
push str.Publisher
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00408680
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call edi
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405b8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405ba9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x44], 0
je 0x405be9
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
call fcn.00405630
inc word [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405be9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x405bf9
push eax
call edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x405c03
push eax
call edi
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405c21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x405c40
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.004a4bf6
mov esp, ebp
pop ebp
ret