Function at 0x140028960
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x14022c040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, qword [0x14023e368]
test rdi, rdi
je 0x1400289b6
lea rbx, [0x14020bbd3]
mov rcx, rdi
mov rdx, rbx
call fcn.140110500
test al, al
jne 0x1400289f1
lea rdx, str.vmodule
mov rcx, rdi
call fcn.140110500
test al, al
jne 0x1400289f1
mov eax, dword [rsi]
mov dword [0x14022e638], eax
mov bl, 1
test al, 1
jne 0x140028aaa
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x14022c040]
je 0x1400289e2
call fcn.1401363f0
int3
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.vmodule
lea r8, [rsp + 0x70]
mov qword [r8], rax
mov qword [r8 + 8], 7
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.140110620
lea r8, [rsp + 0x48]
mov qword [r8], rbx
mov qword [r8 + 8], 1
lea rbx, [rsp + 0x58]
mov rcx, rdi
mov rdx, rbx
call fcn.140110620
mov ecx, 0x20
call fcn.140133b54
mov rdi, rax
lea r9, [0x14023e2a0]
mov rcx, rax
mov rdx, rbx
mov r8, r14
call fcn.140197b30
cmp byte [rbx + 0x17], 0
jns 0x140028a6a
mov rcx, qword [rsp + 0x58]
call fcn.140133b2c
cmp byte [rsp + 0x37], 0
jns 0x140028a7b
mov rcx, qword [rsp + 0x20]
call fcn.140133b2c
test rdi, rdi
je 0x1400289b6
xor eax, eax
lock cmpxchg qword [0x14023e2a8], rdi
je 0x1400289b6
mov rcx, rdi
call fcn.140197c00
mov rcx, rdi
call fcn.140133b2c
jmp 0x1400289b6
mov rcx, qword [0x14023e290]
test rcx, rcx
je 0x140028ad8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14023e290], 0
cmp qword [0x14023e298], 0
jne 0x140028ad8
and byte [0x14022e638], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x140028b04
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x140028aef
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x140028b7d
mov qword [0x14023e290], rax
jmp 0x1400289c8
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x140028b12
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140028bcc
lea rdi, [rsi + 8]
mov rcx, qword [0x14023e298]
test rcx, rcx
jne 0x140028b4d
mov ecx, 0x18
call fcn.140133b54
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14023e298], rax
mov rdx, rdi
call fcn.1400dbe80
cmp dword [rsi + 0x24], 0
jne 0x140028b71
mov rcx, qword [0x14023e298]
cmp byte [rcx + 0x17], 0
jns 0x140028b6b
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.14018bc90
mov ebx, eax
jmp 0x1400289c8
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x232
call fcn.1400d5a00
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x40]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.14016be40
mov rcx, r14
call fcn.14016b8e0
mov rax, qword [rsi + 0x28]
jmp 0x140028af8
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x238
call fcn.1400d5a00
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.14016be40
mov rcx, rbx
call fcn.14016bd40
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov r8d, 0x25
mov rcx, rax
call fcn.140122650
mov rcx, rbx
call fcn.14016b8e0
jmp 0x140028b1b