Function at 0x1400bfd90
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp - 0x79], rdx
test byte [rdx + 0x20], 0x10
jne 0x1400c012f
lea rcx, [rdx + 0x24]
call fcn.1400dd900
mov rsi, rax
xor r13d, r13d
mov qword [rbp - 0x71], r13
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], r13
lea rdi, [r12 + 8]
mov r14, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x1400bfdfc
mov rdi, qword [rdi]
cmp r14, 8
jae 0x1400bfe13
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x59], 7
jmp 0x1400bfe53
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x71]
call fcn.1400521e0
mov qword [rbp - 0x71], rax
lea r8, [r14*2 + 2]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x61], r14
mov r8d, 1
lea rdx, [0x14027e208]
lea rcx, [rbp - 0x71]
call fcn.140052250
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
lea rcx, [r15 + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x1400c00db
mov r8, 0xffffffffffffffff
cmp rsi, qword [r12 + 0x28]
jge 0x1400bff9e
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r13w
nop dword [rax + rax]
inc r8
cmp word [r15 + r8*2 + 0x4c], 0
jne 0x1400bfec0
lea rdx, [r15 + 0x4c]
lea rcx, [rbp - 0x29]
call fcn.1400523d0
nop
lea rdx, [r12 + 0x30]
lea r8, [rbp - 0x29]
lea rcx, [rbp - 0x51]
call fcn.1400bf720
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x1400bff43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bff3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bff3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r13w
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x1400c00db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c00d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c00d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [rbp - 9], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], 7
mov word [rbp - 9], r13w
inc r8
cmp word [r15 + r8*2 + 0x4c], 0
jne 0x1400bffb3
lea rdx, [r15 + 0x4c]
lea rcx, [rbp - 9]
call fcn.1400523d0
nop
mov rbx, qword [r12]
mov rdi, qword [rbx]
mov rax, qword [rdi + 8]
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x49], r13d
mov rcx, rdi
cmp byte [rax + 0x19], 0
jne 0x1400c0017
nop dword [rax]
mov qword [rbp - 0x51], rax
cmp qword [rax + 0x20], rsi
jge 0x1400c0004
mov dword [rbp - 0x49], r13d
mov rax, qword [rax + 0x10]
jmp 0x1400c0011
mov dword [rbp - 0x49], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400bfff0
cmp byte [rcx + 0x19], 0
jne 0x1400c0023
cmp rsi, qword [rcx + 0x20]
jge 0x1400c0089
movabs rax, 0x38e38e38e38e38e
cmp qword [rbx + 8], rax
je 0x1400c0160
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], r13
mov ecx, 0x48
call fcn.1400e69ec
nop
mov qword [rax + 0x20], rsi
mov qword [rax + 0x28], r13
mov qword [rax + 0x38], r13
mov qword [rax + 0x40], 7
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
movups xmm0, xmmword [rbp - 0x51]
movaps xmmword [rbp - 0x29], xmm0
mov r8, rax
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.1400673d0
mov rcx, rax
add rcx, 0x28
lea rdx, [rbp - 9]
call fcn.140059ac0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x1400c00db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c00d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c00d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x1400c011e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c0119
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c0119
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
mov rcx, r15
call fcn.140052120
mov al, 1
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400e6b50
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140067850
nop
int3