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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14005b060]
xor rax, rsp
mov qword [rbp - 8], rax
movzx esi, dl
mov rbx, rcx
mov qword [rbp - 0x50], rcx
xor r14d, r14d
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r14w
mov edx, 0x108
lea rcx, [rbp - 0x48]
call fcn.140006f50
mov rdx, rax
mov qword [rbp - 0x38], 0x104
mov qword [rbp - 0x30], 0x107
movzx eax, r14w
mov rdi, rdx
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [rdx + 0x208], r14w
mov qword [rbp - 0x48], rdx
lea r9, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r9, rdx
lea rcx, [0x14005be78]
cmp qword [0x14005be90], 8
cmovae rcx, qword [0x14005be78]
xor r8d, r8d
lea rdx, [0x140050730]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x140010884
mov rdi, qword [0x14005eb48]
xor r8d, r8d
lea rdx, str.Unable_to_create_temporary_file
lea rcx, [rbp - 0x28]
call fcn.14000edc0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.14000f340
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140010828
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010823
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010996
call fcn.14001c70c
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14001096c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001087a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001099c
call fcn.14001c70c
jmp 0x14001096c
lea rax, [rbp - 0x48]
mov rcx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x30]
cmp rdi, 8
cmovae rax, rcx
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400108a0
mov rax, qword [rbp - 0x38]
cmp rdx, rax
ja 0x1400108ca
lea rax, [rbp - 0x48]
cmp rdi, 8
cmovae rax, rcx
mov qword [rbp - 0x38], rdx
mov word [rax + rdx*2], r14w
jmp 0x1400108d9
xor r8d, r8d
sub rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140006520
test sil, sil
je 0x14001095d
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001095d
mov rdi, qword [0x14005eb48]
xor r8d, r8d
lea rdx, str.Unable_to_delete_temporary_file
lea rcx, [rbp - 0x28]
call fcn.14000edc0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.14000f340
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14001095d
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010958
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010990
call fcn.14001c70c
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001c460
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140025138
nop
call fcn.140025138
nop
call fcn.140025138
int3