Function at 0x4152ee
Capabilities:
Create process on windows
Persist via run registry key
Schedule task via schtasks
Set registry value

Disassembly:
push 0x2ec
mov eax, 0x4b7178
call fcn.0048f706
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00490cd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x228]
call fcn.004026b1
mov dword [ebp - 4], ebx
push ebx
push ebx
push 6
call fcn.0043cb2e
add esp, 0xc
test eax, eax
je 0x4157b9
push 0x44
pop esi
push esi
lea eax, [ebp - 0x2f8]
push ebx
push eax
call fcn.00490cd0
xor eax, eax
mov dword [ebp - 0x2f8], esi
lea edi, [ebp - 0x264]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x2c8], ax
xor edi, edi
lea eax, [ebp - 0x218]
inc edi
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x2cc], edi
push str.schtasks.exe__Create__tn_CrystalDiskInfo__tr____s____Startup____sc_ONLOGON__RL_HIGHEST__F
push eax
call fcn.00402a35
add esp, 0x18
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2f8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x228]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0x3e8
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x260]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x264]
call esi
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], ebx
push eax
push 0x4e3fcc
push edi
push ebx
push 0x4e3fdc
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x224], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x415748
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x254]
push eax
call ebx
mov byte [ebp - 4], 1
lea esi, [ebp - 0x254]
lea edi, [ebp - 0x284]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x244]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
mov byte [ebp - 4], 2
lea esi, [ebp - 0x244]
lea edi, [ebp - 0x294]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x274]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
mov byte [ebp - 4], 3
lea esi, [ebp - 0x274]
lea edi, [ebp - 0x2a4]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2b4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
mov byte [ebp - 4], 4
sub esp, 0x10
mov edi, esp
mov eax, dword [ebp - 0x234]
lea esi, [ebp - 0x284]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x294]
sub esp, 0x10
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 edi, esp
lea esi, [ebp - 0x2a4]
sub esp, 0x10
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 edi, esp
lea esi, [ebp - 0x2b4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov esi, eax
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2b4]
push eax
call ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x274]
push eax
call ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x244]
push eax
call ebx
mov byte [ebp - 4], 0
lea eax, [ebp - 0x254]
push eax
call ebx
test esi, esi
js 0x415746
push 0x4c6744
lea ecx, [ebp - 0x21c]
call fcn.0041230c
mov byte [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x415534
mov edx, dword [eax]
jmp 0x415536
xor edx, edx
mov eax, dword [ebp - 0x234]
lea esi, [ebp - 0x230]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x415566
call fcn.00415862
and dword [ebp - 0x21c], 0
test esi, esi
js 0x415746
push 0x4c69ac
lea ecx, [ebp - 0x21c]
call fcn.0041230c
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x41558c
mov edx, dword [eax]
jmp 0x41558e
xor edx, edx
mov eax, dword [ebp - 0x230]
lea esi, [ebp - 0x220]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov esi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x4155be
call fcn.00415862
and dword [ebp - 0x21c], 0
test esi, esi
js 0x415746
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x22c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
test eax, eax
js 0x415746
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x224]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x224]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x224]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x224]
push 5
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x415638
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebp - 0x220], 0
push 0x4c5940
lea ecx, [ebp - 0x274]
call fcn.00412357
mov byte [ebp - 4], 7
mov esi, eax
lea edi, [ebp - 0x2a4]
lea eax, [ebp - 0x244]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 8
lea esi, [ebp - 0x244]
lea edi, [ebp - 0x294]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x254]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 9
lea esi, [ebp - 0x254]
lea edi, [ebp - 0x284]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x21c]
push 0x4c69ac
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041230c
mov byte [ebp - 4], 0xa
mov edx, dword [eax]
test edx, edx
je 0x4156b8
mov edx, dword [edx]
jmp 0x4156ba
xor edx, edx
lea esi, [ebp - 0x220]
mov eax, dword [ebp - 0x230]
push esi
sub esp, 0x10
lea esi, [ebp - 0x2a4]
mov edi, esp
mov ecx, dword [eax]
push 3
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x294]
sub esp, 0x10
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 edi, esp
lea esi, [ebp - 0x284]
push 6
push dword [ebp - 0x22c]
movsd dword es:[edi], dword [esi]
push edx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x44]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x41571f
call fcn.00415862
and dword [ebp - 0x21c], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x254]
push eax
call ebx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x244]
push eax
call ebx
mov byte [ebp - 4], 0
lea eax, [ebp - 0x274]
push eax
call ebx
xor ebx, ebx
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x41575e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x224], ebx
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
je 0x415774
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x22c], ebx
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x41578a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x220], ebx
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x4157a0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x230], ebx
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x415847
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x415847
xor eax, eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0xf003f
push ebx
lea eax, [ebp - 0x220]
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x415847
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push str.__s___Startup
push eax
call fcn.00402a35
push dword [ebp - 0x228]
call fcn.00494153
add esp, 0x10
lea eax, [eax*2 + 6]
push eax
push dword [ebp - 0x228]
push 1
push ebx
push 0x4c69ac
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00401fe9
xor eax, eax
inc eax
call fcn.0048f6b5
ret