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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xf40
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0xf30], rax
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov r12, rcx
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0x78], 7
xor r13d, r13d
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
lea r8d, [r13 + 0x26]
lea rdx, str.LogUtils::GenerateNewUniqueLogFileName
lea rcx, [rsp + 0x58]
call fcn.140001870
nop
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r9, qword [rsp + 0x60]
lea rax, str.Function_start
mov qword [rsp + 0x20], rax
lea edx, [r13 + 0x32]
lea r8d, [r13 + 1]
mov rcx, r12
call fcn.1400144a0
cmp qword [rbx + 0x18], r13
je 0x140016689
mov word [rsp + 0xd20], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xd22]
call fcn.1400719a0
mov word [rsp + 0xb10], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xb12]
call fcn.1400719a0
mov word [rsp + 0x4e0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x4e2]
call fcn.1400719a0
mov word [rsp + 0x2d0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x2d2]
call fcn.1400719a0
mov word [rsp + 0x6f0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x6f2]
call fcn.1400719a0
mov word [rsp + 0xc0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xc2]
call fcn.1400719a0
mov word [rsp + 0x900], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x902]
call fcn.1400719a0
lea r14, str..Log
nop word [rax + rax]
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x80]
call fcn.140001500
nop
mov rcx, rbx
call fcn.1400014a0
mov rcx, rax
mov qword [rsp + 0x40], 0x104
lea rax, [rsp + 0xb10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x104
lea rax, [rsp + 0xd20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x104
lea r9, [rsp + 0x2d0]
mov r8d, 0x104
lea rdx, [rsp + 0x4e0]
call fcn.140064fb8
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x2d0]
lea r8, [rsp + 0x4e0]
mov edx, 0x104
lea rcx, [rsp + 0xc0]
call fcn.140066450
lea r9, [rsp + 0x6f0]
xor r8d, r8d
lea rdx, [0x1400adb50]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rsp + 0x6f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov qword [rsp + 0x40], 0x104
lea rax, [rsp + 0xb10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x104
lea rax, [rsp + 0x900]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x104
lea r9, [rsp + 0x2d0]
mov r8d, 0x104
lea rdx, [rsp + 0x4e0]
lea rcx, [rsp + 0x6f0]
call fcn.140064fb8
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x900]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x900]
lea rcx, [rsp + 0x80]
call fcn.14000a130
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rdx, qword [rsp + 0x88]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x2d0]
lea r8, [rsp + 0x4e0]
mov edx, 0x104
lea rcx, [rsp + 0xc0]
call fcn.140066450
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.140067eb4
test eax, eax
jne 0x14001663d
mov dil, 1
jmp 0x140016668
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xc0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xc0]
mov rcx, rbp
call fcn.140001870
xor dil, dil
cmp qword [rsp + 0xa0], 8
jb 0x140016680
mov rcx, qword [rsp + 0x88]
call fcn.140065920
test dil, dil
jne 0x140016470
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r9, qword [rsp + 0x60]
mov dword [rsp + 0x28], 8
lea rax, str.Return_code__0x_x_
mov qword [rsp + 0x20], rax
mov edx, 0x28
lea r8d, [rdx - 0x27]
mov rcx, r12
call fcn.1400144a0
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r9, qword [rsp + 0x60]
lea rax, str.Function_end
mov qword [rsp + 0x20], rax
mov edx, 0x32
lea r8d, [rdx - 0x31]
mov rcx, r12
call fcn.1400144a0
nop
cmp qword [rsp + 0x78], 8
jb 0x140016700
mov rcx, qword [rsp + 0x60]
call fcn.140065920
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
cmp qword [rbx + 0x20], 8
jb 0x140016724
mov rcx, qword [rbx + 8]
call fcn.140065920
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], r13
mov word [rbx + 8], r13w
cmp qword [rsi + 0x20], 8
jb 0x140016745
mov rcx, qword [rsi + 8]
call fcn.140065920
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], r13
mov word [rsi + 8], r13w
mov eax, 8
mov rcx, qword [rsp + 0xf30]
xor rcx, rsp
call fcn.140064b70
add rsp, 0xf40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret