Function at 0x140044c80
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 [0x140113040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, qword [0x140124838]
test rdi, rdi
je 0x140044cde
lea rbx, [0x1400fc68e]
mov rcx, rdi
mov rdx, rbx
call fcn.14000b0b0
test al, al
jne 0x140044db2
lea rdx, str.vmodule
mov rcx, rdi
call fcn.14000b0b0
test al, al
jne 0x140044db2
mov eax, dword [rsi]
mov dword [0x140115568], eax
test al, 1
jne 0x140044d09
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400931d0
mov al, 1
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x1401247b8]
test rcx, rcx
jne 0x140044d23
mov rcx, qword [0x1401247a8]
test rcx, rcx
je 0x140044d47
jmp 0x140044d6b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401247b8], 0
mov rcx, qword [0x1401247a8]
test rcx, rcx
jne 0x140044d6b
and byte [0x140115568], 0xfe
mov ecx, 0x18
call fcn.1400910bc
mov rcx, rax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401247a8], rax
mov rdx, qword [rsi + 8]
call fcn.140017ec0
cmp dword [rsi + 0x14], 0
jne 0x140044d90
mov rcx, qword [0x1401247a8]
cmp byte [rcx + 0x17], 0
jns 0x140044d8a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400931d0
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400de940
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.140047680
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.140047680
mov ecx, 0x20
call fcn.1400910bc
mov rdi, rax
mov rcx, rax
mov rdx, r14
call fcn.14004bfb0
lea r14, [0x1401247b0]
mov rax, qword [0x1401155a0]
and rax, r14
cmp rax, qword [0x140115588]
jne 0x140044e37
lea rcx, [0x1401247b0]
call fcn.140055410
mov qword [rdi + 0x18], r14
mov dword [rsp + 0x8c], 0
movzx ecx, byte [rsp + 0x4f]
mov rax, rcx
test cl, cl
jns 0x140044e57
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140044e91
test cl, cl
jns 0x140044e65
mov rbx, qword [rsp + 0x38]
lea rcx, [rsp + 0x78]
mov qword [rcx], rbx
mov qword [rcx + 8], rax
lea rdx, [rsp + 0x8c]
call fcn.1400904d0
test al, al
je 0x140044e91
xor eax, eax
sub eax, dword [rsp + 0x8c]
mov rcx, qword [rdi + 0x18]
mov dword [rcx], eax
cmp byte [rsp + 0x4f], 0
jns 0x140044ea2
mov rcx, qword [rsp + 0x38]
call fcn.1400910b4
cmp byte [rsp + 0x77], 0
jns 0x140044eb3
mov rcx, qword [rsp + 0x60]
call fcn.1400910b4
test rdi, rdi
je 0x140044cde
xor eax, eax
lock cmpxchg qword [0x1401247c0], rdi
je 0x140044cde
mov rcx, qword [rdi + 0x18]
mov rax, qword [0x1401155a0]
and rax, rcx
cmp rax, qword [0x140115588]
jne 0x140044ee9
call fcn.140055960
mov qword [rdi + 0x18], 0
mov rbx, qword [rdi]
test rbx, rbx
je 0x140044f2a
mov r14, qword [rdi + 8]
mov rcx, rbx
cmp r14, rbx
je 0x140044f21
cmp byte [r14 - 9], 0
jns 0x140044f15
mov rcx, qword [r14 - 0x20]
call fcn.1400910b4
add r14, 0xffffffffffffffe0
cmp r14, rbx
jne 0x140044f05
mov rcx, qword [rdi]
mov qword [rdi + 8], rbx
call fcn.1400910b4
mov rcx, rdi
call fcn.1400910b4
jmp 0x140044cde