Function at 0x14001cbac
Capabilities:
Check if file exists
Get disk information
Read file on windows
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xaf8
lea rax, [0x1400904fd]
mov qword [rsp + 0x98], rax
lea rax, [0x140090502]
mov rbx, rdx
mov qword [rsp + 0xa0], rax
lea rax, [0x140090508]
mov qword [rsp + 0xa8], rax
xor eax, eax
mov qword [rsp + 0x88], rax
mov eax, dword [0x1400827c0]
mov qword [rsp + 0xb40], rcx
test eax, eax
je 0x14001de30
test rcx, rcx
je 0x14001de2e
test rdx, rdx
je 0x14001de2e
mov dword [0x140100a58], r8d
lea rdi, [0x14008f9b3]
test r8d, r8d
je 0x14001cc3b
lea rdi, [0x1400904e8]
lea rcx, [0x140018e42]
call fcn.140074949
cmp dword [0x140100a58], 0
mov qword [0x140100a88], rbx
je 0x14001ccd6
lea rcx, str.ISO_analysis:
xor r15d, r15d
call fcn.140038472
mov rax, qword [0x1400b66d0]
xor r9d, r9d
mov r8d, 8
mov edx, 0x8002
mov rcx, qword [rax]
call qword [0x14011d030]
xor eax, eax
mov edx, 8
lea rcx, [0x140100a40]
mov dword [0x140100200], eax
mov qword [0x140100a78], r15
mov qword [0x140100a70], r15
call fcn.140036cb3
mov edx, 8
lea rcx, [0x140100a30]
call fcn.140036cb3
mov r9d, 0xc82
xor r8d, r8d
xor edx, edx
mov ecx, 1
call fcn.14001ea8e
jmp 0x14001ce73
lea rcx, str.Extracting_files...
call fcn.140038472
mov rcx, qword [0x1400b6220]
call fcn.140019f75
mov rsi, rax
mov rcx, rax
call qword [sym.imp.msvcrt.dll_putchar]
test rsi, rsi
je 0x14001cd07
mov rcx, rsi
call fcn.1400796c8
cmp qword [0x140100a78], 0
jne 0x14001cd3c
lea rcx, str.Error:_ISO_has_not_been_properly_scanned.
xor r14d, r14d
call fcn.140038472
mov rax, qword [0x1400b5de0]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
mov dword [rax], 0xe0031207
jmp 0x14001cf98
mov rcx, qword [0x1400b68d0]
xor r13d, r13d
mov edx, 8
mov byte [0x140100920], 0
mov qword [0x140100a68], r13
mov qword [0x140100a60], r13
mov qword [0x1400827c8], r13
call fcn.140036cb3
mov rax, qword [0x1400b6bd0]
cmp dword [rax], 0
je 0x14001ce73
mov rax, qword [0x1400b68c0]
xor r12d, r12d
cmp byte [0x140100776], 1
mov rdx, qword [0x1400827a0]
mov qword [rax], r12
je 0x14001ce4b
lea rsi, [rsp + 0xe8]
or r8, 0xffffffffffffffff
lea r9, [0x14009055b]
xor ebp, ebp
mov rcx, rsi
mov qword [rsp + 0x28], rdx
mov edx, 0x104
mov qword [rsp + 0x20], rbx
call qword [sym.imp.msvcrt.dll_clearerr]
mov rcx, rsi
mov qword [rsp + 0x2f0], rbp
mov byte [rsp + 0x1eb], 0
call fcn.140019f75
lea rcx, [0x140090561]
mov rbp, rax
call fcn.140019f75
lea rcx, [rsp + 0x2f0]
mov rdx, rbp
mov rsi, rax
mov r8, rax
call qword [sym.imp.msvcrt.dll_srand]
test rbp, rbp
je 0x14001ce15
mov rcx, rbp
call fcn.1400796c8
test rsi, rsi
je 0x14001ce22
mov rcx, rsi
call fcn.1400796c8
mov rax, qword [rsp + 0x2f0]
mov qword [0x140100a50], rax
test rax, rax
jne 0x14001ce73
mov rdx, qword [0x1400827a0]
lea rcx, str.WARNING:_Could_not_create__s
call fcn.140038472
jmp 0x14001ce73
mov rcx, qword [rsp + 0xb40]
lea r8, [0x140100908]
call fcn.14001be6a
mov dword [0x140100a80], eax
mov rax, qword [0x140100908]
mov qword [0x140100900], rax
mov rcx, qword [rsp + 0xb40]
call fcn.14007396e
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14001cf21
mov rdx, rdi
lea rcx, str._sImage_is_a_UDF_image
call fcn.140038472
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov edx, 1
call fcn.140073bf8
mov rsi, rax
test rax, rax
jne 0x14001cec8
mov rdx, rdi
lea rcx, str._sCould_not_locate_UDF_root_directory
call fcn.140038472
jmp 0x14001cf21
xor r11d, r11d
cmp dword [0x140100a58], 0
mov qword [rsp + 0x60], r11
je 0x14001cf0d
mov rcx, qword [rsp + 0x68]
mov r8d, 0xc0
lea rdx, [0x140100220]
call fcn.140073b65
test eax, eax
jg 0x14001cefb
mov byte [0x140100220], 0
mov rcx, qword [rsp + 0xb40]
call fcn.140071c4f
mov qword [rsp + 0x60], rax
lea rdx, [0x14008f9b3]
mov rcx, rsi
call fcn.14001a1ba
jmp 0x14001d07d
cmp dword [0x1400827bc], 0
mov eax, dword [0x1400827b8]
je 0x14001cf57
test eax, eax
je 0x14001cf60
cmp dword [0x140100a58], 0
mov sil, 0xf8
jne 0x14001cf66
cmp byte [0x14010077a], 0
jne 0x14001cf66
cmp byte [0x140100778], 1
je 0x14001cf66
mov sil, 0xff
jmp 0x14001cf66
mov sil, 0xf8
test eax, eax
je 0x14001cf63
jmp 0x14001cf66
mov sil, 0xff
and esi, 0xfffffff7
mov rcx, qword [rsp + 0xb40]
movzx edx, sil
call fcn.140071c41
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x14001cfa2
mov r8, qword [rsp + 0xb40]
mov rdx, rdi
lea rcx, str._s_s_doesnt_look_like_an_ISO_image
call fcn.140038472
mov esi, 1
jmp 0x14001d07f
mov rdx, rdi
lea rcx, str._sImage_is_an_ISO9660_image
call fcn.140038472
mov rcx, qword [rsp + 0x60]
call fcn.140070e4c
cmp dword [0x140100a58], 0
mov byte [0x140100a84], al
je 0x14001d031
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x80]
call fcn.140070ec3
test al, al
je 0x14001d028
mov rsi, qword [rsp + 0x80]
mov r9d, 1
test rsi, rsi
je 0x14001cfff
mov rcx, rsi
call fcn.1400797e8
lea r9, [rax + 1]
mov r8, rsi
mov edx, 0xc0
lea rcx, [0x140100220]
call fcn.140018e4e
mov rcx, rsi
call fcn.1400796c8
xor r10d, r10d
mov qword [rsp + 0x80], r10
jmp 0x14001d06c
mov byte [0x140100220], 0
jmp 0x14001d06c
test esi, 0xf
je 0x14001d05d
and esi, 7
lea r8, str.Rock_Ridge
je 0x14001d04c
lea r8, str.Joliet
mov rdx, rdi
lea rcx, str._sThis_image_will_be_extracted_using__s_extensions__if_present_
call fcn.140038472
jmp 0x14001d06c
mov rdx, rdi
lea rcx, str._sThis_image_will_not_be_extracted_using_any_ISO_extensions
call fcn.140038472
mov rcx, qword [rsp + 0x60]
lea rdx, [0x14008f9b3]
call fcn.14001a89a
mov esi, eax
cmp dword [0x140100a58], 0
mov qword [0x1400827c8], 0xffffffffffffffff
je 0x14001d8cc
lea rbp, [rsp + 0x2f0]
mov rcx, qword [rsp + 0x60]
mov rdx, rbp
call fcn.14007113c
test al, al
je 0x14001d101
mov rcx, qword [rsp + 0xb40]
call fcn.140019f75
lea rdx, [rsp + 0xb0]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.msvcrt.dll_strncmp]
mov edi, eax
test rbx, rbx
je 0x14001d0e0
mov rcx, rbx
call fcn.1400796c8
test edi, edi
jne 0x14001d101
mov rcx, rbp
call fcn.140070273
cdqe
shl rax, 0xb
sub rax, qword [rsp + 0xc8]
mov qword [0x140100760], rax
lea rdi, [0x140100220]
mov rcx, rdi
call fcn.1400797e8
mov rbp, qword [0x14011cad0]
lea ebx, [rax - 1]
movsxd rbx, ebx
test ebx, ebx
jle 0x14001d134
movzx ecx, byte [rdi + rbx]
call rbp
test eax, eax
je 0x14001d134
mov byte [rdi + rbx], 0
dec rbx
jmp 0x14001d11d
mov rax, qword [0x140100a78]
shl rax, 0xb
cmp dword [0x140100a48], 0
mov qword [0x140100758], rax
je 0x14001d570
lea r15, [0x1401003a0]
mov ecx, 0x7f
mov al, 0x5f
xor ebx, ebx
mov rdi, r15
mov byte [0x14010041f], 0
mov rbp, qword [sym.imp.msvcrt.dll_fread]
lea r12, str._boot_i386_loader_isolinux.cfg
rep stosb byte [rdi], al
lea r13, str._boot_x86_64_loader_isolinux.cfg
mov eax, dword [0x140100a48]
cmp rbx, rax
jae 0x14001d255
mov rax, qword [0x140100a40]
mov rdx, r12
lea rdi, [rbx*8]
mov rcx, qword [rax + rbx*8]
call rbp
mov rdx, qword [0x140100a40]
mov rcx, qword [rdx + rbx*8]
test eax, eax
jne 0x14001d1e8
mov rax, qword [0x140100a40]
mov r9d, 1
mov r8, qword [rax + rdi]
test r8, r8
je 0x14001d1fe
mov rcx, r8
mov qword [rsp + 0x58], r8
call fcn.1400797e8
mov r8, qword [rsp + 0x58]
lea r9, [rax + 1]
jmp 0x14001d1fe
mov rdx, r13
call rbp
mov rdx, qword [0x140100a40]
mov r14, qword [rdx + rbx*8]
test eax, eax
jne 0x14001d214
jmp 0x14001d1ba
mov edx, pe_nt_image_headers64
mov rcx, r15
call fcn.140018e4e
mov byte [0x140100788], 1
jmp 0x14001d255
test r14, r14
je 0x14001d237
mov rcx, r15
call fcn.1400797e8
mov rcx, r14
mov rdi, rax
call fcn.1400797e8
lea r9, [rax + 1]
cmp rdi, rax
jae 0x14001d23d
jmp 0x14001d24d
mov r9d, 1
mov r8, r14
mov edx, pe_nt_image_headers64
mov rcx, r15
call fcn.140018e4e
inc rbx
jmp 0x14001d184
mov rdx, r15
lea rcx, str.__Will_use__s_for_Syslinux
xor r12d, r12d
xor ebx, ebx
call fcn.140038472
lea rbp, [0x140100a30]
mov eax, dword [0x140100a38]
cmp rbx, rax
jae 0x14001d489
mov rax, qword [0x1400b6ac0]
lea rdi, [rsp + 0x1ec]
lea r9, str._sisolinux.tmp
or r8, 0xffffffffffffffff
mov edx, 0x104
mov rcx, rdi
lea r13, [rbx*8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll_clearerr]
mov rax, qword [rbp]
mov r8, rdi
mov byte [rsp + 0x2ef], 0
mov rcx, qword [rsp + 0xb40]
mov r9d, pe_nt_image_headers64
mov rdx, qword [rax + rbx*8]
call fcn.14001baf0
mov r14, rax
test rax, rax
jne 0x14001d2fb
mov rax, qword [rbp]
lea rcx, str.__Could_not_access__s
mov rdx, qword [rax + r13]
call fcn.140038472
jmp 0x14001d474
lea rdx, [rsp + 0x88]
mov rcx, rdi
call fcn.1400385f0
mov edx, eax
cmp rdx, r14
jne 0x14001d2e2
mov rcx, qword [rsp + 0x88]
lea r8, [rsp + 0x90]
call fcn.140040e2d
mov r9w, word [0x140100796]
mov r14, qword [rsp + 0x90]
mov edi, eax
test r9w, r9w
jne 0x14001d36a
mov r9d, 1
test r14, r14
je 0x14001d356
mov rcx, r14
call fcn.1400797e8
lea r9, [rax + 1]
mov r8, r14
mov edx, 0x20
lea rcx, [0x1401007a4]
jmp 0x14001d458
cmp r9w, ax
jne 0x14001d39d
mov rdx, r14
test r14, r14
jne 0x14001d37f
lea rdx, [0x14008f76c]
lea rcx, [0x1401007a4]
mov dword [rsp + 0x58], r9d
call fcn.1400797d0
mov r9d, dword [rsp + 0x58]
test eax, eax
je 0x14001d467
mov r11, qword [rbp]
mov eax, edi
mov edx, r9d
movzx r8d, dil
movzx eax, ah
movzx ecx, dh
movzx r9d, r9b
mov rdx, qword [r11 + r12*8]
mov qword [rsp + 0x40], r14
lea r14, [0x1401007a4]
mov dword [rsp + 0x38], r8d
mov r8d, ecx
lea rcx, str.__Found_conflicting_isolinux_versions:_r_n___s___d._02d_s__vs__s___d._02d_s_
mov dword [rsp + 0x30], eax
mov rax, qword [r11 + r13]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], rax
call fcn.140038472
mov rcx, r15
call fcn.1400797e8
mov r8, rax
test r8, r8
je 0x14001d406
cmp byte [r15 + r8], 0x2f
je 0x14001d406
dec r8
jmp 0x14001d3f5
mov rax, qword [rbp]
mov rdx, qword [rax + r13]
test rdx, rdx
jne 0x14001d41a
lea rdx, [0x14008f76c]
mov rcx, r15
call qword [sym.imp.msvcrt.dll_freopen]
test eax, eax
jne 0x14001d467
mov r8, qword [rsp + 0x90]
mov r9d, 1
test r8, r8
je 0x14001d450
mov rcx, r8
mov qword [rsp + 0x58], r8
call fcn.1400797e8
mov r8, qword [rsp + 0x58]
lea r9, [rax + 1]
mov edx, 0x20
mov rcx, r14
call fcn.140018e4e
mov word [0x140100796], di
mov r12, rbx
mov rcx, qword [rsp + 0x88]
call fcn.1400796c8
lea rcx, [rsp + 0x1ec]
inc rbx
call fcn.14001b4f0
jmp 0x14001d270
mov ax, word [0x140100796]
mov r10, qword [sym.imp.msvcrt.dll_clearerr]
lea rbx, [0x140100798]
test ax, ax
je 0x14001d518
movzx edx, al
movzx eax, ah
or r8, 0xffffffffffffffff
mov rcx, rbx
mov dword [rsp + 0x28], edx
lea r9, [0x14009074f]
mov edx, 0xc
mov dword [rsp + 0x20], eax
call r10
mov rax, qword [0x140100a30]
mov byte [0x1401007a3], 0
mov rdx, rbx
lea r8, [rbx + 0xc]
lea rcx, str.__Detected_Syslinux_version:__s_s__from__s_
mov r9, qword [rax + r12*8]
call fcn.140038472
cmp dword [0x140100200], 0
movzx eax, byte [0x140100797]
je 0x14001d504
cmp ax, 4
jbe 0x14001d50a
jmp 0x14001d570
cmp ax, 4
jbe 0x14001d570
lea rcx, str.__Warning:_Conflict_between_Isolinux_version_and_the_presence_of_ldlinux.c32...
call fcn.140038472
jmp 0x14001d570
mov rax, qword [0x1400b6440]
xor edx, edx
cmp dword [0x140100200], 0
mov rcx, rbx
setne dl
lea r9, [0x14009074f]
or r8, 0xffffffffffffffff
mov ax, word [rax + rdx*2]
movzx edx, al
mov word [0x140100796], ax
movzx eax, ah
mov dword [rsp + 0x28], edx
mov edx, 0xc
mov dword [rsp + 0x20], eax
call r10
mov rdx, rbx
lea rcx, str.__Warning:_Could_not_detect_Isolinux_version___Forcing_to__s__embedded_
mov byte [0x1401007a3], 0
call fcn.140038472
cmp word [0x140100774], 0
jne 0x14001d595
cmp byte [0x1401006cc], 0
je 0x14001d595
call fcn.14001c2f0
test eax, eax
je 0x14001d595
mov word [0x140100774], 0x8000
mov ax, word [0x140100772]
mov edx, eax
not edx
and dl, 7
je 0x14001d5c1
mov edx, eax
not edx
test dl, 0x23
je 0x14001d5c5
mov eax, edx
test ax, 0x1c0
jne 0x14001d6c1
mov eax, 2
jmp 0x14001d5ca
xor eax, eax
jmp 0x14001d5ca
mov eax, 1
mov rax, qword [rsp + rax*8 + 0x98]
or r8, 0xffffffffffffffff
mov edx, 0x104
xor edi, edi
lea rbx, [rsp + 0xe8]
lea r9, str.__s_txtsetup.sif
mov rcx, rbx
mov qword [rsp + 0x20], rax
lea rbp, str.._txtsetup.sif
call qword [sym.imp.msvcrt.dll_clearerr]
mov rcx, qword [rsp + 0xb40]
mov r9d, pe_nt_image_headers64
lea r8, str.._txtsetup.sif
mov rdx, rbx
mov byte [rsp + 0x1eb], 0
call fcn.14001baf0
mov r8d, 1
mov rdx, rbp
lea rcx, str.OsLoadOptions
call fcn.140023801
mov r12, qword [0x14011cbf8]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x14001d6a1
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call fcn.1400797e8
cmp rdi, rax
jae 0x14001d674
add rbx, rdi
inc rdi
movsx ecx, byte [rbx]
call r12
mov byte [rbx], al
jmp 0x14001d64f
mov rdx, rbx
lea rcx, str.__Checking_txtsetup.sif:_r_n__OsLoadOptions___s
call fcn.140038472
mov rcx, qword [rsp + 0x80]
lea rdx, str._minint
call fcn.140079820
test rax, rax
setne byte [0x14010078b]
mov rcx, rbp
call fcn.14001b4f0
mov rcx, qword [rsp + 0x80]
call fcn.1400796c8
xor r9d, r9d
mov qword [rsp + 0x80], r9
cmp byte [0x140100777], 0
je 0x14001d6dd
mov rcx, qword [rsp + 0xb40]
call fcn.14001c0ef
mov dword [0x140100768], eax
movzx eax, byte [0x140100784]
test al, al
je 0x14001d894
dec eax
lea rdx, str._boot_grub_i386_pc
or r8, 0xffffffffffffffff
cdqe
lea r14, [rsp + 0x1ec]
lea r9, str._s_normal.mod
mov rax, qword [rdx + rax*8]
mov rcx, r14
mov edx, pe_nt_image_headers64
inc rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll_clearerr]
mov rcx, qword [0x1400b6ac0]
mov byte [rsp + 0x26b], 0
mov byte [0x1401007c4], 0
call fcn.140019f75
lea rcx, [0x14008fbf7]
mov r12, rax
call fcn.140019f75
mov edx, 2
mov ecx, 0x104
mov r13, rax
call sub.msvcrt.dll_vfprintf
xor r8d, r8d
mov rdx, r13
mov rcx, r12
mov r9, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov r15, qword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
mov ebx, eax
call r15
mov edi, eax
test ebx, ebx
je 0x14001d7c8
xor r8d, r8d
or r9d, 0xffffffff
xor edx, edx
mov ecx, 0xfde9
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r8
mov r8, rbp
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
call qword [0x14011c7d0]
mov ebx, eax
test eax, eax
jne 0x14001d7c8
call r15
mov edi, eax
test rbp, rbp
je 0x14001d7d5
mov rcx, rbp
call fcn.1400796c8
test r13, r13
je 0x14001d7e2
mov rcx, r13
call fcn.1400796c8
test r12, r12
je 0x14001d7ef
mov rcx, r12
call fcn.1400796c8
mov ecx, edi
call qword [0x14011c730]
test ebx, ebx
je 0x14001d878
mov rcx, qword [rsp + 0xb40]
lea rbx, [rsp + 0xe8]
mov r9d, pe_nt_image_headers64
mov rdx, r14
mov r8, rbx
call fcn.14001baf0
mov rdi, rax
test rax, rax
jne 0x14001d835
mov rdx, r14
lea rcx, str.__Could_not_read_Grub_version_from__s
call fcn.140038472
jmp 0x14001d859
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.1400385f0
mov edx, eax
cmp rdx, rdi
jne 0x14001d824
mov rcx, qword [rsp + 0x88]
call fcn.14001b92b
mov rcx, qword [rsp + 0x88]
call fcn.1400796c8
xor ecx, ecx
mov qword [rsp + 0x88], rcx
mov rcx, rbx
call fcn.14001b4f0
cmp byte [0x1401007c4], 0
jne 0x14001d894
lea rcx, str.__Could_not_detect_Grub_version
call fcn.140038472
mov byte [0x140100784], 0
lea rcx, [0x140100a40]
call fcn.140036e20
lea rcx, [0x140100a30]
call fcn.140036e20
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rax, qword [0x1400b66d0]
mov rcx, qword [rax]
call qword [0x14011d030]
jmp 0x14001ddec
mov eax, dword [0x140100774]
lea rdi, [rsp + 0xe8]
mov rbp, qword [sym.imp.msvcrt.dll_clearerr]
mov qword [rsp + 0x58], rdi
cmp ax, 0x3fff
jbe 0x14001d935
test ah, 0x40
je 0x14001d92b
lea rcx, str.Broken_UEFI_bootloader_detected___Applying_workaround:
call fcn.140038472
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rbx
lea r9, str._sEFI_boot_bootx64.efi
or r8, 0xffffffffffffffff
mov edx, 0x104
call rbp
mov rcx, qword [rsp + 0x58]
mov byte [rsp + 0x1eb], 0
call fcn.14001b4f0
xor edx, edx
mov rcx, rbx
call fcn.14001c582
cmp word [0x140100796], 0
je 0x14001dca1
mov rcx, qword [rsp + 0x58]
lea r9, str._s_syslinux.cfg
or r8, 0xffffffffffffffff
mov edx, 0x104
mov qword [rsp + 0x20], rbx
call rbp
mov rcx, qword [rsp + 0x58]
lea rdx, [0x140090938]
mov byte [rsp + 0x1eb], 0
call fcn.140079698
mov rdi, rax
test rax, rax
je 0x14001d9e0
cmp byte [0x140100788], 0
je 0x14001da95
lea rdi, [rsp + 0x1ec]
mov rcx, rax
call sub.msvcrt.dll_wcsstr
lea r9, str._s_syslinux.org
or r8, 0xffffffffffffffff
mov rcx, rdi
mov edx, 0x10
mov qword [rsp + 0x20], rbx
call rbp
mov rdx, qword [rsp + 0x58]
mov r8, rdi
lea rcx, str.Renaming:__s___s
mov byte [rsp + 0x1fb], 0
call fcn.140038472
mov rcx, qword [rsp + 0x58]
mov rdx, rdi
call fcn.140079780
mov rcx, qword [rsp + 0x58]
lea rdx, [0x14009095e]
call fcn.140079698
mov rdi, rax
test rax, rax
jne 0x14001da14
mov rdx, qword [rsp + 0x58]
lea rcx, str.Unable_to_create__s___booting_from_USB_will_not_work
mov esi, 1
call fcn.140038472
jmp 0x14001da9d
lea r8, [0x1401003a0]
lea rdx, str.DEFAULT_loadconfig_n_nLABEL_loadconfig_n__CONFIG__s_n
mov rcx, rax
call fcn.1400796a0
lea r12, [0x1401003a0]
mov rcx, r12
call fcn.1400797e8
mov rbp, rax
test rbp, rbp
je 0x14001da7d
cmp byte [r12 + rbp], 0x2f
je 0x14001da4d
dec rbp
jmp 0x14001da3c
lea r12, [0x140100220]
lea rdx, str.__APPEND__s__n
mov rcx, rdi
lea r8, [r12 + 0x180]
mov byte [r12 + rbp + 0x180], 0
call fcn.1400796a0
mov byte [r12 + rbp + 0x180], 0x2f
mov rdx, qword [rsp + 0x58]
lea r8, [0x1401003a0]
lea rcx, str.Created:__s___s
call fcn.140038472
mov rcx, rdi
call sub.msvcrt.dll_wcsstr
cmp byte [0x140100920], 0
lea rbp, [0x140100920]
je 0x14001dccf
mov rcx, rbp
lea r13, [rsp + 0x2f0]
call fcn.1400797e8
mov r8, rbp
mov edx, 0x104
mov rcx, r13
mov rdi, rax
lea r9, [rax + 1]
call fcn.140018e4e
cmp rdi, 8
ja 0x14001daf8
mov r8d, 0x56a
lea rdx, str.iso.c
lea rcx, str.len___8
call qword [sym.imp.msvcrt.dll_memmove]
mov rcx, rbp
mov byte [rsp + rdi + 0x2e8], 0x69
xor r12d, r12d
lea r15, str.syslnx32.cfg
mov byte [rsp + rdi + 0x2e9], 0x73
mov byte [rsp + rdi + 0x2ea], 0x6f
call qword [sym.imp.KERNEL32.DLL_GetDriveTypeA]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rax, qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov r14, qword [sym.imp.msvcrt.dll_clearerr]
mov qword [rsp + 0x78], rax
mov rbp, qword [r15 + r12*8]
mov rcx, qword [rsp + 0x58]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x20], r13
lea r9, [0x14008fe69]
mov edx, 0x104
mov qword [rsp + 0x28], rbp
call r14
mov byte [rsp + 0x1eb], 0
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x78]
call rax
test eax, eax
je 0x14001dc8a
lea rax, [0x140100920]
mov rcx, qword [rsp + 0x58]
lea r9, [0x14008fe69]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call r14
mov rcx, qword [rsp + 0x58]
lea rdx, [0x14009095e]
mov byte [rsp + 0x1eb], 0
call fcn.140079698
mov rdi, rax
test rax, rax
jne 0x14001dbe8
mov rdx, qword [rsp + 0x58]
lea rcx, str.Unable_to_create__s___booting_from_USB_may_not_work
mov esi, 1
call fcn.140038472
jmp 0x14001dc8a
mov rcx, qword [rsp + 0x58]
lea r9, [0x14008fe69]
or r8, 0xffffffffffffffff
mov edx, 0x104
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r13
call r14
lea rax, [rsp + 0xea]
lea rdx, str.DEFAULT_loadconfig_n_nLABEL_loadconfig_n__CONFIG__s_n__APPEND__s_n
mov rcx, rdi
lea r9, [rsp + 0x2f2]
mov r8, rax
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x1eb], 0
call fcn.1400796a0
mov rcx, rdi
call sub.msvcrt.dll_wcsstr
mov r8d, 0x5c
mov edx, 0x2f
lea rcx, [0x140100920]
call fcn.1400197c3
mov r9, qword [rsp + 0x70]
mov r8, rbp
lea rdx, [0x140100920]
lea rcx, str.Created:__s_s___s
call fcn.140038472
mov r8d, 0x2f
mov edx, 0x5c
lea rcx, [0x140100920]
call fcn.1400197c3
lea rax, [r12 + 1]
mov r12d, 1
cmp rax, 2
jne 0x14001db41
jmp 0x14001dccf
cmp word [0x14010077c], 0
je 0x14001dccf
mov rax, qword [0x1400b64c0]
cmp dword [rax], 0
je 0x14001dccf
xor r9d, r9d
mov r8d, 1
mov rdx, rbx
lea rcx, str.compact__u_bootmgr_efi_boot_.efi
call fcn.140037341
mov rcx, qword [rsp + 0x58]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rbx
lea r9, str._s_slax_bootEFI
mov r12, qword [sym.imp.msvcrt.dll_clearerr]
mov edx, 0x104
call r12
mov byte [rsp + 0x1eb], 0
mov rcx, qword [rsp + 0x58]
mov rbp, qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
call rbp
test eax, eax
je 0x14001dd85
or r8, 0xffffffffffffffff
lea rdi, [rsp + 0x2f0]
mov qword [rsp + 0x20], rbx
lea r9, str._sEFI
mov rcx, rdi
mov edx, 0x10
call r12
mov byte [rsp + 0x2ff], 0
mov rcx, rdi
call rbp
test eax, eax
jne 0x14001dd85
mov rcx, qword [rsp + 0x58]
mov rdx, rdi
call qword [0x14011c680]
test eax, eax
je 0x14001dd69
mov rdx, qword [rsp + 0x58]
mov r8, rdi
lea rcx, str.Moved:__s___s
call fcn.140038472
jmp 0x14001dd85
call fcn.14003893c
mov rdx, qword [rsp + 0x58]
mov r8, rdi
lea rcx, str.Could_not_move__s___s
mov r9, rax
call fcn.140038472
mov rcx, qword [0x140100a50]
test rcx, rcx
je 0x14001ddca
call fcn.1400796e8
xor r8d, r8d
xor edx, edx
movsxd rcx, eax
call fcn.140038d8b
mov r8, qword [0x1400827a0]
mov rdx, rbx
lea rcx, str.Created:__s_s___s_
mov r9, rax
call fcn.140038472
mov rcx, qword [0x140100a50]
call sub.msvcrt.dll_wcsstr
jmp 0x14001ddec
mov rcx, qword [0x140100908]
test rcx, rcx
je 0x14001ddec
call fcn.1400796c8
xor eax, eax
xor edx, edx
mov qword [0x140100908], rax
mov dword [0x140100a80], edx
mov rcx, qword [rsp + 0x60]
call fcn.140070e01
mov rcx, qword [rsp + 0x68]
call fcn.140073d6d
test esi, esi
je 0x14001de25
mov rax, qword [0x1400b5de0]
cmp dword [rax], 0
jne 0x14001de25
cmp dword [0x140100a58], 0
mov edx, 0xe0031208
je 0x14001de23
mov edx, 0xe0031207
mov dword [rax], edx
xor eax, eax
test esi, esi
sete al
jmp 0x14001de30
xor eax, eax
add rsp, 0xaf8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret