Function at 0x14003fc64
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
xor r14d, r14d
mov rbp, rcx
mov qword [rsp + 0x68], r14
mov rcx, qword [str._0_n_]
lea r12, str._0_n_
lea r13, [0x140093fa8]
cmp rcx, r12
je 0x14003fcbb
test byte [rcx + 0x1c], 4
je 0x14003fcbb
cmp byte [rcx + 0x19], 5
jb 0x14003fcbb
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x42]
mov r8, r13
call fcn.14000459c
lea rdx, [rsp + 0x68]
mov rcx, rbp
call fcn.14003d0d4
mov rdi, qword [rsp + 0x68]
test eax, eax
jne 0x14003fd21
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14003fde7
test byte [rax + 0x1c], 4
je 0x14003fde7
cmp byte [rax + 0x19], 2
jb 0x14003fde7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x43
mov rcx, qword [str._0_n_]
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140004994
jmp 0x14003fde7
mov rcx, rdi
call fcn.14003a70c
test eax, eax
je 0x14003fde7
mov rax, qword [0x1400a7430]
lea r10, [0x1400a7430]
cmp rax, r10
je 0x14003fd60
mov rcx, qword [rdi + 0x220]
mov rdx, rax
mov rax, qword [rax]
cmp qword [rdx + 0x10], rcx
je 0x14003fe0c
cmp rax, r10
jne 0x14003fd4b
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003fd91
test byte [rcx + 0x1c], 4
je 0x14003fd91
cmp byte [rcx + 0x19], 2
jb 0x14003fd91
mov rax, qword [rdi + 8]
mov r9, qword [rdi + 0x220]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.1400419fc
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003fde7
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14003fde7
test byte [rax + 0x1c], 4
je 0x14003fde7
cmp byte [rax + 0x19], 2
jb 0x14003fde7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x45
mov rcx, qword [str._0_n_]
mov r9, rbp
mov r8, r13
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.140004880
mov esi, r14d
mov rcx, rdi
call fcn.14006a328
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
test rdx, rdx
je 0x14003fd60
mov eax, dword [rdi + 0x28]
mov esi, 1
cmp eax, 2
jne 0x14003fe31
cmp dword [rdi + 0x228], r14d
lea ecx, [rsi + 0x3f]
mov eax, esi
cmovne eax, ecx
lea r8, [rdi + 0x198]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rcx, r10
call fcn.1400388a8
mov rbx, rax
test rax, rax
jne 0x14003fe7b
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14003fde7
test byte [rax + 0x1c], 4
je 0x14003fde7
cmp byte [rax + 0x19], 2
jb 0x14003fde7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea edx, [rbx + 0x46]
jmp 0x14003fdcd
mov eax, dword [rdi + 0x670]
lea rcx, [rbx + 0x498]
mov r10d, 0x100
mov dword [rbx + 0x698], eax
mov r8, rdi
mov edx, r10d
sub r8, rcx
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x14003fec3
movzx eax, word [r8 + rcx + 0x470]
test ax, ax
je 0x14003fec3
mov word [rcx], ax
add rcx, 2
sub rdx, rsi
jne 0x14003fe9d
test rdx, rdx
lea rax, [rcx - 2]
mov r11d, 0x8007007a
cmovne rax, rcx
mov word [rax], r14w
mov rax, rdx
neg rax
sbb r9d, r9d
not r9d
and r9d, r11d
test rdx, rdx
jne 0x14003ff26
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003fde7
test byte [rcx + 0x1c], 4
je 0x14003fde7
cmp byte [rcx + 0x19], 2
jb 0x14003fde7
mov edx, 0x47
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.1400045c8
jmp 0x14003fde7
lea rcx, [rbx + 0x288]
mov r8, rdi
sub r8, rcx
mov rdx, r10
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x14003ff5c
movzx eax, word [r8 + rcx + 0x22c]
test ax, ax
je 0x14003ff5c
mov word [rcx], ax
add rcx, 2
sub rdx, rsi
jne 0x14003ff36
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
mov rax, rdx
neg rax
sbb r9d, r9d
not r9d
and r9d, r11d
test rdx, rdx
jne 0x14003ffad
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003fde7
test byte [rcx + 0x1c], 4
je 0x14003fde7
cmp byte [rcx + 0x19], 2
jb 0x14003fde7
mov edx, 0x48
jmp 0x14003ff15
mov rcx, rbp
call fcn.14006bd20
mov qword [rbx + 0x38], rax
test rbp, rbp
je 0x14003fffd
test rax, rax
jne 0x14003fffd
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14003fde7
test byte [rax + 0x1c], 4
je 0x14003fde7
cmp byte [rax + 0x19], 2
jb 0x14003fde7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x49
jmp 0x14003fd06
mov rax, qword [rdi + 8]
mov rcx, qword [rbx + 0x48]
mov qword [rbx + 0x10], rax
call fcn.14006a328
mov rcx, qword [rdi + 0x30]
call fcn.14006bd20
mov qword [rbx + 0x48], rax
cmp qword [rdi + 0x30], r14
je 0x140040060
test rax, rax
jne 0x140040060
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14003fde7
test byte [rax + 0x1c], 4
je 0x14003fde7
cmp byte [rax + 0x19], 2
jb 0x14003fde7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x4a
jmp 0x14003fd06
mov eax, dword [rdi + 0x228]
mov dword [rbx + 0x250], eax
mov eax, dword [rbx + 0x734]
bt eax, 9
jae 0x140040087
mov rax, qword [rbx + 0x248]
add dword [rax + 0x17c], esi
jmp 0x1400400ad
bt eax, 8
jae 0x14004009c
mov rax, qword [rbx + 0x248]
add dword [rax + 0x178], esi
jmp 0x1400400ad
test al, al
jns 0x1400400ad
mov rax, qword [rbx + 0x248]
add dword [rax + 0x180], esi
mov rax, qword [rdi + 0x460]
mov qword [rbx + 0x488], rax
mov rax, qword [rdi + 0x468]
mov qword [rbx + 0x490], rax
mov eax, dword [rdi + 0x3c]
mov dword [rbx + 0x54], eax
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x18], rax
jmp 0x14003fdea