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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x140425440]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
mov r12, rdx
mov r13, rcx
call fcn.140004ce0
mov r15, rax
mov r8d, dword [rax + 0x30]
lea rbx, [0x140379908]
test r8d, r8d
js 0x14013e449
cmp r8d, dword [rax + 0x14]
jge 0x14013e449
lea rcx, [rax + 8]
lea rdx, [rsp + 0x40]
call fcn.14000cb10
mov rcx, qword [rsp + 0x50]
jmp 0x14013e45a
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov rdi, 0xffffffffffffffff
cmp ecx, 2
jne 0x14013e83a
xor r9d, r9d
mov r8d, reloc.OLEAUT32.dll_SafeArrayCopy
lea rdx, [rbp + 0x1e0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14013e4ce
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x20]
call fcn.14001a140
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140178d10
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013e4d3
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, edi
jne 0x14013e4d3
call fcn.1400da0f0
jmp 0x14013e4d3
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.14017e080
mov r14, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
mov r9d, ebx
mov esi, 1
lea rcx, [0x1402d5e10]
mov r10d, 0xdc00
mov r11d, 4
movzx eax, word [rcx]
test ax, ax
je 0x14013e56d
add rcx, 2
lea edx, [rax - 0xd800]
cmp edx, 0x7ff
ja 0x14013e53f
movzx r8d, word [rcx]
cmp r8w, r10w
jb 0x14013e53f
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 0x14013e565
mov edx, 2
cmp eax, 0x800
jb 0x14013e565
mov edx, 3
cmp eax, 0x10000
cmovae rdx, r11
add r9, rdx
inc rsi
jmp 0x14013e507
test r9, r9
je 0x14013e5b6
mov rax, qword [r14]
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14013e580
lea rdx, [rbx + r9]
mov rcx, r14
call fcn.14016a9f0
movsxd rax, ebx
add rax, qword [r14]
mov qword [rsp + 0x20], rax
mov r8d, esi
lea rdx, [0x1402d5e10]
lea rcx, [rsp + 0x20]
call fcn.14001cb60
xor ebx, ebx
mov rcx, qword [r14]
mov qword [rsp + 0x20], rcx
mov eax, dword [rcx - 0x10]
nop
test eax, 0x30000000
jne 0x14013e5cd
lock inc dword [rcx - 0x10]
mov rcx, qword [r14]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013e5f1
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14013e5f1
call fcn.1400da0f0
nop
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013e616
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14013e616
call fcn.1400da0f0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140015780
mov rdx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14013e650
lea rcx, [rsp + 0x58]
call fcn.14000c390
nop
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.140015780
mov rdx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14013e690
lea rcx, [rsp + 0x78]
call fcn.14000c390
lea rcx, [r13 + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400bb570
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.1402a2d50
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140015780
mov r8, qword [rax]
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.1400e754c
mov rax, qword [rsp + 0x48]
mov rdx, rax
mov r8, rbx
movzx ecx, byte [rdx]
inc rdx
test cl, cl
jns 0x14013e723
movzx ecx, byte [rdx]
and cl, 0xc0
cmp cl, 0x80
jne 0x14013e727
nop dword [rax]
inc rdx
movzx ecx, byte [rdx]
and cl, 0xc0
cmp cl, 0x80
je 0x14013e710
inc r8
jmp 0x14013e6f4
test ecx, ecx
je 0x14013e72c
inc r8
jmp 0x14013e6f4
lea ecx, [r8 + 1]
cmp ecx, 0x104
jge 0x14013e798
mov rdx, rbx
nop dword [rax + rax]
movzx ecx, byte [rax]
inc rax
test cl, cl
jns 0x14013e773
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x14013e777
nop word [rax + rax]
inc rax
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
je 0x14013e760
inc rdx
jmp 0x14013e740
test ecx, ecx
je 0x14013e77c
inc rdx
jmp 0x14013e740
movsxd rax, edx
lea rax, [rax*2 + 2]
cmp rax, 0x208
jae 0x14013e8ac
mov word [rbp + rax - 0x30], bx
mov qword [rbp - 0x68], rbx
mov dword [rbp - 0x60], 3
lea rax, [rbp - 0x30]
mov qword [rbp - 0x58], rax
lea rax, [0x1402d5da0]
mov qword [rbp - 0x50], rax
mov eax, 0x414
mov word [rbp - 0x48], ax
mov dword [rbp - 0x44], ebx
mov qword [rbp - 0x40], rbx
lea rax, [0x1402d5da4]
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x68]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov rcx, r13
call fcn.14013c350
mov rdx, r12
mov rcx, r15
call fcn.140143d10
mov edx, eax
mov rcx, r13
call fcn.140141070
movzx eax, byte [r15 + 0x18]
mov byte [r15 + 0x18], 0
test al, al
je 0x14013e814
mov edx, 5
mov rcx, r15
call fcn.140143b50
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013e83a
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14013e83a
call fcn.1400da0f0
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013e85f
mov eax, edi
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x14013e85f
call fcn.1400da0f0
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14013e882
lock xadd dword [rcx], edi
dec edi
cmp edi, 0xffffffff
jne 0x14013e882
call fcn.1400da0f0
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.1400d9d70
mov rbx, qword [rsp + 0x750]
add rsp, 0x700
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400da3a8
nop
int3