Function at 0x14001d180
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.140017520
mov qword [rsp + 0x30], rdi
lea r8d, [rbp + 1]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov edx, 0xc0000000
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 0x14001d21b
mov rcx, r15
call fcn.1400e9080
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x14001d24c
call fcn.140050120
mov rbx, qword [rsp + 0x40]
lea rcx, str.__Could_not_create_file__s:__s
mov rdx, rbx
mov r8, rax
call fcn.14004f910
jmp 0x14001d566
mov rcx, rsi
call fcn.140076780
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x14001d3ae
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.140071530
mov r12, rax
test rax, rax
jne 0x14001d2ac
mov rdx, rsi
lea rcx, str.Unable_to_open_image__s
call fcn.14004f910
jmp 0x14001d549
mov rbx, qword [rsp + 0x58]
mov rcx, r12
mov rdx, rbx
call fcn.140073570
mov r13, rax
test rax, rax
jne 0x14001d2d8
mov rdx, rbx
lea rcx, str.Could_not_get_ISO_9660_file_information_for_file__s
call fcn.14004f910
jmp 0x14001d549
mov rbx, qword [rax + 0xe0]
xor esi, esi
test rbx, rbx
jle 0x14001d549
mov r15d, 0x800
mov r8, r15
lea rcx, [rsp + 0x90]
xor edx, edx
call fcn.140136960
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.140072150
cmp eax, r15d
jne 0x14001d392
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.140050f30
test eax, eax
je 0x14001d36e
mov eax, edi
inc rsi
sub rbx, rax
add rbp, rax
test rbx, rbx
jg 0x14001d2f0
mov rdi, r14
jmp 0x14001d549
call fcn.140050120
mov rbx, qword [rsp + 0x40]
lea rcx, str.__Error_writing_file__s:__s
mov rdx, rbx
mov r8, rax
call fcn.14004f910
mov rdi, r14
jmp 0x14001d54e
mov rdx, qword [rsp + 0x58]
lea rcx, str.__Error_reading_ISO9660_file__s_at_LSN__lu
mov r8d, edi
call fcn.14004f910
mov rdi, r14
jmp 0x14001d549
mov rcx, rax
call fcn.140076bd0
mov qword [rsp + 0x48], rax
mov rdi, rax
test rax, rax
jne 0x14001d3d4
lea rcx, str.Could_not_locate_UDF_root_directory
call fcn.14004f910
jmp 0x14001d549
mov rbx, qword [rsp + 0x58]
mov rcx, rax
mov rdx, rbx
call fcn.1400763d0
mov r14, rax
test rax, rax
jne 0x14001d400
mov rdx, rbx
lea rcx, str.Could_not_locate_file__s_in_ISO_image
call fcn.14004f910
jmp 0x14001d549
mov rdi, qword [rax + 0x78]
test rdi, rdi
jle 0x14001d544
mov r15d, 0x800
mov r8, r15
lea rcx, [rsp + 0x90]
xor edx, edx
call fcn.140136960
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.140075f80
mov dword [rsp + 0x54], eax
cmp eax, 0xffff4f0b
je 0x14001d52b
mov r12d, dword [rsp + 0x50]
lea r8d, [r12 + 0x7ff]
shr r8d, 0xb
mov esi, r8d
cmp rsi, rbx
jae 0x14001d496
mov edx, ebx
lea rcx, str.read_count__u_is_larger_than__u_extent_size.
call fcn.1400712b0
mov edx, ebx
lea rcx, str.read_count_truncated_to__u
call fcn.1400712b0
mov eax, dword [rsp + 0x54]
mov ebx, esi
mov r9d, ebx
lea rdx, [rsp + 0x90]
mov r8d, eax
mov rcx, r13
call fcn.140076660
test eax, eax
jne 0x14001d4c1
shl rbx, 0xb
cmp r12, rbx
cmovb rbx, r12
add qword [r13 + 8], rbx
jmp 0x14001d4c4
movsxd rbx, eax
test rbx, rbx
js 0x14001d52b
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x68]
cmp rdi, rbx
lea rdx, [rsp + 0x90]
cmovl ebx, edi
mov r8d, ebx
call fcn.140050f30
test eax, eax
je 0x14001d500
mov eax, ebx
sub rdi, rax
add rbp, rax
test rdi, rdi
jg 0x14001d413
jmp 0x14001d53c
call fcn.140050120
mov rbx, qword [rsp + 0x40]
lea rcx, str.__Error_writing_file__s:__s
mov rdx, rbx
mov r8, rax
call fcn.14004f910
mov r13, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x48]
mov r12, r13
jmp 0x14001d54e
mov rdx, qword [rsp + 0x58]
lea rcx, str.Error_reading_UDF_file__s
call fcn.14004f910
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 0x14001d561
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbp, rbp
jne 0x14001d597
mov rcx, rbx
call fcn.140017520
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 0x14001d58f
mov rcx, rbx
call fcn.1400e9080
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r13, r13
je 0x14001d5ba
mov rcx, qword [r13 + 0x1d]
test rcx, rcx
je 0x14001d5b2
call fcn.1400e9080
mov qword [r13 + 0x1d], 0
mov rcx, r13
call fcn.1400e9080
xor esi, esi
test rdi, rdi
je 0x14001d5ef
mov rcx, qword [rdi]
mov qword [rdi + 0x38], rsi
test rcx, rcx
je 0x14001d5d2
call fcn.1400e9080
mov rcx, qword [rdi + 0x30]
mov qword [rdi], rsi
test rcx, rcx
je 0x14001d5e3
call fcn.1400e9080
mov rcx, rdi
mov qword [rdi + 0x30], rsi
call fcn.1400e9080
test r14, r14
je 0x14001d622
mov rcx, qword [r14]
mov qword [r14 + 0x38], rsi
test rcx, rcx
je 0x14001d605
call fcn.1400e9080
mov rcx, qword [r14 + 0x30]
mov qword [r14], rsi
test rcx, rcx
je 0x14001d616
call fcn.1400e9080
mov rcx, r14
mov qword [r14 + 0x30], rsi
call fcn.1400e9080
test r12, r12
je 0x14001d66e
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x14001d661
cmp dword [rbx + 0x38], 0
je 0x14001d650
lea rcx, str.closed_source...
call fcn.140071250
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.1400e9080
mov rcx, r12
mov qword [r12 + 8], rsi
call fcn.1400e9080
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x14001d6c1
cmp byte [rdi], 0
je 0x14001d6b9
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x14001d6b9
cmp dword [rbx + 0x38], 0
je 0x14001d6a8
lea rcx, str.closed_source...
call fcn.140071250
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.1400e9080
mov rcx, rdi
call fcn.1400e9080
mov rax, rbp
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.1400b1f80
add rsp, 0x8a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret