Function at 0x14002a368
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, r9
mov r14, r8
mov r12, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, esi
cmp dword [rbx + 0x120], eax
je 0x14002a3bb
mov qword [rbx + 0xe8], 0x3f3
mov dword [rbx + 0xf0], esi
xor eax, eax
jmp 0x14002a6fc
cmp qword [rbx + 0xf8], rsi
je 0x14002a3b4
mov qword [rbx + 0x118], rdi
mov dword [rbx + 0x100], esi
mov qword [rbx + 8], rsi
mov rax, qword [rbx + 0x10]
mov word [rax], si
mov rax, qword [rbx + 0x20]
mov word [rax], si
mov qword [rbx + 0x30], rsi
mov dword [rbx + 0x38], esi
lea rdi, [rbx + 0xc8]
mov qword [rdi + 0x20], rsi
mov dword [rdi + 0x28], esi
xor eax, eax
lea ecx, [rax + 0xc]
rep stosb byte [rdi], al
mov dword [rbx + 0x84], esi
lea rdi, [rbx + 0x98]
mov rdx, r14
mov rcx, rdi
call fcn.140029790
mov rcx, qword [rdi]
call fcn.140057e3c
cmp eax, dword [rdi + 8]
jae 0x14002a733
mov r14d, 1
cmp eax, r14d
jle 0x14002a478
mov rcx, qword [rdi]
cdqe
cmp word [rcx + rax*2 - 2], 0x5c
je 0x14002a478
call fcn.140057e3c
mov r15, rax
cmp eax, dword [rdi + 8]
jae 0x14002a74f
lea rcx, [0x14009a640]
call fcn.140057e3c
lea edx, [r15 + rax]
mov rcx, rdi
call fcn.1400296f0
lea rdx, [0x14009a640]
mov rcx, qword [rdi]
call fcn.1400609d0
lea rdx, str.MEMORY_
mov rcx, qword [rdi]
call fcn.140057b7c
mov ecx, esi
test eax, eax
sete cl
mov dword [rbx + 0x104], ecx
lea rcx, [rbp - 0x10]
call fcn.140029584
nop
lea rcx, [rbp - 0x20]
call fcn.140029584
nop
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x10]
mov rcx, r12
call fcn.140029c88
mov rcx, qword [rdi]
call fcn.140057e3c
cmp eax, dword [rdi + 8]
jae 0x14002a76b
mov r12, qword [rbp - 0x10]
mov r15, qword [rbp - 0x20]
cmp eax, 3
jb 0x14002a6d4
mov rcx, r12
call fcn.140057e3c
cmp eax, dword [rbp - 8]
jae 0x14002a787
cmp eax, 2
jb 0x14002a6d4
mov rcx, r15
call fcn.140057e3c
cmp eax, dword [rbp - 0x18]
jae 0x14002a7a3
cmp eax, 2
jb 0x14002a6d4
lea r13, [rbx + 0xa8]
mov rax, qword [r13]
mov word [rax], si
lea rcx, [rbp - 0x30]
call fcn.14002940c
nop
lea rcx, [rbp - 0x40]
call fcn.14002940c
nop
mov rdx, r12
lea rcx, [rbp - 0x40]
call fcn.1400294a0
jmp 0x14002a5a4
mov rcx, qword [r13]
call fcn.140057e3c
cmp eax, dword [r13 + 8]
jae 0x14002a717
test eax, eax
je 0x14002a5f2
mov rdx, r13
lea rcx, [rbp - 0x20]
call fcn.140029790
nop
mov rcx, qword [rbp - 0x40]
call fcn.14002a8f0
nop
mov rcx, qword [rbp - 0x30]
call fcn.14002a8f0
mov rax, qword [r13]
mov word [rax], si
lea rcx, [rbp - 0x30]
call fcn.14002940c
nop
lea rcx, [rbp - 0x40]
call fcn.14002940c
nop
mov rdx, r12
lea rcx, [rbp - 0x40]
call fcn.1400294a0
mov r15, qword [rbp - 0x20]
mov rdi, rax
mov rdx, r15
lea rcx, [rbp - 0x30]
call fcn.1400294a0
mov rdx, rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
lea rax, [0x14002ad50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rdi
mov rcx, qword [rbx + 0xf8]
mov rax, qword [rbx + 0x138]
call qword [case.0x14002de11.0]
test eax, eax
jne 0x14002a53e
mov rcx, qword [rbp - 0x40]
call fcn.14002a8f0
nop
mov rcx, qword [rbp - 0x30]
call fcn.14002a8f0
mov rdi, qword [rbx + 8]
test rdi, rdi
jle 0x14002a6a2
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x14002de11.0]
cmp rdi, qword [rbx + 8]
jne 0x14002a644
mov qword [rbx + 8], rsi
mov rax, qword [rbx + 0x10]
mov word [rax], si
mov rax, qword [rbx + 0x20]
mov word [rax], si
mov qword [rbx + 0x30], rsi
mov dword [rbx + 0x38], esi
mov ecx, esi
movsxd r8, dword [rbx + 0x84]
test r8d, r8d
jle 0x14002a6a2
mov rax, qword [rbx + 0x88]
cmp qword [rax], rdi
je 0x14002a66c
add ecx, r14d
add rax, 8
cmp ecx, r8d
jl 0x14002a659
jmp 0x14002a6a2
test ecx, ecx
js 0x14002a6a2
lea eax, [r8 - 1]
mov dword [rbx + 0x84], eax
mov rdx, qword [rbx + 0x90]
movsxd rdi, ecx
mov ecx, dword [rdx + r8*4 - 4]
mov dword [rdx + rdi*4], ecx
mov rdx, qword [rbx + 0x88]
movsxd rax, dword [rbx + 0x84]
mov rcx, qword [rdx + rax*8]
mov qword [rdx + rdi*8], rcx
cmp dword [rbx + 0x100], esi
je 0x14002a6ba
cmp qword [rbx + 8], rsi
je 0x14002a6ba
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [rbx + 0xd0], esi
jne 0x14002a6e5
cmp dword [rbx + 0xec], esi
jne 0x14002a6e5
cmp dword [rbx + 0xe8], esi
je 0x14002a6e8
jmp 0x14002a6e5
mov qword [rbx + 0xe8], 0x3ea
mov dword [rbx + 0xf0], esi
mov r14d, esi
mov rcx, r15
call fcn.14002a8f0
nop
mov rcx, r12
call fcn.14002a8f0
mov eax, r14d
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, str.The_string_has_no_terminating_null_character_
mov qword [rbp + 0x40], rax
lea rdx, [0x1400b42b8]
lea rcx, [rbp + 0x40]
call fcn.14007d3d8
nop
lea rax, str.The_string_has_no_terminating_null_character_
mov qword [rbp + 0x40], rax
lea rdx, [0x1400b42b8]
lea rcx, [rbp + 0x40]
call fcn.14007d3d8
int3
lea rax, str.The_string_has_no_terminating_null_character_
mov qword [rbp + 0x40], rax
lea rdx, [0x1400b42b8]
lea rcx, [rbp + 0x40]
call fcn.14007d3d8
nop
lea rax, str.The_string_has_no_terminating_null_character_
mov qword [rbp + 0x40], rax
lea rdx, [0x1400b42b8]
lea rcx, [rbp + 0x40]
call fcn.14007d3d8
int3
lea rax, str.The_string_has_no_terminating_null_character_
mov qword [rbp + 0x40], rax
lea rdx, [0x1400b42b8]
lea rcx, [rbp + 0x40]
call fcn.14007d3d8
int3
lea rax, str.The_string_has_no_terminating_null_character_
mov qword [rbp + 0x40], rax
lea rdx, [0x1400b42b8]
lea rcx, [rbp + 0x40]
call fcn.14007d3d8
int3