Function at 0x140140f50
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14041d440]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r12, rdx
mov r13, rcx
call fcn.140004ce0
mov r15, rax
mov r8d, dword [rax + 0x30]
test r8d, r8d
js 0x140140fb2
cmp r8d, dword [rax + 0x14]
jge 0x140140fb2
lea rcx, [rax + 8]
lea rdx, [rsp + 0x38]
call fcn.14000cb30
mov rcx, qword [rsp + 0x48]
jmp 0x140140fca
xor ecx, ecx
mov qword [rsp + 0x48], rcx
lea rax, [0x140370a58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov rdi, 0xffffffffffffffff
cmp ecx, 2
jne 0x1401412f3
lea edx, [rdi + 7]
lea rcx, [rsp + 0x30]
call fcn.14017ff60
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14017fb50
mov r14, rax
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea esi, [rdi + 2]
lea rcx, str.FxSoundPresets
mov r10d, 0xdc00
lea r11d, [rdi + 5]
movzx eax, word [rcx]
test ax, ax
je 0x14014107a
add rcx, 2
lea edx, [rax - 0xd800]
cmp edx, 0x7ff
ja 0x14014104c
movzx r8d, word [rcx]
cmp r8w, r10w
jb 0x14014104c
mov eax, r8d
sub eax, r10d
shl edx, 0xa
or eax, edx
add eax, 0x10000
add rcx, 2
mov edx, 1
cmp eax, 0x80
jb 0x140141072
mov edx, 2
cmp eax, 0x800
jb 0x140141072
mov edx, 3
cmp eax, 0x10000
cmovae rdx, r11
add r9, rdx
inc rsi
jmp 0x140141014
test r9, r9
je 0x1401410b9
mov rax, qword [r14]
mov rbx, rdi
inc rbx
cmp byte [rax + rbx], 0
jne 0x140141085
lea rdx, [rbx + r9]
mov rcx, r14
call fcn.14016ca30
movsxd rax, ebx
add rax, qword [r14]
mov qword [rsp + 0x28], rax
mov r8d, esi
lea rdx, str.FxSoundPresets
lea rcx, [rsp + 0x28]
call fcn.14001be80
mov rcx, qword [r14]
mov qword [rsp + 0x20], rcx
mov eax, dword [rcx - 0x10]
nop
test eax, 0x30000000
jne 0x1401410d0
lock inc dword [rcx - 0x10]
mov rcx, qword [r14]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x1401410f4
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1401410f4
call fcn.1400daaa8
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x140141119
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140141119
call fcn.1400daaa8
lea rax, [rbp - 0x48]
mov qword [rbp - 0x70], rax
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.140014d10
mov rdx, qword [rax]
lea rcx, [rbp - 0x48]
call fcn.14000c570
mov rbx, rax
mov rdx, r12
lea rcx, [rbp - 0x58]
call fcn.140014d10
mov rdx, qword [rax]
lea rcx, [rbp - 0x28]
call fcn.14000c570
lea rcx, [r13 + 0x50]
mov r8, rbx
mov rdx, rax
call fcn.1400bc3f0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp]
call fcn.1400dda90
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.140014d10
mov r8, qword [rax]
mov edx, 0x104
lea rcx, [rbp]
call fcn.1400e891c
mov rax, qword [rsp + 0x40]
mov rdx, rax
xor r9d, r9d
mov r8d, r9d
movzx ecx, byte [rdx]
inc rdx
test cl, cl
jns 0x1401411d3
movzx ecx, byte [rdx]
and cl, 0xc0
cmp cl, 0x80
jne 0x1401411d7
nop dword [rax + rax]
inc rdx
movzx ecx, byte [rdx]
and cl, 0xc0
cmp cl, 0x80
je 0x1401411c0
inc r8
jmp 0x1401411a3
test ecx, ecx
je 0x1401411dc
inc r8
jmp 0x1401411a3
lea ecx, [r8 + 1]
cmp ecx, 0x104
jge 0x140141249
mov rdx, r9
nop dword [rax + rax]
movzx ecx, byte [rax]
inc rax
test cl, cl
jns 0x140141223
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x140141227
nop word [rax + rax]
inc rax
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
je 0x140141210
inc rdx
jmp 0x1401411f0
test ecx, ecx
je 0x14014122c
inc rdx
jmp 0x1401411f0
movsxd rax, edx
lea rax, [rax*2 + 2]
cmp rax, 0x208
jae 0x140141365
mov word [rbp + rax], r9w
mov qword [rsp + 0x58], r9
mov dword [rsp + 0x60], 3
lea rax, [rbp]
mov qword [rsp + 0x68], rax
lea rax, [0x1402d663c]
mov qword [rsp + 0x70], rax
mov eax, 0x414
mov word [rsp + 0x78], ax
mov dword [rsp + 0x7c], r9d
mov qword [rbp - 0x80], r9
lea rax, [0x1402d64ac]
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov rcx, r13
call fcn.14013eae0
mov rdx, r12
mov rcx, r15
call fcn.140146260
mov edx, eax
mov rcx, r13
call fcn.1401436b0
movzx eax, byte [r15 + 0x18]
mov byte [r15 + 0x18], 0
test al, al
je 0x1401412cd
mov edx, 5
mov rcx, r15
call fcn.1401460a0
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x1401412f3
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1401412f3
call fcn.1400daaa8
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x140141318
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140141318
call fcn.1400daaa8
mov rcx, qword [rsp + 0x38]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14014133b
lock xadd dword [rcx], edi
dec edi
cmp edi, 0xffffffff
jne 0x14014133b
call fcn.1400daaa8
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400da5a0
mov rbx, qword [rsp + 0x370]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400dad60
nop
int3