Function at 0x14003cba0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov r12, rdx
mov qword [rax + 0x18], rbx
mov r14d, ebx
mov rbp, rcx
mov rcx, qword [0x14009b020]
lea rdi, [0x14009b020]
cmp rcx, rdi
je 0x14003cbf8
test byte [rcx + 0x1c], 4
je 0x14003cbf8
cmp byte [rcx + 0x19], 5
jb 0x14003cbf8
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x24]
lea r8, [0x14008cd68]
call fcn.1400042fc
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rbp
call fcn.14006b8bc
mov rsi, rax
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14003cc7b
mov rax, qword [0x14009b020]
cmp rax, rdi
je 0x14003cdfd
test byte [rax + 0x1c], 4
je 0x14003cdfd
cmp byte [rax + 0x19], 2
jb 0x14003cdfd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
lea edx, [r15 + 0x26]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008cd68]
mov r9, rbp
mov dword [rsp + 0x20], eax
call fcn.1400045e8
jmp 0x14003cdfd
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14003b2d0
test eax, eax
je 0x14003ccb7
mov rcx, qword [0x14009b020]
cmp rcx, rdi
je 0x14003cdfd
test byte [rcx + 0x1c], 4
je 0x14003cdfd
cmp byte [rcx + 0x19], 2
jb 0x14003cdfd
mov edx, 0x26
jmp 0x14003cc5f
cmp dword [rsp + 0x78], 1
jne 0x14003cd58
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14003c9b8
test eax, eax
je 0x14003ce8c
cmp eax, 0x80091007
jne 0x14003cd2a
mov rcx, qword [0x14009b020]
cmp rcx, rdi
je 0x14003cdf7
test byte [rcx + 0x1c], 4
je 0x14003cdf7
cmp byte [rcx + 0x19], 2
jb 0x14003cdf7
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008cd68]
mov edx, 0x27
mov dword [rsp + 0x20], 0x80091007
mov r9, rbp
call fcn.1400045e8
jmp 0x14003cdf7
mov rcx, qword [0x14009b020]
cmp rcx, rdi
je 0x14003cdfd
test byte [rcx + 0x1c], 4
je 0x14003cdfd
cmp byte [rcx + 0x19], 2
jb 0x14003cdfd
mov edx, 0x28
jmp 0x14003cc5f
cmp dword [rsp + 0x78], 0x678
jne 0x14003cdf7
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14003ced0
mov edi, eax
test eax, eax
je 0x14003ce8c
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp rcx, rax
je 0x14003cdc9
test byte [rcx + 0x1c], 4
je 0x14003cdc9
cmp byte [rcx + 0x19], 2
jb 0x14003cdc9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008cd68]
mov edx, 0x29
mov dword [rsp + 0x20], edi
mov r9, rbp
call fcn.1400045e8
mov rcx, qword [0x14009b020]
lea rax, [0x14009b020]
cmp edi, 0x570
jne 0x14003cdfd
cmp rcx, rax
je 0x14003cdf7
test byte [rcx + 0x1c], 4
je 0x14003cdf7
cmp byte [rcx + 0x19], 2
jb 0x14003cdf7
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008cd68]
mov edx, 0x2a
call fcn.1400042fc
mov r14d, 1
mov rcx, qword [rsp + 0x80]
call fcn.140069d30
mov rdi, rbx
test r14d, r14d
je 0x14003ce84
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003cea3
mov rax, qword [0x14009b020]
lea rcx, [0x14009b020]
cmp rax, rcx
je 0x14003cea3
test byte [rax + 0x1c], 4
je 0x14003cea3
cmp byte [rax + 0x19], 2
jb 0x14003cea3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
lea r8, [0x14008cd68]
mov edx, 0x2b
mov dword [rsp + 0x20], eax
mov r9, rbp
mov rcx, qword [rcx + 0x10]
call fcn.1400045e8
jmp 0x14003cea3
cmp r15, 0xffffffffffffffff
je 0x14003cea3
jmp 0x14003ce94
mov rdi, qword [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea r11, [rsp + 0x40]
mov qword [r12], rdi
mov rbp, qword [r11 + 0x48]
test rdi, rdi
setne bl
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret