Function at 0x14001b24d
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 0x14001b820
test edx, edx
jne 0x14001b3ba
mov rbx, qword [0x1400b1a70]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001b835
cmp dword [0x14007b684], 1
sbb edx, edx
and edx, 0xfffffff9
dec edx
cmp dword [0x14007b680], 1
sbb eax, eax
and eax, 0xfffffff8
dec eax
and edx, eax
movzx edx, dl
call fcn.14006ee26
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14001b2f7
mov rdx, qword [rbx]
lea rcx, str.Could_not_open_image__s_as_an_ISO_9660_file_system
jmp 0x14001b31d
mov rcx, qword [rsp + 0x50]
lea rbx, [0x1400fb160]
mov rdx, rbx
call fcn.14006ef2e
mov r12, rax
test rax, rax
jne 0x14001b32c
mov rdx, rbx
lea rcx, str.Could_not_get_ISO_9660_file_information_for_file__s_n
call fcn.140036717
xor edi, edi
xor r12d, r12d
jmp 0x14001b825
mov ecx, 0x8018
call sub.msvcrt.dll_malloc
mov rdi, rax
test rax, rax
je 0x14001b825
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.14006e46f
cmp eax, 0x8000
je 0x14001b38e
mov r8d, dword [rdi + 8]
mov rdx, rbx
lea rcx, str.Error_reading_ISO_9660_file__s_at_LSN__lu_n
call fcn.140036717
jmp 0x14001b825
mov rdx, rdi
lea rcx, [0x140019077]
call fcn.14006b060
mov qword [0x1400fb320], rax
test rax, rax
jne 0x14001b3c7
lea rcx, str.FAT_access_error
call fcn.140036717
jmp 0x14001b825
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 [0x1400fb320]
lea r14, [rsp + 0x88]
lea rdx, [rsp + 0x78]
mov r8, r14
call fcn.14006b323
mov dword [rsp + 0x78], eax
test eax, eax
js 0x14001b7a8
cmp word [rsp + 0x88], 0
jne 0x14001b41d
mov edx, 1
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
jmp 0x14001b4a5
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 0x14001b4a3
movsxd rcx, eax
mov edx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x14001b4a3
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 0x14001b4a5
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 0x14001b4c4
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 0x14001b4dd
test rax, rax
jne 0x14001b4ee
lea rcx, str.Could_not_allocate_buffer
call fcn.140036717
jmp 0x14001b7bb
mov rdx, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_strcpy
mov rcx, qword [rsp + 0x48]
lea rdx, [0x140088c6c]
call sub.msvcrt.dll_strcat
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call sub.msvcrt.dll_strcat
test byte [rsp + 0x28c], 0x10
je 0x14001b5b1
mov rcx, qword [rsp + 0x48]
call fcn.14001974d
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 0x14001b565
call sub.msvcrt.dll_free
mov ecx, r14d
call qword [sym.imp.KERNEL32.DLL_SetLastError]
test r13d, r13d
jne 0x14001b596
call r15
cmp eax, 0xb7
je 0x14001b596
call fcn.140036bd7
mov rdx, qword [rsp + 0x48]
lea rcx, str.Could_not_create_directory__s:__s_n
mov r8, rax
jmp 0x14001b64f
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call fcn.14001b24d
test eax, eax
jne 0x14001b78d
jmp 0x14001b7bb
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 0x14001b5e9
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.140037ab9
mov rdx, qword [rsp + 0x48]
lea r8, [0x1400fb160]
lea rcx, str.Extracting:__s__from__s___s_
mov r9, rax
call fcn.140036717
mov rcx, qword [rsp + 0x48]
mov edx, 2
movzx r8d, byte [rsp + 0x28c]
call fcn.14001985e
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001b659
call fcn.140036bd7
mov rdx, qword [rsp + 0x48]
lea rcx, [0x140088cb2]
mov r8, rax
call fcn.140036717
jmp 0x14001b7a8
mov edx, dword [rsp + 0x78]
mov rcx, qword [0x1400fb320]
xor r13d, r13d
call fcn.14006ae80
mov r15, rax
lea rax, [r15 - 1]
mov edx, 0xfffffffd
cmp rdx, rax
jb 0x14001b759
cmp r13d, dword [rsp + 0x288]
jae 0x14001b759
mov rcx, qword [0x1400fb320]
mov rdx, r15
call fcn.14006add2
mov rdx, rax
mov rax, qword [0x1400b1100]
test rdx, rdx
jne 0x14001b6b8
mov dword [rax], 0xc003001b
jmp 0x14001b7bb
cmp dword [rax], 0
jne 0x14001b7bb
mov rax, qword [0x1400b1210]
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.14003810a
test eax, eax
je 0x14001b718
mov rdx, qword [0x1400b1210]
mov eax, dword [rsp + 0x288]
mov edx, dword [rdx]
sub eax, r13d
cmp eax, edx
cmova eax, edx
cmp eax, dword [rsp + 0x6c]
je 0x14001b733
call fcn.140036bd7
mov rdx, qword [rsp + 0x48]
lea rcx, [0x140088ccc]
mov r8, rax
call fcn.140036717
jmp 0x14001b759
mov rcx, qword [0x1400fb320]
mov rdx, r15
add r13d, eax
call fcn.14006aeb6
mov rcx, qword [0x1400fb320]
mov r15, rax
call fcn.14006ada6
jmp 0x14001b66f
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001b772
mov rcx, rsi
or rsi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14001b774
xor esi, esi
test r14d, r14d
je 0x14001b78d
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x71]
xor r8d, r8d
xor edx, edx
call fcn.14001915f
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 0x14001b3d3
mov r13d, 1
jmp 0x14001b7be
xor r13d, r13d
test ebp, ebp
jne 0x14001b7f6
mov rcx, qword [0x1400fb320]
test rcx, rcx
je 0x14001b7dc
call fcn.14006b1c4
xor edx, edx
mov qword [0x1400fb320], rdx
mov rcx, r12
call fcn.14006d710
mov rcx, qword [rsp + 0x50]
call fcn.14006e153
mov rcx, rdi
call sub.msvcrt.dll_free
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001b809
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 0x14001b835
or ebp, 0xffffffff
jmp 0x14001b835
xor eax, eax
xor r13d, r13d
xor esi, esi
xor ebx, ebx
mov qword [rsp + 0x48], rax
jmp 0x14001b7c2
mov eax, ebp
add rsp, 0x298
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret