Function at 0x14003ab74
Capabilities:
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x288
mov rax, qword [0x14009b978]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x2f0]
mov r15, r8
mov qword [rsp + 0x58], rax
mov r12d, edx
xor eax, eax
mov rsi, rcx
xor edx, edx
mov word [rsp + 0x50], ax
mov r8d, 0x208
lea rcx, [rsp + 0x60]
mov ebx, eax
mov edi, eax
mov ebp, eax
movzx r14d, ax
mov r13, r9
call sub.msvcrt.dll_memset
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14003ac11
test byte [rcx + 0x1c], 4
je 0x14003ac11
cmp byte [rcx + 0x19], 5
jb 0x14003ac11
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008cd68]
mov edx, 0xc9
call fcn.1400042fc
mov rcx, qword [0x14009b020]
test rsi, rsi
je 0x14003ac8a
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140032d74
test eax, eax
jne 0x14003ac7d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14003ae53
test byte [rcx + 0x1c], 4
je 0x14003ae53
cmp byte [rcx + 0x19], 2
jb 0x14003ae53
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008cd68]
mov edx, 0xca
mov r9d, ebx
call fcn.1400046fc
jmp 0x14003ae53
movzx r14d, word [rsp + 0x50]
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14003acb7
test byte [rcx + 0x1c], 4
je 0x14003acb7
cmp byte [rcx + 0x19], 5
jb 0x14003acb7
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c310]
mov edx, 0x21
call fcn.1400042fc
mov r9, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov r8, r15
and qword [rsp + 0x30], rbx
lea rax, [0x14008c3d8]
mov qword [rsp + 0x28], rax
mov edx, r12d
movzx ecx, r14w
mov qword [rsp + 0x20], r13
call fcn.14002fa8c
test eax, eax
jne 0x14003ad4a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14003ae53
test byte [rcx + 0x1c], 4
je 0x14003ae53
cmp byte [rcx + 0x19], 2
jb 0x14003ae53
mov r9, qword [r15 + 8]
lea r8, [0x14008cd68]
mov rcx, qword [rcx + 0x10]
mov edx, 0xcb
mov dword [rsp + 0x20], ebx
call fcn.1400045e8
jmp 0x14003ae53
lea rcx, [rsp + 0x60]
call fcn.140053bbc
mov edi, eax
test eax, eax
jne 0x14003ada1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
lea rsi, [0x14009b020]
cmp rcx, rsi
je 0x14003adf1
test byte [rcx + 0x1c], 4
je 0x14003adf1
cmp byte [rcx + 0x19], 2
jb 0x14003adf1
mov edx, 0xcc
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008cd68]
mov r9d, eax
call fcn.1400046fc
jmp 0x14003adf1
test rsi, rsi
je 0x14003ade8
mov rcx, rsi
call fcn.140053bbc
mov ebp, eax
test eax, eax
jne 0x14003ade8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
lea rsi, [0x14009b020]
cmp rcx, rsi
je 0x14003adf1
test byte [rcx + 0x1c], 4
je 0x14003adf1
cmp byte [rcx + 0x19], 2
jb 0x14003adf1
mov edx, 0xcd
jmp 0x14003ad8c
add edi, ebp
lea rsi, [0x14009b020]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003ae4f
mov rax, qword [0x14009b020]
cmp rax, rsi
je 0x14003ae4f
test byte [rax + 0x1c], 4
je 0x14003ae4f
cmp byte [rax + 0x19], 2
jb 0x14003ae4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
lea r9, [rsp + 0x60]
mov edx, 0xce
mov dword [rsp + 0x20], eax
lea r8, [0x14008cd68]
mov rcx, qword [rcx + 0x10]
call fcn.1400045e8
test edi, edi
jne 0x14003ae61
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400018f0
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret