Function at 0x1801f0f00
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r12, r8
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [r8 + 0x10], r14
mov rax, r8
cmp qword [r8 + 0x18], 8
jb 0x1801f0f4a
mov rax, qword [r8]
mov word [rax], r14w
cmp qword [rdx + 0x10], r14
je 0x1801f11bb
cmp qword [rcx + 0x10], r14
je 0x1801f11bb
cmp byte [rcx + 0x38], r14b
jne 0x1801f1052
mov r8, rdi
lea rdx, [rbp - 9]
call fcn.1801f3840
nop
mov edx, 0x10
lea rcx, [rbp - 0x39]
call fcn.18003df50
mov qword [rbp - 0x39], r14
mov word [rbp - 0x31], 0
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.1801dd7d0
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x29], rax
mov byte [rbp - 0x21], 0
mov rcx, qword [rbp - 0x39]
test rcx, rcx
jne 0x1801f0fc1
xor bl, bl
jmp 0x1801f0fdd
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x1801f0fd7
xor bl, bl
jmp 0x1801f0fdd
mov byte [rbp - 0x31], 1
mov bl, 1
mov byte [rbp - 0x21], bl
mov byte [rbp - 0x49], 0
lea r8, [rdi + 0x20]
lea r9, [rbp - 0x49]
mov rdx, rdi
call fcn.1801f2e70
test al, al
jne 0x1801f1011
cmp byte [rbp - 0x49], al
je 0x1801f1011
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1801f100a
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test bl, bl
je 0x1801f1028
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1801f1024
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp - 0x31], 0
mov qword [rbp - 0x29], r14
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1801f103f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x39], r14
mov word [rbp - 0x31], 0
lea rcx, [rbp - 9]
call fcn.1800338a0
mov byte [rdi + 0x38], 1
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x28]
cmp rcx, rax
je 0x1801f11bb
mov r15d, r14d
sub rax, rcx
sar rax, 7
test rax, rax
je 0x1801f11d4
mov rbx, r14
nop dword [rax]
shl rbx, 7
add rbx, rcx
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1801f1094
mov rdx, qword [rbx]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1801f10a1
mov rcx, qword [rsi]
call fcn.1802b7264
test eax, eax
je 0x1801f10c9
inc r15d
mov rcx, qword [rdi + 0x20]
mov ebx, r15d
mov rax, qword [rdi + 0x28]
sub rax, rcx
sar rax, 7
cmp rbx, rax
jb 0x1801f1080
jmp 0x1801f11d4
cmp qword [rsi + 0x10], 0
je 0x1801f11bb
xor eax, eax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov dword [rbp + 0x17], eax
lea r8, [rbp - 9]
mov rcx, rsi
call fcn.1801e58d0
test al, al
je 0x1801f11bb
mov edx, dword [rbp - 1]
shl rdx, 0x20
mov eax, dword [rbp - 5]
add rdx, rax
mov r8d, dword [rbp + 0xf]
shl r8, 0x20
mov eax, dword [rbp + 0xb]
add r8, rax
mov ecx, dword [rbp + 0x13]
shl rcx, 0x20
mov eax, dword [rbp + 0x17]
add rcx, rax
cmp qword [rbx + 0x60], rcx
jne 0x1801f11bb
cmp qword [rbx + 0x68], r8
jne 0x1801f11bb
cmp qword [rbx + 0x70], rdx
jne 0x1801f11bb
cmp byte [rdi + 0x39], 0
je 0x1801f11c4
cmp qword [rbx + 0x50], 0
je 0x1801f11bb
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x19], xmm1
mov word [rbp - 0x29], r14w
lea r8, [rbp - 0x29]
mov rdx, rsi
call fcn.1801f3a10
test al, al
jne 0x1801f118c
mov qword [rbp - 0x19], r14
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
mov word [rax], r14w
lea rdx, [rbx + 0x40]
cmp qword [rdx + 0x18], 8
jb 0x1801f119a
mov rdx, qword [rdx]
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
call fcn.1802b7264
nop
lea rcx, [rbp - 0x29]
test eax, eax
je 0x1801f11bf
call fcn.1800338a0
xor eax, eax
jmp 0x1801f11d7
call fcn.1800338a0
lea rdx, [rbx + 0x20]
mov rcx, r12
call fcn.1800392f0
mov r14d, dword [rbx + 0x78]
mov eax, r14d
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1802994c0
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret