Function at 0x14004503c
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
xor ebx, ebx
mov r13, rdx
mov r12, rcx
mov qword [rax + 0x18], rbx
mov ebp, ebx
mov rcx, qword [str.P5_n_]
lea r14, str.P5_n_
mov dil, 4
cmp rcx, r14
je 0x140045096
test byte [rcx + 0x1c], dil
je 0x140045096
cmp byte [rcx + 0x19], 5
jb 0x140045096
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x24]
lea r8, [0x140008f68]
call fcn.14000ffa8
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call fcn.140079cec
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140045108
mov rax, qword [str.P5_n_]
cmp rax, r14
je 0x1400452bb
test byte [rax + 0x1c], dil
je 0x1400452bb
cmp byte [rax + 0x19], 2
jb 0x1400452bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
lea edx, [rsi + 0x26]
jmp 0x1400451f6
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14004cd08
cmp eax, ebx
je 0x140045147
mov rcx, qword [str.P5_n_]
cmp rcx, r14
je 0x1400452bb
test byte [rcx + 0x1c], dil
je 0x1400452bb
cmp byte [rcx + 0x19], 2
jb 0x1400452bb
mov edx, 0x26
jmp 0x1400451f6
mov r14d, 1
cmp dword [rsp + 0x78], r14d
jne 0x140045212
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14004d79c
cmp eax, ebx
je 0x14004532a
cmp eax, 0x80091007
jne 0x1400451c6
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x1400452b1
test byte [rcx + 0x1c], dil
je 0x1400452b1
cmp byte [rcx + 0x19], 2
jb 0x1400452b1
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x26]
lea r8, [0x140008f68]
mov r9, r12
mov dword [rsp + 0x20], 0x80091007
call fcn.140011a18
jmp 0x1400452b1
mov rcx, qword [str.P5_n_]
lea r14, str.P5_n_
cmp rcx, r14
je 0x1400452bb
test byte [rcx + 0x1c], dil
je 0x1400452bb
cmp byte [rcx + 0x19], 2
jb 0x1400452bb
mov edx, 0x28
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008f68]
mov r9, r12
mov dword [rsp + 0x20], eax
call fcn.140011a18
jmp 0x1400452bb
cmp dword [rsp + 0x78], 0x678
jne 0x1400452b1
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14004d98c
mov edi, eax
cmp eax, ebx
je 0x14004532a
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp rcx, rax
je 0x140045283
test byte [rcx + 0x1c], 4
je 0x140045283
cmp byte [rcx + 0x19], 2
jb 0x140045283
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008f68]
mov edx, 0x29
mov r9, r12
mov dword [rsp + 0x20], edi
call fcn.140011a18
mov rcx, qword [str.P5_n_]
lea rax, str.P5_n_
cmp edi, 0x570
jne 0x1400452b4
cmp rcx, rax
je 0x1400452b1
test byte [rcx + 0x1c], 4
je 0x1400452b1
cmp byte [rcx + 0x19], 2
jb 0x1400452b1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008f68]
mov edx, 0x2a
call fcn.14000ffa8
mov ebp, r14d
lea r14, str.P5_n_
mov rcx, qword [rsp + 0x80]
call fcn.140076afc
mov rdi, rbx
cmp ebp, ebx
je 0x140045332
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
or rsi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x140045341
mov rax, qword [str.P5_n_]
cmp rax, r14
je 0x140045341
test byte [rax + 0x1c], 4
je 0x140045341
cmp byte [rax + 0x19], 2
jb 0x140045341
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
lea edx, [rsi + 0x2c]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008f68]
mov r9, r12
mov dword [rsp + 0x20], eax
call fcn.140011a18
jmp 0x140045332
mov rdi, qword [rsp + 0x80]
cmp rsi, 0xffffffffffffffff
je 0x140045341
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, rbx
lea r11, [rsp + 0x40]
mov qword [r13], rdi
mov rbp, qword [r11 + 0x48]
setne bl
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret