Function at 0x180012880
Capabilities:
Delete file

Disassembly:
jmp 0x18001c6c0
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18008d0c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x18001c705
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x18001c716
mov al, 1
jmp 0x18001cd42
mov r13, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001c723
mov r13, qword [rsi]
xor edi, edi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov rcx, r13
call fcn.1800429cc
mov r12, rax
movabs r14, 0x7ffffffffffffffe
movabs r9, 0x7fffffffffffffff
lea r8, [rdi - 1]
mov r15, qword [rbp - 0x48]
cmp rax, r15
ja 0x18001c797
lea rdi, [rbp - 0x60]
cmp r15, 8
cmovae rdi, qword [rbp - 0x60]
mov qword [rbp - 0x50], rax
lea rbx, [rax + rax]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call fcn.180039130
xor eax, eax
mov word [rbx + rdi], ax
jmp 0x18001c884
cmp r12, r14
ja 0x18001cd75
mov rbx, r12
or rbx, 7
cmp rbx, r14
jbe 0x18001c7b1
mov rbx, r14
jmp 0x18001c7d2
mov rcx, r15
shr rcx, 1
mov rax, r14
sub rax, rcx
cmp r15, rax
jbe 0x18001c7c7
mov rbx, r14
jmp 0x18001c7d2
lea rax, [r15 + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rax, [rbx + 1]
lea rdx, [rax + rax]
cmp rax, r9
jbe 0x18001c7e4
mov rdx, r8
jmp 0x18001c7ed
cmp rdx, 0x1000
jb 0x18001c814
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, r8
call fcn.18003762c
test rax, rax
je 0x18001cd7b
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18001c824
test rdx, rdx
je 0x18001c824
mov rcx, rdx
call fcn.18003762c
mov rdi, rax
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rbx
lea rbx, [r12 + r12]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call fcn.180039130
xor eax, eax
mov word [rbx + rdi], ax
cmp r15, 8
jb 0x18001c880
lea rdx, [r15*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c87b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001cd81
call fcn.180037624
mov qword [rbp - 0x60], rdi
lea rcx, [rbp - 0x60]
call fcn.18001c5b0
mov ebx, eax
mov dword [rbp - 0x40], eax
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x18001c8d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c8cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001cd87
call fcn.180037624
xor edi, edi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
cmp ebx, 0xffffffff
jne 0x18001c8f0
xor al, al
jmp 0x18001cd42
mov r13, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001c8fd
mov r13, qword [rsi]
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov rcx, r13
call fcn.1800429cc
mov r12, rax
mov r15, qword [rbp - 0x48]
cmp rax, r15
ja 0x18001c959
lea rdi, [rbp - 0x60]
cmp r15, 8
cmovae rdi, qword [rbp - 0x60]
mov qword [rbp - 0x50], rax
lea rbx, [rax + rax]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call fcn.180039130
xor r12d, r12d
mov word [rbx + rdi], r12w
jmp 0x18001ca60
cmp r12, r14
ja 0x18001cd8d
mov rbx, r12
or rbx, 7
cmp rbx, r14
jbe 0x18001c973
mov rbx, r14
jmp 0x18001c994
mov rcx, r15
shr rcx, 1
mov rax, r14
sub rax, rcx
cmp r15, rax
jbe 0x18001c989
mov rbx, r14
jmp 0x18001c994
lea rax, [rcx + r15]
cmp rbx, rax
cmovb rbx, rax
lea rax, [rbx + 1]
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jbe 0x18001c9b7
mov rax, 0xffffffffffffffff
mov rdx, rax
jmp 0x18001c9c7
cmp rdx, 0x1000
jb 0x18001c9ee
mov rax, 0xffffffffffffffff
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, rax
call fcn.18003762c
test rax, rax
je 0x18001cd93
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18001c9fe
test rdx, rdx
je 0x18001c9fe
mov rcx, rdx
call fcn.18003762c
mov rdi, rax
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rbx
lea rbx, [r12 + r12]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call fcn.180039130
xor r12d, r12d
mov word [rbx + rdi], r12w
cmp r15, 8
jb 0x18001ca5c
lea rdx, [r15*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ca57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001cd99
call fcn.180037624
mov qword [rbp - 0x60], rdi
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.18001c490
test al, al
sete bl
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x18001cab0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001caab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001cd9f
call fcn.180037624
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
test bl, bl
jne 0x18001c8e9
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001cad6
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18001c70f
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x180079880]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], r12w
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.18001cf60
test al, al
je 0x18001cb2d
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x18001cb2d
mov bl, 1
jmp 0x18001ccf1
cmp qword [rsi + 0x18], 8
jb 0x18001cb37
mov rsi, qword [rsi]
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
mov rcx, rsi
call fcn.1800429cc
mov rbx, rax
mov r15, qword [rbp - 0x48]
cmp rax, r15
ja 0x18001cb90
lea rdi, [rbp - 0x60]
cmp r15, 8
cmovae rdi, qword [rbp - 0x60]
mov qword [rbp - 0x50], rax
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.180039130
mov word [rbx + rdi], r12w
jmp 0x18001cc91
cmp rbx, r14
ja 0x18001cda5
mov rcx, rbx
or rcx, 7
cmp rcx, r14
ja 0x18001cbc4
mov rdx, r15
shr rdx, 1
mov rax, r14
sub rax, rdx
cmp r15, rax
ja 0x18001cbc4
lea rax, [rdx + r15]
mov r14, rcx
cmp rcx, rax
cmovb r14, rax
lea rax, [r14 + 1]
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jbe 0x18001cbe7
mov rax, 0xffffffffffffffff
mov rdx, rax
jmp 0x18001cbf7
cmp rdx, 0x1000
jb 0x18001cc1e
mov rax, 0xffffffffffffffff
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, rax
call fcn.18003762c
test rax, rax
je 0x18001cdab
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18001cc33
test rdx, rdx
je 0x18001cc30
mov rcx, rdx
call fcn.18003762c
mov rdi, rax
jmp 0x18001cc33
mov rdi, r12
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], r14
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.180039130
mov word [rbx + rdi], r12w
cmp r15, 8
jb 0x18001cc8d
lea rdx, [r15*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001cc88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001cdb1
call fcn.180037624
mov qword [rbp - 0x60], rdi
mov edx, dword [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.18001c490
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x18001ccde
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ccd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001cdb7
call fcn.180037624
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
xor bl, bl
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x18001cd2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001cd28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001cd6f
call fcn.180037624
movdqa xmm0, xmmword [0x180079880]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r12w
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180037600
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180042954
int3
call fcn.180001eb0
int3
call fcn.180042954
int3
call fcn.180042954
int3
call fcn.180042954
int3
call fcn.180001eb0
int3
call fcn.180042954
int3
call fcn.180042954
int3
call fcn.180042954
nop
call fcn.180001eb0
nop
call fcn.180042954
int3
call fcn.180042954
int3
call fcn.180042954
int3