Function at 0x1800b1f30
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 [0x180126050]
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 0x1800b1f7a
mov rax, qword [r8]
mov word [rax], r14w
cmp qword [rdx + 0x10], r14
je 0x1800b21f5
cmp qword [rcx + 0x10], r14
je 0x1800b21f5
cmp byte [rcx + 0x38], r14b
jne 0x1800b207c
mov r8, rdi
lea rdx, [rbp - 9]
call fcn.1800b48a0
nop
xor eax, eax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x39], r14
mov word [rbp - 0x31], ax
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.180019f30
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 0x1800b1feb
xor bl, bl
jmp 0x1800b2007
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x1800b2001
xor bl, bl
jmp 0x1800b2007
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.1800b3f20
test al, al
jne 0x1800b203b
cmp byte [rbp - 0x49], al
je 0x1800b203b
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800b2034
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test bl, bl
je 0x1800b2052
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1800b204e
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 0x1800b2069
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x39], r14
mov word [rbp - 0x31], 0
lea rcx, [rbp - 9]
call fcn.180003440
mov byte [rdi + 0x38], 1
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x28]
cmp rcx, rax
je 0x1800b21f5
mov r15d, r14d
sub rax, rcx
sar rax, 7
test rax, rax
je 0x1800b220e
mov rbx, r14
nop dword [rax]
nop word [rax + rax]
shl rbx, 7
add rbx, rcx
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800b20c4
mov rdx, qword [rbx]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1800b20d1
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1800b20fa
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 0x1800b20b0
jmp 0x1800b220e
cmp qword [rsi + 0x10], 0
je 0x1800b21f5
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.18001d8f0
test al, al
je 0x1800b21f5
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 0x1800b21f5
cmp qword [rbx + 0x68], r8
jne 0x1800b21f5
cmp qword [rbx + 0x70], rdx
jne 0x1800b21f5
cmp byte [rdi + 0x39], 0
je 0x1800b21fe
cmp qword [rbx + 0x50], 0
je 0x1800b21f5
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rbp - 0x19], xmm1
mov word [rbp - 0x29], r14w
lea r8, [rbp - 0x29]
mov rdx, rsi
call fcn.1800b4a10
test al, al
jne 0x1800b21c5
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 0x1800b21d3
mov rdx, qword [rdx]
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
nop
lea rcx, [rbp - 0x29]
test eax, eax
je 0x1800b21f9
call fcn.180003440
xor eax, eax
jmp 0x1800b2211
call fcn.180003440
lea rdx, [rbx + 0x20]
mov rcx, r12
call fcn.180006050
mov r14d, dword [rbx + 0x78]
mov eax, r14d
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800bd270
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret