Function at 0x140082570
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov rdx, qword [rcx + 0xb0]
add rdx, 0xf8c
lea rcx, [r11 - 0x128]
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [rcx], al
inc rdx
inc rcx
test al, al
jne 0x1400825c0
lea rcx, [rsp + 0x140]
call fcn.1400c9bc0
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x30]
nop dword [rax]
movzx eax, byte [rdx]
mov byte [rcx], al
inc rdx
inc rcx
test al, al
jne 0x1400825f0
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str..drv]
mov dword [rdi - 1], eax
movzx eax, word [0x14021faac]
mov word [rdi + 3], ax
lea rcx, [rsp + 0x30]
call fcn.1400cf920
mov rcx, qword [rbx + 0xb0]
add rcx, 0x1d4
lea rdx, [0x14021faa0]
call fcn.1400c9790
test rax, rax
je 0x140082672
mov rcx, qword [rbx + 0xb0]
add rcx, 0x1d4
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rbx + 0xb0]
add rcx, 0x1d4
xor edx, edx
call fcn.1400d67e0
lea rcx, [rsp + 0x140]
lea rdx, [rsp + 0x30]
nop
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140082680
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str..log]
mov dword [rdi - 1], eax
movzx eax, word [0x14021fa9c]
mov word [rdi + 3], ax
lea rcx, [rsp + 0x30]
call fcn.1400cf920
mov rcx, qword [rbx + 0xb0]
add rcx, 0x1d4
lea rdx, [0x14021fa90]
call fcn.1400c9790
test rax, rax
je 0x140082702
mov rcx, qword [rbx + 0xb0]
add rcx, 0x1d4
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rbx + 0xb0]
add rcx, 0x1d4
xor edx, edx
call fcn.1400d67e0
cmp dword [0x1402c0744], 0
jne 0x1400827d1
mov rcx, qword [rbx + 0xb0]
add rcx, 0x1d4
cmp byte [rcx], 0
je 0x140082737
lea rdx, [0x14021faa0]
call fcn.1400c9790
test rax, rax
je 0x14008282f
lea rcx, [rsp + 0x140]
lea rdx, [rsp + 0x30]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140082750
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
lea rsi, [rsp + rcx + 0x2f]
mov rcx, rsi
call fcn.1400e6f70
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str..dll]
mov dword [rdi - 1], eax
movzx eax, byte [0x14021fa8c]
mov byte [rdi + 3], al
lea rcx, [rsp + 0x30]
call fcn.1400d0090
test eax, eax
jne 0x140082774
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0xb0]
add rcx, 0x1d4
nop dword [rax]
movzx eax, byte [rdx]
mov byte [rcx], al
inc rdx
inc rcx
test al, al
jne 0x1400827c0
jmp 0x14008282f
lea rcx, [rsp + 0x140]
mov rdx, qword [rbx + 0xb0]
add rdx, 0x1d4
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x1400827f0
mov rdi, qword [rbx + 0xb0]
add rdi, 0x1d4
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, str._34_.__.t65
xor ecx, ecx
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140082820
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret