Function at 0x1400543d0
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, qword [0x1402c5600]
test rdi, rdi
je 0x140054426
lea rbx, [0x140285003]
mov rcx, rdi
mov rdx, rbx
call fcn.14014c970
test al, al
jne 0x140054461
lea rdx, str.vmodule
mov rcx, rdi
call fcn.14014c970
test al, al
jne 0x140054461
mov eax, dword [rsi]
mov dword [0x1402b56d8], eax
mov bl, 1
test al, 1
jne 0x14005451a
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140054452
call fcn.14019d280
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.14014ca60
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.14014ca60
mov ecx, 0x20
call fcn.14019aa78
mov rdi, rax
lea r9, [0x1402c5570]
mov rcx, rax
mov rdx, rbx
mov r8, r14
call fcn.14020e8e0
cmp byte [rbx + 0x17], 0
jns 0x1400544da
mov rcx, qword [rsp + 0x58]
call fcn.14019aab4
cmp byte [rsp + 0x37], 0
jns 0x1400544eb
mov rcx, qword [rsp + 0x20]
call fcn.14019aab4
test rdi, rdi
je 0x140054426
xor eax, eax
lock cmpxchg qword [0x1402c5578], rdi
je 0x140054426
mov rcx, rdi
call fcn.14020e9a0
mov rcx, rdi
call fcn.14019aab4
jmp 0x140054426
mov rcx, qword [0x1402c5560]
test rcx, rcx
je 0x140054548
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1402c5560], 0
cmp qword [0x1402c5568], 0
jne 0x140054548
and byte [0x1402b56d8], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x140054574
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x14005455f
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x1400545ed
mov qword [0x1402c5560], rax
jmp 0x140054438
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x140054582
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14005463c
lea rdi, [rsi + 8]
mov rcx, qword [0x1402c5568]
test rcx, rcx
jne 0x1400545bd
mov ecx, Ordinal_26
call fcn.14019aa78
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1402c5568], rax
mov rdx, rdi
call fcn.14014b540
cmp dword [rsi + 0x24], 0
jne 0x1400545e1
mov rcx, qword [0x1402c5568]
cmp byte [rcx + 0x17], 0
jns 0x1400545db
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1402025f0
mov ebx, eax
jmp 0x140054438
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x232
call fcn.140131450
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x40]
mov rcx, r14
mov r8d, reloc.WLDAP32.dll_Ordinal_127
mov r9, rdi
call fcn.1401d7890
mov rcx, r14
call fcn.1401d7120
mov rax, qword [rsi + 0x28]
jmp 0x140054568
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x238
call fcn.140131450
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov r8d, reloc.WLDAP32.dll_Ordinal_127
mov r9, rdi
call fcn.1401d7890
mov rcx, rbx
call fcn.1401d7790
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov r8d, Ordinal_41
mov rcx, rax
call fcn.140181360
mov rcx, rbx
call fcn.1401d7120
jmp 0x14005458b