Function at 0x14001c582
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x298
xor eax, eax
xor ebp, ebp
lea rdi, [rsp + 0x88]
mov dword [rsp + 0x78], edx
mov r12d, edx
mov qword [rsp + 0x2e0], rcx
mov ecx, 0x82
cmp qword [rsp + 0x2e0], 0
rep stosd dword [rdi], eax
mov dword [rsp + 0x7c], 0xffffffff
mov qword [rsp + 0x80], rbp
je 0x14001cb91
test edx, edx
jne 0x14001c704
mov rbx, qword [0x1400b67c0]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001cb95
cmp dword [0x1400827bc], 0
mov dl, 0xf8
je 0x14001c5fe
mov dl, 0xff
cmp dword [0x1400827b8], 0
mov al, 0xf7
je 0x14001c60b
mov al, 0xff
and edx, eax
movzx edx, dl
call fcn.140071c41
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14001c63c
mov rdx, qword [rbx]
lea rcx, str.Could_not_open_image__s_as_an_ISO_9660_file_system
xor edi, edi
xor ebp, ebp
call fcn.140038472
mov qword [rsp + 0x50], rdi
jmp 0x14001cb2a
mov rcx, qword [rsp + 0x48]
lea rbx, [0x1401006cc]
mov rdx, rbx
call fcn.140071d49
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14001c670
mov rdx, rbx
lea rcx, str.Could_not_get_ISO_9660_file_information_for_file__s
xor ebp, ebp
call fcn.140038472
jmp 0x14001cb2a
mov ecx, 0x8018
call fcn.140079730
mov rbp, rax
test rax, rax
je 0x14001cb2a
mov rax, qword [rsp + 0x48]
xor esi, esi
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0x18]
mov r9d, 0x10
mov qword [rbp], rax
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 0xd8]
mov qword [rbp + 0x10], rsi
mov dword [rbp + 8], r8d
call fcn.140071126
cmp eax, 0x8000
je 0x14001c6d8
mov r8d, dword [rbp + 8]
mov rdx, rbx
lea rcx, str.Error_reading_ISO_9660_file__s_at_LSN__lu
call fcn.140038472
jmp 0x14001cb2a
mov rdx, rbp
lea rcx, [0x1400196f3]
call fcn.14006dd10
mov qword [0x1401008d0], rax
test rax, rax
jne 0x14001c713
lea rcx, str.FAT_access_error
call fcn.140038472
jmp 0x14001cb2a
xor r11d, r11d
xor ebp, ebp
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x48], r11
xor edi, edi
xor esi, esi
xor ebx, ebx
mov rcx, qword [0x1401008d0]
lea r13, [rsp + 0x88]
lea rdx, [rsp + 0x78]
mov r8, r13
call fcn.14006dfd3
mov dword [rsp + 0x78], eax
test eax, eax
js 0x14001cb0a
cmp word [rsp + 0x88], 0
jne 0x14001c763
mov edx, 1
mov ecx, 1
call sub.msvcrt.dll_vfprintf
mov rsi, rax
jmp 0x14001c7e8
xor r8d, r8d
xor r9d, r9d
xor r10d, r10d
mov r14, qword [0x14011c7d0]
mov qword [rsp + 0x38], r8
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x30], r8
mov r8, r13
mov dword [rsp + 0x28], r9d
or r9d, 0xffffffff
mov qword [rsp + 0x20], r10
call r14
mov ebx, eax
cmp eax, 1
jle 0x14001c7e6
movsxd rcx, eax
mov edx, 1
call sub.msvcrt.dll_vfprintf
mov rsi, rax
test rax, rax
je 0x14001c7e6
xor ecx, ecx
or r9d, 0xffffffff
xor edx, edx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x38], rcx
mov r8, r13
mov qword [rsp + 0x30], rcx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call r14
cmp ebx, eax
je 0x14001c7e8
mov rcx, rsi
call fcn.1400796c8
xor esi, esi
mov rcx, qword [rsp + 0x2e0]
call fcn.1400797e8
mov rbx, rax
xor eax, eax
test rsi, rsi
je 0x14001c807
mov rcx, rsi
call fcn.1400797e8
lea rcx, [rax + rbx + 2]
call fcn.140079730
mov rbx, rax
test rsi, rsi
je 0x14001c81e
test rax, rax
jne 0x14001c82f
lea rcx, str.Could_not_allocate_buffer
call fcn.140038472
jmp 0x14001cb1d
mov rdx, qword [rsp + 0x2e0]
mov rcx, rax
call fcn.1400797d8
lea rdx, [0x14008fdb0]
mov rcx, rbx
call fcn.1400797c0
mov rcx, rbx
mov rdx, rsi
call fcn.1400797c0
mov rcx, rbx
test byte [rsp + 0x28c], 0x10
je 0x14001c8e2
call fcn.140019f75
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.DLL_CreateNamedPipeA]
mov r15, qword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
mov r13d, eax
call r15
mov rcx, qword [rsp + 0x58]
mov r14d, eax
test rcx, rcx
je 0x14001c89a
call fcn.1400796c8
mov ecx, r14d
call qword [0x14011c730]
test r13d, r13d
jne 0x14001c8c9
call r15
cmp eax, 0xb7
je 0x14001c8c9
call fcn.14003893c
mov rdx, rbx
lea rcx, str.Could_not_create_directory__s:__s
mov r8, rax
jmp 0x14001c9b0
mov edx, dword [rsp + 0x78]
mov rcx, rbx
call fcn.14001c582
test eax, eax
jne 0x14001caf6
jmp 0x14001cb1d
call fcn.140019f75
mov r14, rax
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathGetDriveNumberwnsprintfW]
mov r13d, eax
test r14, r14
je 0x14001c903
mov rcx, r14
call fcn.1400796c8
test r13d, r13d
jne 0x14001caf6
xor edx, edx
mov rcx, rsi
xor r14d, r14d
mov dword [rsp + 0x71], edx
mov dword [rsp + 0x74], edx
call fcn.1400797e8
cmp rax, 4
jbe 0x14001c941
lea rcx, [rsi + rax - 5]
lea rdx, str..conf
xor r14d, r14d
call sub.msvcrt.dll_fputs
test eax, eax
sete r14b
mov ecx, dword [rsp + 0x288]
xor r8d, r8d
xor edx, edx
mov byte [rsp + 0x72], r14b
call fcn.140038d8b
lea r8, [0x1401006cc]
mov rdx, rbx
lea rcx, str.Extracting:__s__from__s___s_
mov r9, rax
call fcn.140038472
movzx eax, byte [rsp + 0x28c]
mov r9d, 2
mov rcx, rbx
mov r8d, 1
mov edx, 0xc0000000
mov dword [rsp + 0x20], eax
call fcn.14001a086
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c9ba
call fcn.14003893c
mov rdx, rbx
lea rcx, [0x1400904b5]
mov r8, rax
call fcn.140038472
jmp 0x14001cb0a
mov edx, dword [rsp + 0x78]
mov rcx, qword [0x1401008d0]
xor r15d, r15d
call fcn.14006db30
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov edx, 0xfffffffd
dec rax
cmp rdx, rax
jb 0x14001cac4
cmp r15d, dword [rsp + 0x288]
jae 0x14001cac4
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x1401008d0]
call fcn.14006da72
mov rdx, rax
mov rax, qword [0x1400b5de0]
test rdx, rdx
jne 0x14001ca21
mov dword [rax], 0xc003001b
jmp 0x14001cb20
cmp dword [rax], 0
js 0x14001cb20
mov rax, qword [0x1400b5f20]
mov r8d, dword [rsp + 0x288]
lea r9, [rsp + 0x6c]
mov rcx, rdi
mov eax, dword [rax]
sub r8d, r15d
mov dword [rsp + 0x20], 4
cmp r8d, eax
cmova r8d, eax
mov dword [rsp + 0x6c], r8d
call fcn.140039485
test eax, eax
je 0x14001ca81
mov rdx, qword [0x1400b5f20]
mov eax, dword [rsp + 0x288]
mov edx, dword [rdx]
sub eax, r15d
cmp eax, edx
cmova eax, edx
cmp eax, dword [rsp + 0x6c]
je 0x14001ca9a
call fcn.14003893c
mov rdx, rbx
lea rcx, [0x1400904cf]
mov r8, rax
call fcn.140038472
jmp 0x14001cac4
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x1401008d0]
add r15d, eax
call fcn.14006db66
mov rcx, qword [0x1401008d0]
mov qword [rsp + 0x58], rax
call fcn.14006da46
jmp 0x14001c9d2
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001cadd
mov rcx, rdi
or rdi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.DLL_CreateDirectorCreateEventACreateFileA]
jmp 0x14001cadf
xor edi, edi
test r14d, r14d
je 0x14001caf6
lea r9, [rsp + 0x71]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400197e5
mov rcx, rbx
xor ebx, ebx
call fcn.1400796c8
mov rcx, rsi
xor esi, esi
call fcn.1400796c8
cmp dword [rsp + 0x78], 0
jns 0x14001c719
mov r13d, 1
jmp 0x14001cb20
xor r13d, r13d
test r12d, r12d
jne 0x14001cb69
mov r12d, r13d
jmp 0x14001cb30
xor edi, edi
xor esi, esi
xor ebx, ebx
mov rcx, qword [0x1401008d0]
test rcx, rcx
je 0x14001cb4a
call fcn.14006de74
xor eax, eax
mov qword [0x1401008d0], rax
mov rcx, qword [rsp + 0x50]
mov r13d, r12d
call fcn.140070390
mov rcx, qword [rsp + 0x48]
call fcn.140070e01
mov rcx, rbp
call fcn.1400796c8
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001cb7c
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CreateDirectorCreateEventACreateFileA]
mov rcx, rsi
mov r12d, r13d
call fcn.1400796c8
mov rcx, rbx
call fcn.1400796c8
jmp 0x14001cb95
or r12d, 0xffffffff
mov eax, r12d
add rsp, 0x298
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret