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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x14010c040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, qword [0x14011d648]
test rdi, rdi
je 0x140043f8e
lea rbx, [0x1400f703e]
mov rcx, rdi
mov rdx, rbx
call fcn.14000e690
test al, al
jne 0x140044060
lea rdx, str.vmodule
mov rcx, rdi
call fcn.14000e690
test al, al
jne 0x140044060
mov eax, dword [rsi]
mov dword [0x14010e120], eax
test al, 1
jne 0x140043fb9
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400909a0
mov al, 1
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x14011d600]
test rcx, rcx
jne 0x140043fd3
mov rcx, qword [0x14011d5f0]
test rcx, rcx
je 0x140043ff7
jmp 0x140044019
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14011d600], 0
mov rcx, qword [0x14011d5f0]
test rcx, rcx
jne 0x140044019
and byte [0x14010e120], 0xfe
mov ecx, 0x18
call fcn.14008ed5c
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14011d5f0], rax
mov rdx, qword [rsi + 8]
call fcn.140017f40
cmp dword [rsi + 0x14], 0
jne 0x14004403e
mov rcx, qword [0x14011d5f0]
cmp byte [rcx + 0x17], 0
jns 0x140044038
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400909a0
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400d8f60
lea rax, str.vmodule
lea r8, [rsp + 0x50]
mov qword [r8], rax
mov qword [r8 + 8], 7
lea r14, [rsp + 0x60]
mov rcx, rdi
mov rdx, r14
call fcn.1400468d0
lea r8, [rsp + 0x28]
mov qword [r8], rbx
mov qword [r8 + 8], 1
lea rbx, [rsp + 0x38]
mov rcx, rdi
mov rdx, rbx
call fcn.1400468d0
mov ecx, 0x20
call fcn.14008ed5c
mov rdi, rax
mov rcx, rax
mov rdx, r14
call fcn.1400498d0
lea r14, [0x14011d5f8]
mov rax, qword [0x14010e5a0]
and rax, r14
cmp rax, qword [0x14010e588]
jne 0x1400440e5
lea rcx, [0x14011d5f8]
call fcn.140053b80
mov qword [rdi + 0x18], r14
mov dword [rsp + 0x8c], 0
movzx ecx, byte [rsp + 0x4f]
mov rax, rcx
test cl, cl
jns 0x140044105
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14004413f
test cl, cl
jns 0x140044113
mov rbx, qword [rsp + 0x38]
lea rcx, [rsp + 0x78]
mov qword [rcx], rbx
mov qword [rcx + 8], rax
lea rdx, [rsp + 0x8c]
call fcn.14008e120
test al, al
je 0x14004413f
xor eax, eax
sub eax, dword [rsp + 0x8c]
mov rcx, qword [rdi + 0x18]
mov dword [rcx], eax
cmp byte [rsp + 0x4f], 0
jns 0x140044150
mov rcx, qword [rsp + 0x38]
call fcn.14008ed54
cmp byte [rsp + 0x77], 0
jns 0x140044161
mov rcx, qword [rsp + 0x60]
call fcn.14008ed54
test rdi, rdi
je 0x140043f8e
xor eax, eax
lock cmpxchg qword [0x14011d608], rdi
je 0x140043f8e
mov rcx, qword [rdi + 0x18]
mov rax, qword [0x14010e5a0]
and rax, rcx
cmp rax, qword [0x14010e588]
jne 0x140044197
call fcn.1400540d0
mov qword [rdi + 0x18], 0
mov rbx, qword [rdi]
test rbx, rbx
je 0x1400441d8
mov r14, qword [rdi + 8]
mov rcx, rbx
cmp r14, rbx
je 0x1400441cf
cmp byte [r14 - 9], 0
jns 0x1400441c3
mov rcx, qword [r14 - 0x20]
call fcn.14008ed54
add r14, 0xffffffffffffffe0
cmp r14, rbx
jne 0x1400441b3
mov rcx, qword [rdi]
mov qword [rdi + 8], rbx
call fcn.14008ed54
mov rcx, rdi
call fcn.14008ed54
jmp 0x140043f8e