Function at 0x140019500
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 - 0x210]
sub rsp, 0x310
mov rax, qword [0x140106438]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r15d, r15d
mov dword [rsp + 0x60], edx
mov edi, edx
mov qword [rsp + 0x48], rcx
mov rbx, rcx
mov dword [rsp + 0x5c], r15d
xor edx, edx
mov qword [rsp + 0x40], r15
lea rcx, [rbp - 0x70]
mov r8d, 0x208
mov r13d, r15d
mov r14d, r15d
mov esi, r15d
call fcn.140093c00
mov dword [rbp - 0x80], edi
mov r12d, r15d
mov dword [rbp - 0x7c], 0xffffffff
mov qword [rbp - 0x78], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], r15
test rbx, rbx
jne 0x140019592
lea eax, [rbx - 1]
jmp 0x140019e60
test edi, edi
jne 0x1400196cb
mov rcx, qword [0x1401128d8]
test rcx, rcx
jne 0x1400195ad
xor eax, eax
jmp 0x140019e60
cmp dword [0x14010713c], esi
mov r8d, 0xff
mov edx, 0xf7
mov eax, 0xf8
cmovne edx, r8d
cmp dword [0x140107138], esi
cmovne eax, r8d
and dl, al
call fcn.14005b380
mov qword [rsp + 0x68], rax
mov r15, rax
test rax, rax
jne 0x1400195fd
mov rdx, qword [0x1401128d8]
lea rcx, str.Could_not_open_image__s_as_an_ISO_9660_file_system
call fcn.140041aa0
jmp 0x140019d81
lea rdx, [0x14015b36c]
mov rcx, r15
call fcn.14005cdc0
mov qword [rsp + 0x78], rax
mov rdi, rax
test rax, rax
jne 0x140019631
lea rdx, [0x14015b36c]
lea rcx, str.Could_not_get_ISO_9660_file_information_for_file__s
call fcn.140041aa0
jmp 0x140019d81
mov ecx, 0x8018
call fcn.14009b5b4
mov qword [rsp + 0x70], rax
mov r12, rax
test rax, rax
je 0x140019d81
mov qword [rax], r15
lea rdx, [r12 + 0x18]
mov r8d, dword [rdi + 0xd8]
mov rcx, r15
xor edi, edi
mov dword [rax + 8], r8d
mov qword [rax + 0x10], rdi
mov eax, 0x800
mov word [rsp + 0x20], ax
lea r9d, [rdi + 0x10]
call fcn.14005bc90
cmp eax, 0x8000
je 0x14001969f
mov r8d, dword [r12 + 8]
lea rdx, [0x14015b36c]
lea rcx, str.Error_reading_ISO_9660_file__s_at_LSN__lu
call fcn.140041aa0
jmp 0x140019d81
mov rdx, r12
lea rcx, [0x140019010]
call fcn.14006ab10
mov qword [0x1401432e8], rax
test rax, rax
jne 0x1400196cd
lea rcx, str.FAT_access_error
call fcn.140041aa0
jmp 0x140019d81
xor edi, edi
movaps xmmword [rsp + 0x2f0], xmm7
movaps xmmword [rsp + 0x2e0], xmm8
movsd xmm8, qword [0x1400f6440]
movaps xmmword [rsp + 0x2d0], xmm9
movsd xmm9, qword [0x1400f64b8]
movaps xmmword [rsp + 0x2c0], xmm10
movsd xmm10, qword [0x1400f6498]
movaps xmmword [rsp + 0x2b0], xmm11
movsd xmm11, qword [0x1400f6468]
movaps xmmword [rsp + 0x300], xmm6
nop word [rax + rax]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x80]
call fcn.14006b0a0
mov dword [rbp - 0x80], eax
mov r15d, eax
test eax, eax
js 0x140019d29
cmp word [rbp - 0x70], 0
jne 0x14001976f
mov edx, 1
mov ecx, edx
call fcn.1400966e0
mov r14, rax
test rax, rax
jne 0x140019830
jmp 0x1400197f4
mov qword [rsp + 0x38], rdi
lea r8, [rbp - 0x70]
mov qword [rsp + 0x30], rdi
mov r9d, 0xffffffff
mov dword [rsp + 0x28], edi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
cmp ebx, 1
jle 0x1400197ec
mov rcx, rbx
mov edx, 1
call fcn.1400966e0
mov r14, rax
test rax, rax
je 0x1400197ec
mov qword [rsp + 0x38], rdi
lea r8, [rbp - 0x70]
mov qword [rsp + 0x30], rdi
mov r9d, 0xffffffff
mov dword [rsp + 0x28], ebx
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, ebx
je 0x14001982b
mov rcx, r14
call fcn.14009b5a0
mov rbx, qword [rsp + 0x48]
mov r14, rdi
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140019800
add rcx, 2
call fcn.14009b5b4
mov r13, rax
test r14, r14
jne 0x140019869
lea rcx, str.Could_not_allocate_buffer
call fcn.140041aa0
jmp 0x140019d38
mov rbx, qword [rsp + 0x48]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140019837
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x140019850
add rax, 2
add rcx, rax
call fcn.14009b5b4
mov r13, rax
test r13, r13
je 0x14001981a
mov rdx, r13
mov rcx, rbx
sub rdx, rbx
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140019880
lea rcx, [r13 - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140019892
movzx eax, word [0x1400d72e8]
mov word [rcx], ax
lea rcx, [r13 - 1]
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400198b0
xor edx, edx
nop dword [rax]
movzx eax, byte [r14 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400198c0
test byte [rbp + 0x194], 0x10
mov rcx, r13
je 0x140019968
call fcn.140003550
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 0x14001990a
mov rcx, rbx
call fcn.14009b5a0
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x14001994b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14001994b
call fcn.140041e50
mov r8, rax
lea rcx, str.Could_not_create_directory__s:__s
mov rdx, r13
call fcn.140041aa0
mov rsi, qword [rsp + 0x40]
xor edi, edi
mov rbx, qword [rsp + 0x48]
jmp 0x140019730
mov edx, r15d
mov rcx, r13
call fcn.140019500
mov rsi, qword [rsp + 0x40]
test eax, eax
je 0x140019d38
jmp 0x140019d07
call fcn.140003550
mov rcx, rax
mov rbx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
test rbx, rbx
je 0x140019988
mov rcx, rbx
call fcn.14009b5a0
test edi, edi
jne 0x140019d07
xor eax, eax
mov dword [rsp + 0x50], eax
mov word [rsp + 0x54], ax
mov byte [rsp + 0x56], al
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], 0
jne 0x1400199a6
cmp rax, 4
jbe 0x1400199d2
lea rcx, [rax - 5]
add rcx, r14
lea rdx, str..conf
call fcn.1400a5b5c
test eax, eax
jne 0x1400199d2
mov r12b, 1
jmp 0x1400199d5
xor r12b, r12b
cmp dword [0x1401128e0], 0
lea rdi, [0x1400e6704]
mov ecx, dword [rbp + 0x190]
lea rax, [0x1400d756a]
cmove rdi, rax
mov byte [rsp + 0x51], r12b
xorps xmm7, xmm7
test rcx, rcx
js 0x140019a08
cvtsi2sd xmm7, rcx
jmp 0x140019a1d
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm7, rax
addsd xmm7, xmm7
mov rsi, qword [0x140111658]
xor ebx, ebx
comisd xmm9, xmm7
ja 0x140019a3b
inc rbx
mulsd xmm7, xmm8
cmp rbx, 5
jl 0x140019a26
test rbx, rbx
jne 0x140019a62
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 0x140019aaa
movaps xmm6, xmm7
movaps xmm0, xmm7
mulsd xmm6, xmm10
call fcn.1400bf1f0
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, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
lea rcx, [0x140155350]
lea edx, [r8 + 0x21]
call fcn.1400034e0
lea r9, [0x140155350]
mov byte [0x14015536f], 0
lea r8, [0x14015b36c]
mov rdx, r13
lea rcx, str.Extracting:__s__from__s___s_
call fcn.140041aa0
movzx ebx, byte [rbp + 0x194]
mov rcx, r13
call fcn.140003550
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], ebx
mov edx, 0xc0000000
mov rcx, rax
mov dword [rsp + 0x20], 2
mov rdi, rax
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test rdi, rdi
je 0x140019b40
mov rcx, rdi
call fcn.14009b5a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x40]
cmp rbx, 0xffffffffffffffff
jne 0x140019b79
call fcn.140041e50
mov r8, rax
lea rcx, str.Could_not_create__s:__s
mov rdx, r13
call fcn.140041aa0
mov rsi, rbx
xor edi, edi
mov rbx, qword [rsp + 0x48]
jmp 0x140019730
mov rax, qword [0x1401432e8]
xor esi, esi
test r15d, r15d
jne 0x140019b96
mov r15d, dword [rax + 0x20]
test r15d, r15d
jne 0x140019b96
mov rdi, qword [rax + 0x30]
jmp 0x140019bb3
cmp r15d, 2
jl 0x140019bbe
cmp r15d, dword [rax + 0x1c]
jge 0x140019bbe
mov ecx, dword [rax + 0x18]
movsxd rdi, r15d
sub rdi, 2
shl rdi, cl
add rdi, qword [rax + 0x38]
test rdi, rdi
je 0x140019ccf
jmp 0x140019bc5
mov rdi, 0xffffffffffffffff
xor r15d, r15d
nop dword [rax + rax]
mov ecx, 0xffffffff
cmp rdi, rcx
jae 0x140019ccf
cmp esi, dword [rbp + 0x190]
jae 0x140019ccf
mov rdx, rdi
mov rcx, rax
call fcn.14006aa00
mov ecx, dword [0x140111620]
test rax, rax
mov rdx, rax
mov eax, 0xc003001b
cmove ecx, eax
mov dword [0x140111620], ecx
test ecx, ecx
js 0x140019d33
mov r8d, dword [rbp + 0x190]
lea r9, [rsp + 0x58]
sub r8d, esi
mov rcx, rbx
cmp dword [0x140109f14], r8d
cmovb r8d, dword [0x140109f14]
mov dword [rsp + 0x58], r8d
call fcn.140042b10
test eax, eax
je 0x140019cb8
mov ecx, dword [rbp + 0x190]
mov eax, dword [rsp + 0x58]
sub ecx, esi
cmp dword [0x140109f14], ecx
cmovb ecx, dword [0x140109f14]
cmp eax, ecx
jne 0x140019cb8
mov rcx, qword [0x1401432e8]
mov rdx, rdi
add esi, eax
call fcn.14006ad40
mov rdi, rax
mov rax, qword [0x1401432e8]
mov rbx, qword [rax + 0x48]
mov qword [rax + 0x48], r15
mov rcx, rbx
test rbx, rbx
je 0x140019ca8
nop
mov rbx, qword [rbx + 8]
call fcn.140096520
mov rcx, rbx
test rbx, rbx
jne 0x140019c90
mov rax, qword [0x1401432e8]
mov rbx, qword [rsp + 0x40]
test rdi, rdi
jne 0x140019bd0
jmp 0x140019ccf
call fcn.140041e50
mov r8, rax
lea rcx, str.Could_not_write__s:__s
mov rdx, r13
call fcn.140041aa0
test rbx, rbx
je 0x140019ceb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
jmp 0x140019cf0
mov rsi, qword [rsp + 0x40]
test r12b, r12b
je 0x140019d07
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.140013cf0
mov rcx, r13
call fcn.14009b5a0
xor edi, edi
mov rcx, r14
mov r13d, edi
call fcn.14009b5a0
mov rbx, qword [rsp + 0x48]
mov r14d, edi
jmp 0x140019730
mov dword [rsp + 0x5c], 1
jmp 0x140019d38
mov rsi, qword [rsp + 0x40]
cmp dword [rsp + 0x60], 0
movaps xmm11, xmmword [rsp + 0x2b0]
movaps xmm10, xmmword [rsp + 0x2c0]
movaps xmm9, xmmword [rsp + 0x2d0]
movaps xmm8, xmmword [rsp + 0x2e0]
movaps xmm7, xmmword [rsp + 0x2f0]
movaps xmm6, xmmword [rsp + 0x300]
jne 0x140019e39
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rdi, qword [0x1401432e8]
test rdi, rdi
je 0x140019dc3
mov rbx, qword [rdi + 0x48]
mov qword [rdi + 0x48], 0
mov rcx, rbx
test rbx, rbx
je 0x140019db2
mov rbx, qword [rbx + 8]
call fcn.140096520
mov rcx, rbx
test rbx, rbx
jne 0x140019da1
mov rcx, rdi
call fcn.14009b5a0
xor edi, edi
mov qword [0x1401432e8], rdi
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140019de7
mov rcx, qword [rbx + 0x1d]
test rcx, rcx
je 0x140019ddf
call fcn.14009b5a0
mov qword [rbx + 0x1d], rdi
mov rcx, rbx
call fcn.14009b5a0
test r15, r15
je 0x140019e31
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x140019e25
cmp dword [rbx + 0x38], 0
je 0x140019e14
lea rcx, str.closed_source...
call fcn.14005b2c0
mov rcx, qword [rbx]
call qword [rbx + 0x28]
mov dword [rbx + 0x38], edi
mov qword [rbx + 0x40], rdi
mov rcx, qword [rbx]
call qword [rbx + 0x30]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14009b5a0
mov rcx, r15
mov qword [r15 + 8], rdi
call fcn.14009b5a0
mov rcx, r12
call fcn.14009b5a0
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140019e4c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call fcn.14009b5a0
mov rcx, r13
call fcn.14009b5a0
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140092060
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret