Function at 0x14001be72
Capabilities:
Create directory

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x298
xor eax, eax
lea rdi, [rsp + 0x88]
mov dword [rsp + 0x78], edx
mov ebp, edx
mov qword [rsp + 0x2e0], rcx
mov ecx, 0x82
rep stosd dword [rdi], eax
xor eax, eax
mov dword [rsp + 0x7c], 0xffffffff
cmp qword [rsp + 0x2e0], 0
mov qword [rsp + 0x80], rax
je 0x14001c454
test edx, edx
jne 0x14001bfdf
mov rbx, qword [0x1400b4c50]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001c469
cmp dword [0x1400817a4], 1
sbb edx, edx
and edx, 0xfffffff9
dec edx
cmp dword [0x1400817a0], 1
sbb eax, eax
and eax, 0xfffffff8
dec eax
and edx, eax
movzx edx, dl
call fcn.140071356
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14001bf1c
mov rdx, qword [rbx]
lea rcx, str.Could_not_open_image__s_as_an_ISO_9660_file_system
jmp 0x14001bf42
mov rcx, qword [rsp + 0x50]
lea rbx, [0x1400ff2cc]
mov rdx, rbx
call fcn.14007145e
mov r12, rax
test rax, rax
jne 0x14001bf51
mov rdx, rbx
lea rcx, str.Could_not_get_ISO_9660_file_information_for_file__s_n
call fcn.1400380b9
xor edi, edi
xor r12d, r12d
jmp 0x14001c459
mov ecx, 0x8018
call sub.msvcrt.dll_malloc
mov rdi, rax
test rax, rax
je 0x14001c459
mov rax, qword [rsp + 0x50]
mov r8d, dword [r12 + 0xd8]
xor r15d, r15d
lea rdx, [rdi + 0x18]
mov qword [rdi + 0x10], r15
mov r9d, 0x10
mov qword [rdi], rax
mov rcx, rax
mov dword [rdi + 8], r8d
call fcn.14007099f
cmp eax, 0x8000
je 0x14001bfb3
mov r8d, dword [rdi + 8]
mov rdx, rbx
lea rcx, str.Error_reading_ISO_9660_file__s_at_LSN__lu_n
call fcn.1400380b9
jmp 0x14001c459
mov rdx, rdi
lea rcx, [0x140019562]
call fcn.14006d5c0
mov qword [0x1400ff4d0], rax
test rax, rax
jne 0x14001bfec
lea rcx, str.FAT_access_error
call fcn.1400380b9
jmp 0x14001c459
xor r14d, r14d
xor edi, edi
xor r12d, r12d
mov qword [rsp + 0x50], r14
xor r13d, r13d
xor esi, esi
xor ebx, ebx
mov qword [rsp + 0x48], r13
mov rcx, qword [0x1400ff4d0]
lea r14, [rsp + 0x88]
lea rdx, [rsp + 0x78]
mov r8, r14
call fcn.14006d883
mov dword [rsp + 0x78], eax
test eax, eax
js 0x14001c3dc
cmp word [rsp + 0x88], 0
jne 0x14001c042
mov edx, 1
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
jmp 0x14001c0ca
xor r10d, r10d
xor r11d, r11d
xor ebx, ebx
mov r15, qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov qword [rsp + 0x38], r10
or r9d, 0xffffffff
mov r8, r14
xor edx, edx
mov qword [rsp + 0x30], r10
mov ecx, 0xfde9
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], rbx
call r15
mov r13d, eax
cmp eax, 1
jle 0x14001c0c8
movsxd rcx, eax
mov edx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x14001c0c8
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], r13d
mov r8, r14
mov qword [rsp + 0x38], r9
mov ecx, 0xfde9
mov qword [rsp + 0x30], r9
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
call r15
cmp r13d, eax
je 0x14001c0ca
mov rcx, rbx
call sub.msvcrt.dll_free
xor ebx, ebx
mov rcx, qword [rsp + 0x2e0]
call sub.msvcrt.dll_strlen
mov r13, rax
xor eax, eax
test rbx, rbx
je 0x14001c0e9
mov rcx, rbx
call sub.msvcrt.dll_strlen
lea rcx, [rax + r13 + 2]
call sub.msvcrt.dll_malloc
mov qword [rsp + 0x48], rax
test rbx, rbx
je 0x14001c102
test rax, rax
jne 0x14001c113
lea rcx, str.Could_not_allocate_buffer
call fcn.1400380b9
jmp 0x14001c3ef
mov rdx, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_strcpy
mov rcx, qword [rsp + 0x48]
lea rdx, [0x14008e980]
call sub.msvcrt.dll_strcat
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call sub.msvcrt.dll_strcat
test byte [rsp + 0x28c], 0x10
je 0x14001c1d6
mov rcx, qword [rsp + 0x48]
call fcn.140019c5f
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov r15, qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r13d, eax
call r15
mov rcx, qword [rsp + 0x58]
mov r14d, eax
test rcx, rcx
je 0x14001c18a
call sub.msvcrt.dll_free
mov ecx, r14d
call qword [sym.imp.KERNEL32.DLL_SetLastError]
test r13d, r13d
jne 0x14001c1bb
call r15
cmp eax, 0xb7
je 0x14001c1bb
call fcn.140038579
mov rdx, qword [rsp + 0x48]
lea rcx, str.Could_not_create_directory__s:__s_n
mov r8, rax
jmp 0x14001c283
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call fcn.14001be72
test eax, eax
jne 0x14001c3c1
jmp 0x14001c3ef
xor r8d, r8d
mov rcx, rbx
xor r14d, r14d
mov dword [rsp + 0x71], r8d
mov dword [rsp + 0x74], r8d
call sub.msvcrt.dll_strlen
cmp rax, 4
jbe 0x14001c20e
lea rcx, [rbx + rax - 5]
lea rdx, str..conf
xor r14d, r14d
call sub.msvcrt.dll__stricmp_1
test eax, eax
sete r14b
mov ecx, dword [rsp + 0x288]
xor r8d, r8d
xor edx, edx
mov byte [rsp + 0x72], r14b
call fcn.1400389a1
mov rdx, qword [rsp + 0x48]
lea r8, [0x1400ff2cc]
lea rcx, str.Extracting:__s__from__s___s_
mov r9, rax
call fcn.1400380b9
mov rcx, qword [rsp + 0x48]
mov edx, 0xc0000000
movzx eax, byte [rsp + 0x28c]
mov r9d, 2
mov r8d, 1
mov dword [rsp + 0x20], eax
call fcn.140019d70
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c28d
call fcn.140038579
mov rdx, qword [rsp + 0x48]
lea rcx, [0x14008f05c]
mov r8, rax
call fcn.1400380b9
jmp 0x14001c3dc
mov edx, dword [rsp + 0x78]
mov rcx, qword [0x1400ff4d0]
xor r13d, r13d
call fcn.14006d3e0
mov r15, rax
lea rax, [r15 - 1]
mov edx, 0xfffffffd
cmp rdx, rax
jb 0x14001c38d
cmp r13d, dword [rsp + 0x288]
jae 0x14001c38d
mov rcx, qword [0x1400ff4d0]
mov rdx, r15
call fcn.14006d332
mov rdx, rax
mov rax, qword [0x1400b42b0]
test rdx, rdx
jne 0x14001c2ec
mov dword [rax], 0xc003001b
jmp 0x14001c3ef
cmp dword [rax], 0
js 0x14001c3ef
mov rax, qword [0x1400b43e0]
mov r8d, dword [rsp + 0x288]
lea r9, [rsp + 0x6c]
mov rcx, rsi
mov eax, dword [rax]
sub r8d, r13d
mov dword [rsp + 0x20], 4
cmp r8d, eax
cmova r8d, eax
mov dword [rsp + 0x6c], r8d
call fcn.140038ff2
test eax, eax
je 0x14001c34c
mov rdx, qword [0x1400b43e0]
mov eax, dword [rsp + 0x288]
mov edx, dword [rdx]
sub eax, r13d
cmp eax, edx
cmova eax, edx
cmp eax, dword [rsp + 0x6c]
je 0x14001c367
call fcn.140038579
mov rdx, qword [rsp + 0x48]
lea rcx, [0x14008f076]
mov r8, rax
call fcn.1400380b9
jmp 0x14001c38d
mov rcx, qword [0x1400ff4d0]
mov rdx, r15
add r13d, eax
call fcn.14006d416
mov rcx, qword [0x1400ff4d0]
mov r15, rax
call fcn.14006d306
jmp 0x14001c2a3
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001c3a6
mov rcx, rsi
or rsi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14001c3a8
xor esi, esi
test r14d, r14d
je 0x14001c3c1
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x71]
xor r8d, r8d
xor edx, edx
call fcn.140019654
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
mov rcx, rbx
xor ebx, ebx
call sub.msvcrt.dll_free
xor ecx, ecx
mov qword [rsp + 0x48], rcx
cmp dword [rsp + 0x78], 0
jns 0x14001bff8
mov r13d, 1
jmp 0x14001c3f2
xor r13d, r13d
test ebp, ebp
jne 0x14001c42a
mov rcx, qword [0x1400ff4d0]
test rcx, rcx
je 0x14001c410
call fcn.14006d724
xor edx, edx
mov qword [0x1400ff4d0], rdx
mov rcx, r12
call fcn.14006fc40
mov rcx, qword [rsp + 0x50]
call fcn.140070683
mov rcx, rdi
call sub.msvcrt.dll_free
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001c43d
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, rbx
mov ebp, r13d
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
jmp 0x14001c469
or ebp, 0xffffffff
jmp 0x14001c469
xor eax, eax
xor r13d, r13d
xor esi, esi
xor ebx, ebx
mov qword [rsp + 0x48], rax
jmp 0x14001c3f6
mov eax, ebp
add rsp, 0x298
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret