Function at 0x14001d9b0
Capabilities:
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8a8
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rsi, rcx
mov qword [rsp + 0x40], r8
xor ebp, ebp
mov qword [rsp + 0x58], rdx
xor r13d, r13d
mov qword [rsp + 0x80], rbp
mov rcx, r8
mov qword [rsp + 0x70], r13
mov ebx, r9d
xor r12d, r12d
xor edi, edi
xor r14d, r14d
call fcn.140017cf0
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov edx, 0xc0000000
mov r8d, 1
mov dword [rsp + 0x20], 2
mov rcx, rax
mov r15, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test r15, r15
je 0x14001da4d
mov rcx, r15
call fcn.1400e8c70
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x14001da7e
call fcn.14004fba0
mov rbx, qword [rsp + 0x40]
lea rcx, str.__Could_not_create_file__s:__s
mov rdx, rbx
mov r8, rax
call fcn.14004f2f0
jmp 0x14001dda3
mov rcx, rsi
call fcn.140076c70
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x14001dbe0
cmp dword [0x1401944a8], edi
mov ecx, 0xff
mov edx, 0xf7
mov eax, 0xf8
cmovne edx, ecx
cmp dword [0x140194318], edi
cmovne eax, ecx
mov rcx, rsi
and dl, al
call fcn.140070b00
mov r12, rax
test rax, rax
jne 0x14001dade
mov rdx, rsi
lea rcx, str.Unable_to_open_image__s
call fcn.14004f2f0
jmp 0x14001dd86
mov rbx, qword [rsp + 0x58]
mov rcx, r12
mov rdx, rbx
call fcn.140073a40
mov r13, rax
test rax, rax
jne 0x14001db0a
mov rdx, rbx
lea rcx, str.Could_not_get_ISO_9660_file_information_for_file__s
call fcn.14004f2f0
jmp 0x14001dd86
mov rbx, qword [rax + 0xe0]
xor esi, esi
test rbx, rbx
jle 0x14001dd86
mov r15d, 0x800
mov r8, r15
lea rcx, [rsp + 0x90]
xor edx, edx
call fcn.140136540
mov edi, dword [r13 + 0xd8]
lea rdx, [rsp + 0x90]
add edi, esi
mov word [rsp + 0x20], r15w
mov r8d, edi
mov r9d, 1
mov rcx, r12
call fcn.140072620
cmp eax, r15d
jne 0x14001dbc4
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x68]
cmp rbx, r15
lea rdx, [rsp + 0x90]
mov edi, r15d
cmovb edi, ebx
mov r8d, edi
call fcn.140050980
test eax, eax
je 0x14001dba0
mov eax, edi
inc rsi
sub rbx, rax
add rbp, rax
test rbx, rbx
jg 0x14001db22
mov rdi, r14
jmp 0x14001dd86
call fcn.14004fba0
mov rbx, qword [rsp + 0x40]
lea rcx, str.__Error_writing_file__s:__s
mov rdx, rbx
mov r8, rax
call fcn.14004f2f0
mov rdi, r14
jmp 0x14001dd8b
mov rdx, qword [rsp + 0x58]
lea rcx, str.__Error_reading_ISO9660_file__s_at_LSN__lu
mov r8d, edi
call fcn.14004f2f0
mov rdi, r14
jmp 0x14001dd86
mov rcx, rax
call fcn.1400770c0
mov qword [rsp + 0x48], rax
mov rdi, rax
test rax, rax
jne 0x14001dc06
lea rcx, str.Could_not_locate_UDF_root_directory
call fcn.14004f2f0
jmp 0x14001dd86
mov rbx, qword [rsp + 0x58]
mov rcx, rax
mov rdx, rbx
call fcn.1400768c0
mov r14, rax
test rax, rax
jne 0x14001dc32
mov rdx, rbx
lea rcx, str.Could_not_locate_file__s_in_ISO_image
call fcn.14004f2f0
jmp 0x14001dd86
mov rdi, qword [rax + 0x78]
test rdi, rdi
jle 0x14001dd81
mov r15d, 0x800
nop word [rax + rax]
mov r8, r15
lea rcx, [rsp + 0x90]
xor edx, edx
call fcn.140136540
mov r13, qword [r14 + 0x10]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x54]
mov dword [rsp + 0x50], 0
mov rcx, r14
mov ebx, 1
mov rdx, qword [r13 + 8]
call fcn.140076470
mov dword [rsp + 0x54], eax
cmp eax, 0xffff4f0b
je 0x14001dd68
mov r12d, dword [rsp + 0x50]
lea r8d, [r12 + 0x7ff]
shr r8d, 0xb
mov esi, r8d
cmp rsi, rbx
jae 0x14001dcd3
mov edx, ebx
lea rcx, str.read_count__u_is_larger_than__u_extent_size.
call fcn.140070880
mov edx, ebx
lea rcx, str.read_count_truncated_to__u
call fcn.140070880
mov eax, dword [rsp + 0x54]
mov ebx, esi
mov r9d, ebx
lea rdx, [rsp + 0x90]
mov r8d, eax
mov rcx, r13
call fcn.140076b50
test eax, eax
jne 0x14001dcfe
shl rbx, 0xb
cmp r12, rbx
cmovb rbx, r12
add qword [r13 + 8], rbx
jmp 0x14001dd01
movsxd rbx, eax
test rbx, rbx
js 0x14001dd68
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x68]
cmp rdi, rbx
lea rdx, [rsp + 0x90]
cmovl ebx, edi
mov r8d, ebx
call fcn.140050980
test eax, eax
je 0x14001dd3d
mov eax, ebx
sub rdi, rax
add rbp, rax
test rdi, rdi
jg 0x14001dc50
jmp 0x14001dd79
call fcn.14004fba0
mov rbx, qword [rsp + 0x40]
lea rcx, str.__Error_writing_file__s:__s
mov rdx, rbx
mov r8, rax
call fcn.14004f2f0
mov r13, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x48]
mov r12, r13
jmp 0x14001dd8b
mov rdx, qword [rsp + 0x58]
lea rcx, str.Error_reading_UDF_file__s
call fcn.14004f2f0
mov r13, qword [rsp + 0x70]
mov r12, r13
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14001dd9e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbp, rbp
jne 0x14001ddd4
mov rcx, rbx
call fcn.140017cf0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test rbx, rbx
je 0x14001ddcc
mov rcx, rbx
call fcn.1400e8c70
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r13, r13
je 0x14001ddf7
mov rcx, qword [r13 + 0x1d]
test rcx, rcx
je 0x14001ddef
call fcn.1400e8c70
mov qword [r13 + 0x1d], 0
mov rcx, r13
call fcn.1400e8c70
xor esi, esi
test rdi, rdi
je 0x14001de2c
mov rcx, qword [rdi]
mov qword [rdi + 0x38], rsi
test rcx, rcx
je 0x14001de0f
call fcn.1400e8c70
mov rcx, qword [rdi + 0x30]
mov qword [rdi], rsi
test rcx, rcx
je 0x14001de20
call fcn.1400e8c70
mov rcx, rdi
mov qword [rdi + 0x30], rsi
call fcn.1400e8c70
test r14, r14
je 0x14001de5f
mov rcx, qword [r14]
mov qword [r14 + 0x38], rsi
test rcx, rcx
je 0x14001de42
call fcn.1400e8c70
mov rcx, qword [r14 + 0x30]
mov qword [r14], rsi
test rcx, rcx
je 0x14001de53
call fcn.1400e8c70
mov rcx, r14
mov qword [r14 + 0x30], rsi
call fcn.1400e8c70
test r12, r12
je 0x14001deab
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x14001de9e
cmp dword [rbx + 0x38], 0
je 0x14001de8d
lea rcx, str.closed_source...
call fcn.140070820
mov rcx, qword [rbx]
call qword [rbx + 0x28]
mov dword [rbx + 0x38], esi
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx]
call qword [rbx + 0x30]
mov rcx, rbx
mov qword [rbx], rsi
call fcn.1400e8c70
mov rcx, r12
mov qword [r12 + 8], rsi
call fcn.1400e8c70
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x14001defe
cmp byte [rdi], 0
je 0x14001def6
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x14001def6
cmp dword [rbx + 0x38], 0
je 0x14001dee5
lea rcx, str.closed_source...
call fcn.140070820
mov rcx, qword [rbx]
call qword [rbx + 0x28]
mov dword [rbx + 0x38], esi
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx]
call qword [rbx + 0x30]
mov rcx, rbx
mov qword [rbx], rsi
call fcn.1400e8c70
mov rcx, rdi
call fcn.1400e8c70
mov rax, rbp
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.1400b2a30
add rsp, 0x8a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret