Function at 0x14001eb60
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
xor r15d, r15d
mov dword [rsp + 0x68], edx
mov edi, edx
mov qword [rsp + 0x60], rcx
mov rbx, rcx
mov dword [rsp + 0x5c], r15d
xor edx, edx
mov qword [rsp + 0x48], r15
lea rcx, [rbp - 0x60]
mov r8d, 0x208
mov r12d, r15d
mov r14d, r15d
mov esi, r15d
call fcn.140136540
mov dword [rsp + 0x78], edi
mov r13, 0xffffffffffffffff
mov dword [rsp + 0x7c], r13d
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x70], r15
test rbx, rbx
jne 0x14001ebf3
mov eax, r13d
jmp 0x14001f0bf
test edi, edi
jne 0x14001ed2a
mov rcx, qword [0x14019f588]
test rcx, rcx
jne 0x14001ec0e
xor eax, eax
jmp 0x14001f0bf
cmp dword [0x1401944a8], esi
mov r8d, 0xff
mov edx, 0xf7
mov eax, 0xf8
cmovne edx, r8d
cmp dword [0x140194318], esi
cmovne eax, r8d
and dl, al
call fcn.140070b00
mov qword [rbp - 0x78], rax
mov r15, rax
test rax, rax
jne 0x14001ec5d
mov rdx, qword [0x14019f588]
lea rcx, str.Could_not_open_image__s_as_an_ISO_9660_file_system
call fcn.14004f2f0
jmp 0x14001efde
lea rdx, [0x1401e8eac]
mov rcx, r15
call fcn.140073a40
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x14001ec8e
lea rdx, [0x1401e8eac]
lea rcx, str.Could_not_get_ISO_9660_file_information_for_file__s
call fcn.14004f2f0
jmp 0x14001efde
mov ecx, 0x8018
call fcn.1400e8c84
mov qword [rbp - 0x70], rax
mov rdi, rax
test rax, rax
je 0x14001efde
mov r8, qword [rsp + 0x70]
lea rdx, [rax + 0x18]
mov qword [rax], r15
mov r9d, 0x10
mov rcx, r15
mov word [rsp + 0x20], 0x800
mov r8d, dword [r8 + 0xd8]
mov dword [rax + 8], r8d
mov qword [rax + 0x10], rsi
call fcn.140072620
cmp eax, 0x8000
je 0x14001ecfb
mov r8d, dword [rdi + 8]
lea rdx, [0x1401e8eac]
lea rcx, str.Error_reading_ISO_9660_file__s_at_LSN__lu
call fcn.14004f2f0
jmp 0x14001efde
mov rdx, rdi
lea rcx, [0x14001e670]
call fcn.140082a20
mov qword [0x1401d0e10], rax
test rax, rax
jne 0x14001ed27
lea rcx, str.FAT_access_error
call fcn.14004f2f0
jmp 0x14001efde
xor r15d, r15d
movaps xmmword [rsp + 0x300], xmm7
movaps xmmword [rsp + 0x2f0], xmm8
movsd xmm8, qword [0x140176f68]
movaps xmmword [rsp + 0x2e0], xmm9
movsd xmm9, qword [0x140176fe0]
movaps xmmword [rsp + 0x2d0], xmm10
movsd xmm10, qword [0x140176fc0]
movaps xmmword [rsp + 0x2c0], xmm11
movsd xmm11, qword [0x140176f90]
movaps xmmword [rsp + 0x310], xmm6
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x78]
lea rsi, [0x1401564ce]
call fcn.140083260
mov dword [rsp + 0x78], eax
test eax, eax
js 0x14001f485
cmp word [rbp - 0x60], 0
jne 0x14001edf9
mov edx, 1
mov ecx, edx
call fcn.1400c4f6c
mov r14, rax
mov r15, rax
test rax, rax
jne 0x14001ee7f
nop word [rax + rax]
cmp byte [rbx + r13 + 1], 0
lea r13, [r13 + 1]
jne 0x14001edd0
lea rcx, [r13 + 2]
call fcn.1400e8c84
lea rcx, str.Could_not_allocate_buffer
mov r12, rax
call fcn.14004f2f0
jmp 0x14001ef96
mov qword [rsp + 0x38], r15
lea r8, [rbp - 0x60]
mov qword [rsp + 0x30], r15
mov r9d, r13d
mov dword [rsp + 0x28], r15d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
cmp ebx, 1
jle 0x14001f4b8
mov rcx, rbx
mov edx, 1
call fcn.1400c4f6c
mov r15, rax
test rax, rax
je 0x14001f4ab
xor edi, edi
lea r8, [rbp - 0x60]
mov qword [rsp + 0x38], rdi
mov r9d, r13d
mov qword [rsp + 0x30], rdi
xor edx, edx
mov dword [rsp + 0x28], ebx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, ebx
jne 0x14001f496
mov rbx, qword [rsp + 0x60]
mov r14, r15
mov rcx, r13
inc rcx
cmp byte [r15 + rcx], 0
jne 0x14001ee82
mov rax, r13
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x14001ee90
add rax, 2
add rcx, rax
call fcn.1400e8c84
mov r12, rax
test rax, rax
je 0x14001f4c5
mov rdx, rax
mov qword [rsp + 0x40], r14
sub rdx, rbx
mov rcx, rbx
nop
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14001eec0
lea rcx, [r12 - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001eed3
movzx eax, word [0x1401560f8]
mov word [rcx], ax
lea rcx, [r12 - 1]
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001eef0
xor edx, edx
nop dword [rax]
movzx eax, byte [r15 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14001ef00
test byte [rbp + 0x1a4], 0x10
mov rcx, r12
je 0x14001f0e9
call fcn.140017cf0
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test rbx, rbx
je 0x14001ef4a
mov rcx, rbx
call fcn.1400e8c70
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x14001ef82
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14001ef82
call fcn.14004fba0
mov r8, rax
lea rcx, str.Could_not_create_directory__s:__s
mov rdx, r12
call fcn.14004f2f0
xor r15d, r15d
jmp 0x14001f485
mov edx, dword [rsp + 0x78]
mov rcx, r12
call fcn.14001eb60
test eax, eax
jne 0x14001f46c
cmp dword [rsp + 0x68], 0
movaps xmm11, xmmword [rsp + 0x2c0]
movaps xmm10, xmmword [rsp + 0x2d0]
movaps xmm9, xmmword [rsp + 0x2e0]
movaps xmm8, xmmword [rsp + 0x2f0]
movaps xmm7, xmmword [rsp + 0x300]
movaps xmm6, xmmword [rsp + 0x310]
mov rsi, qword [rsp + 0x48]
jne 0x14001f098
mov r15, qword [rbp - 0x78]
mov rdi, qword [0x1401d0e10]
xor r13d, r13d
test rdi, rdi
je 0x14001f020
mov rbx, qword [rdi + 0x48]
mov qword [rdi + 0x48], r13
mov rcx, rbx
test rbx, rbx
je 0x14001f011
nop dword [rax]
mov rbx, qword [rbx + 8]
call fcn.1400c40d0
mov rcx, rbx
test rbx, rbx
jne 0x14001f000
mov rcx, rdi
call fcn.1400e8c70
mov qword [0x1401d0e10], r13
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14001f044
mov rcx, qword [rbx + 0x1d]
test rcx, rcx
je 0x14001f03c
call fcn.1400e8c70
mov qword [rbx + 0x1d], r13
mov rcx, rbx
call fcn.1400e8c70
test r15, r15
je 0x14001f08f
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x14001f083
cmp dword [rbx + 0x38], 0
je 0x14001f072
lea rcx, str.closed_source...
call fcn.140070820
mov rcx, qword [rbx]
call qword [rbx + 0x28]
mov dword [rbx + 0x38], r13d
mov qword [rbx + 0x40], r13
mov rcx, qword [rbx]
call qword [rbx + 0x30]
mov rcx, rbx
mov qword [rbx], r13
call fcn.1400e8c70
mov rcx, r15
mov qword [r15 + 8], r13
call fcn.1400e8c70
mov rcx, qword [rbp - 0x70]
call fcn.1400e8c70
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14001f0ab
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call fcn.1400e8c70
mov rcx, r12
call fcn.1400e8c70
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400b2a30
mov rbx, qword [rsp + 0x370]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140017cf0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
test rbx, rbx
je 0x14001f109
mov rcx, rbx
call fcn.1400e8c70
test edi, edi
jne 0x14001f46c
xor eax, eax
mov dword [rsp + 0x50], eax
mov word [rsp + 0x54], ax
mov byte [rsp + 0x56], al
mov rax, r13
inc rax
cmp byte [r15 + rax], 0
jne 0x14001f123
cmp rax, 4
jbe 0x14001f14f
lea rcx, [rax - 5]
add rcx, r15
lea rdx, str..conf
call fcn.140107d64
test eax, eax
jne 0x14001f14f
mov r14b, 1
jmp 0x14001f152
xor r14b, r14b
cmp dword [0x14019f590], 0
lea rdi, [0x140166140]
mov ecx, dword [rbp + 0x1a0]
xorps xmm7, xmm7
cmove rdi, rsi
mov byte [rsp + 0x51], r14b
test rcx, rcx
js 0x14001f17e
cvtsi2sd xmm7, rcx
jmp 0x14001f193
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm7, rax
addsd xmm7, xmm7
mov rsi, qword [0x14019f560]
xor ebx, ebx
nop dword [rax]
comisd xmm9, xmm7
ja 0x14001f1b5
inc rbx
mulsd xmm7, xmm8
cmp rbx, 5
jl 0x14001f1a0
test rbx, rbx
jne 0x14001f1dc
mov rax, qword [rsi + 0xa0]
lea r9, str._s_d_s__s
mov qword [rsp + 0x38], rax
cvttsd2si ecx, xmm7
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ecx
jmp 0x14001f224
movaps xmm6, xmm7
movaps xmm0, xmm7
mulsd xmm6, xmm10
call fcn.140135bc0
lea rax, str._s_0.0f_s__s
mulsd xmm0, xmm10
lea r9, str._s_0.1f_s__s
subsd xmm6, xmm0
comisd xmm11, xmm6
cmova r9, rax
mov rax, qword [rsi + rbx*8 + 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
movsd qword [rsp + 0x28], xmm7
mov r8, r13
mov qword [rsp + 0x20], rdi
mov edx, 0x20
lea rcx, [0x1401e2e30]
call fcn.140004fd0
lea r9, [0x1401e2e30]
mov byte [0x1401e2e4f], 0
lea r8, [0x1401e8eac]
mov rdx, r12
lea rcx, str.Extracting:__s__from__s___s_
call fcn.14004f2f0
movzx ebx, byte [rbp + 0x1a4]
mov rcx, r12
call fcn.140017cf0
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov edx, 0xc0000000
mov r8d, 1
mov dword [rsp + 0x20], 2
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test rdi, rdi
je 0x14001f2b9
mov rcx, rdi
call fcn.1400e8c70
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x48]
cmp rbx, r13
jne 0x14001f2ef
call fcn.14004fba0
mov r8, rax
lea rcx, str.Could_not_create__s:__s
mov rdx, r12
call fcn.14004f2f0
mov r14, qword [rsp + 0x40]
xor r15d, r15d
jmp 0x14001f485
mov ecx, dword [rsp + 0x78]
xor esi, esi
mov rax, qword [0x1401d0e10]
test ecx, ecx
jne 0x14001f30d
mov ecx, dword [rax + 0x20]
test ecx, ecx
jne 0x14001f30d
mov rdi, qword [rax + 0x30]
jmp 0x14001f328
cmp ecx, 2
jl 0x14001f333
cmp ecx, dword [rax + 0x1c]
jge 0x14001f333
movsxd rdi, ecx
mov ecx, dword [rax + 0x18]
sub rdi, 2
shl rdi, cl
add rdi, qword [rax + 0x38]
test rdi, rdi
je 0x14001f442
jmp 0x14001f340
mov rdi, r13
nop word [rax + rax]
mov ecx, 0xffffffff
cmp rdi, rcx
jae 0x14001f442
cmp esi, dword [rbp + 0x1a0]
jae 0x14001f442
mov rdx, rdi
mov rcx, rax
call fcn.140082890
mov rdx, rax
test rax, rax
jne 0x14001f37a
mov eax, 0xc003001b
mov dword [0x14019f120], eax
jmp 0x14001f380
mov eax, dword [0x14019f120]
test eax, eax
js 0x14001f4e3
mov r8d, dword [rbp + 0x1a0]
lea r9, [rsp + 0x58]
sub r8d, esi
mov rcx, rbx
cmp dword [0x140196f78], r8d
cmovb r8d, dword [0x140196f78]
mov dword [rsp + 0x58], r8d
call fcn.140050980
test eax, eax
je 0x14001f42b
mov ecx, dword [rbp + 0x1a0]
mov eax, dword [rsp + 0x58]
sub ecx, esi
cmp dword [0x140196f78], ecx
cmovb ecx, dword [0x140196f78]
cmp eax, ecx
jne 0x14001f42b
mov rcx, qword [0x1401d0e10]
mov rdx, rdi
add esi, eax
call fcn.140082d10
mov rdi, rax
mov rax, qword [0x1401d0e10]
mov rbx, qword [rax + 0x48]
mov qword [rax + 0x48], 0
mov rcx, rbx
test rbx, rbx
je 0x14001f41b
mov rbx, qword [rbx + 8]
call fcn.1400c40d0
mov rcx, rbx
test rbx, rbx
jne 0x14001f403
mov rax, qword [0x1401d0e10]
mov rbx, qword [rsp + 0x48]
test rdi, rdi
jne 0x14001f340
jmp 0x14001f442
call fcn.14004fba0
mov r8, rax
lea rcx, str.Could_not_write__s:__s
mov rdx, r12
call fcn.14004f2f0
test rbx, rbx
je 0x14001f455
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], r13
test r14b, r14b
je 0x14001f46c
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.140018fe0
mov rcx, r12
call fcn.1400e8c70
mov rcx, r15
xor r12d, r12d
call fcn.1400e8c70
xor r15d, r15d
mov r14d, r15d
cmp dword [rsp + 0x78], 0
jl 0x14001f4d6
mov rbx, qword [rsp + 0x60]
jmp 0x14001ed82
mov rcx, r15
call fcn.1400e8c70
mov rbx, qword [rsp + 0x60]
mov r14, rdi
jmp 0x14001edd0
mov rbx, qword [rsp + 0x60]
xor r14d, r14d
jmp 0x14001edd0
mov rbx, qword [rsp + 0x60]
mov r14, r15
jmp 0x14001edd0
lea rcx, str.Could_not_allocate_buffer
call fcn.14004f2f0
jmp 0x14001ef96
mov dword [rsp + 0x5c], 1
jmp 0x14001ef96
mov r14, qword [rsp + 0x40]
jmp 0x14001ef96