Function at 0x140043780
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
and qword [rax + 0x10], 0
mov rbp, rcx
mov rcx, qword [str.___t_]
lea r12, str.___t_
lea r13, [0x140003b68]
cmp rcx, r12
je 0x1400437d7
test byte [rcx + 0x1c], 4
je 0x1400437d7
cmp byte [rcx + 0x19], 5
jb 0x1400437d7
mov rcx, qword [rcx + 0x10]
mov edx, 0x42
mov r8, r13
call fcn.14000e618
lea rdx, [rsp + 0x58]
mov rcx, rbp
call fcn.1400428e4
mov rdi, qword [rsp + 0x58]
test eax, eax
jne 0x140043821
mov rax, qword [str.___t_]
cmp rax, r12
je 0x140043942
test byte [rax + 0x1c], 4
je 0x140043942
cmp byte [rax + 0x19], 2
jb 0x140043942
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x43
jmp 0x140043a4c
mov rcx, rdi
call fcn.140042e2c
test eax, eax
je 0x140043942
mov rax, qword [0x14009a1a0]
lea r8, [0x14009a1a0]
cmp rax, r8
je 0x14004385c
mov rcx, qword [rdi + 0x220]
mov rdx, rax
mov rax, qword [rax]
cmp qword [rdx + 0x10], rcx
je 0x14004385e
cmp rax, r8
jne 0x14004384b
xor edx, edx
test rdx, rdx
jne 0x1400438d2
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140043894
test byte [rcx + 0x1c], 4
je 0x140043894
cmp byte [rcx + 0x19], 2
jb 0x140043894
mov rax, qword [rdi + 8]
mov r9, qword [rdi + 0x220]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140041c7c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140043942
mov rax, qword [str.___t_]
cmp rax, r12
je 0x140043942
test byte [rax + 0x1c], 4
je 0x140043942
cmp byte [rax + 0x19], 2
jb 0x140043942
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x45
jmp 0x140043928
mov eax, dword [rdi + 0x28]
mov esi, 1
cmp eax, 2
jne 0x1400438ec
cmp dword [rdi + 0x228], 0
lea eax, [rsi + 0x3f]
cmove eax, esi
lea r8, [rdi + 0x198]
xor r9d, r9d
mov dword [rsp + 0x20], eax
call fcn.140046eec
mov rbx, rax
test rax, rax
jne 0x140043967
mov rax, qword [str.___t_]
cmp rax, r12
je 0x140043942
test byte [rax + 0x1c], 4
je 0x140043942
cmp byte [rax + 0x19], 2
jb 0x140043942
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rbx + 0x46]
mov rcx, qword [str.___t_]
mov r9, rbp
mov r8, r13
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.14000e8e4
xor esi, esi
mov rcx, rdi
call fcn.140072328
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
mov eax, dword [rdi + 0x670]
lea r8, [rdi + 0x470]
lea rcx, [rbx + 0x498]
mov edx, 0x100
mov dword [rbx + 0x698], eax
call fcn.14001008c
test eax, eax
jns 0x1400439ae
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140043942
test byte [rcx + 0x1c], 4
je 0x140043942
cmp byte [rcx + 0x19], 2
jb 0x140043942
mov edx, 0x47
jmp 0x1400439f3
lea r8, [rdi + 0x22c]
lea rcx, [rbx + 0x288]
mov edx, 0x100
call fcn.14001008c
test eax, eax
jns 0x140043a07
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140043942
test byte [rcx + 0x1c], 4
je 0x140043942
cmp byte [rcx + 0x19], 2
jb 0x140043942
mov edx, 0x48
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
jmp 0x140043942
mov rcx, rbp
call fcn.1400730d0
mov qword [rbx + 0x38], rax
test rbp, rbp
je 0x140043a67
test rax, rax
jne 0x140043a67
mov rax, qword [str.___t_]
cmp rax, r12
je 0x140043942
test byte [rax + 0x1c], 4
je 0x140043942
cmp byte [rax + 0x19], 2
jb 0x140043942
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x49
mov rcx, qword [str.___t_]
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.14000e63c
jmp 0x140043942
mov rax, qword [rdi + 8]
mov rcx, qword [rbx + 0x48]
mov qword [rbx + 0x10], rax
call fcn.140072328
mov rcx, qword [rdi + 0x30]
call fcn.1400730d0
mov qword [rbx + 0x48], rax
cmp qword [rdi + 0x30], 0
je 0x140043ac2
test rax, rax
jne 0x140043ac2
mov rax, qword [str.___t_]
cmp rax, r12
je 0x140043942
test byte [rax + 0x1c], 4
je 0x140043942
cmp byte [rax + 0x19], 2
jb 0x140043942
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x4a
jmp 0x140043a4c
mov eax, dword [rdi + 0x228]
mov dword [rbx + 0x250], eax
mov eax, dword [rbx + 0x734]
bt eax, 9
jae 0x140043ae9
mov rax, qword [rbx + 0x248]
add dword [rax + 0x17c], esi
jmp 0x140043b0f
bt eax, 8
jae 0x140043afe
mov rax, qword [rbx + 0x248]
add dword [rax + 0x178], esi
jmp 0x140043b0f
test al, al
jns 0x140043b0f
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 0x140043944