Function at 0x1800b2770
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 [0x180122010]
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 0x1800b27ba
mov rax, qword [r8]
mov word [rax], r14w
cmp qword [rdx + 0x10], r14
je 0x1800b2a35
cmp qword [rcx + 0x10], r14
je 0x1800b2a35
cmp byte [rcx + 0x38], r14b
jne 0x1800b28bc
mov r8, rdi
lea rdx, [rbp - 9]
call fcn.1800b50e0
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.180019f40
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 0x1800b282b
xor bl, bl
jmp 0x1800b2847
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x1800b2841
xor bl, bl
jmp 0x1800b2847
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.1800b4760
test al, al
jne 0x1800b287b
cmp byte [rbp - 0x49], al
je 0x1800b287b
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800b2874
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test bl, bl
je 0x1800b2892
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1800b288e
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 0x1800b28a9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x39], r14
mov word [rbp - 0x31], 0
lea rcx, [rbp - 9]
call fcn.180003470
mov byte [rdi + 0x38], 1
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x28]
cmp rcx, rax
je 0x1800b2a35
mov r15d, r14d
sub rax, rcx
sar rax, 7
test rax, rax
je 0x1800b2a4e
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 0x1800b2904
mov rdx, qword [rbx]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1800b2911
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1800b293a
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 0x1800b28f0
jmp 0x1800b2a4e
cmp qword [rsi + 0x10], 0
je 0x1800b2a35
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.18001d8b0
test al, al
je 0x1800b2a35
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 0x1800b2a35
cmp qword [rbx + 0x68], r8
jne 0x1800b2a35
cmp qword [rbx + 0x70], rdx
jne 0x1800b2a35
cmp byte [rdi + 0x39], 0
je 0x1800b2a3e
cmp qword [rbx + 0x50], 0
je 0x1800b2a35
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x1800e3630]
movdqu xmmword [rbp - 0x19], xmm1
mov word [rbp - 0x29], r14w
lea r8, [rbp - 0x29]
mov rdx, rsi
call fcn.1800b5250
test al, al
jne 0x1800b2a05
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 0x1800b2a13
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 0x1800b2a39
call fcn.180003470
xor eax, eax
jmp 0x1800b2a51
call fcn.180003470
lea rdx, [rbx + 0x20]
mov rcx, r12
call fcn.180006090
mov r14d, dword [rbx + 0x78]
mov eax, r14d
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800ba9e0
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret