Function at 0x1800a2210
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180201020]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1800a224e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1800a225f
mov al, 1
jmp 0x1800a251c
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800a226c
mov rdx, qword [rbx]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1801a9390]
movdqu xmmword [rbp - 0x18], xmm1
xor r15d, r15d
mov word [rbp - 0x28], r15w
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1800a2293
lea rcx, [rbp - 0x28]
call fcn.180003950
nop
lea rcx, [rbp - 0x28]
call fcn.1800a19d0
mov r14d, eax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800a22f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a22ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a2548
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
cmp r14d, 0xffffffff
jne 0x1800a2312
xor al, al
jmp 0x1800a251c
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800a231f
mov rdx, qword [rbx]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1801a9390]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r15w
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800a2340
lea rcx, [rbp - 0x28]
call fcn.180003950
nop
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.1800a18b0
test al, al
sete sil
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800a23a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a23a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a254e
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
test sil, sil
jne 0x1800a230b
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800a23ce
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800a2258
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1801a9390]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r15w
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.1800a2cd0
test al, al
je 0x1800a2425
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1800a2425
mov bl, 1
jmp 0x1800a24cb
cmp qword [rbx + 0x18], 8
jb 0x1800a242f
mov rbx, qword [rbx]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1801a9390]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r15w
nop dword [rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x1800a2450
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.180003950
nop
mov edx, r14d
lea rcx, [rbp - 0x50]
call fcn.1800a18b0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1800a24b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a24b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a2554
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r15w
xor bl, bl
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1800a2507
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a2502
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a2542
call fcn.180116bc4
movdqa xmm0, xmmword [0x1801a9390]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180116780
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18013ed94
int3
call fcn.18013ed94
int3
call fcn.18013ed94
nop
call fcn.18013ed94
nop
int3