Function at 0x14001b84b
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Move file
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa68
lea rax, [0x140088cfa]
mov qword [rsp + 0x88], rax
lea rax, [0x140088cff]
mov qword [rsp + 0x90], rax
lea rax, [0x140088d05]
mov qword [rsp + 0x98], rax
mov eax, dword [0x14007b688]
mov qword [rsp + 0xab0], rcx
mov qword [rsp + 0xab8], rdx
test eax, eax
je 0x14001cb6e
test rcx, rcx
je 0x14001cb6c
test rdx, rdx
je 0x14001cb6c
test r8d, r8d
lea rax, [0x140088ce5]
lea rsi, [0x1400884b1]
mov dword [0x1400fb520], r8d
lea rcx, [0x140018882]
cmovne rsi, rax
call fcn.140071939
mov rax, qword [rsp + 0xab8]
cmp dword [0x1400fb520], 0
mov qword [0x1400fb540], rax
je 0x14001b972
lea rcx, str.ISO_analysis:
xor edi, edi
xor ebp, ebp
call fcn.140036717
mov rax, qword [0x1400b19c0]
xor r9d, r9d
mov r8d, 8
mov edx, 0x8002
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 8
lea rcx, [0x1400fb510]
mov qword [0x1400fb530], rdi
mov dword [0x1400fadc0], ebp
call fcn.14003523d
mov edx, 8
lea rcx, [0x1400fb500]
call fcn.14003523d
mov r9d, 0xc82
xor r8d, r8d
xor edx, edx
mov ecx, 1
call fcn.14001d77b
jmp 0x14001ba00
lea rcx, str.Extracting_files..._n
call fcn.140036717
mov rcx, qword [0x1400b1520]
call fcn.14001974d
mov rbx, rax
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wchdir]
test rbx, rbx
je 0x14001b9a3
mov rcx, rbx
call sub.msvcrt.dll_free
cmp qword [0x1400fb530], 0
jne 0x14001b9d7
lea rcx, str.Error:_ISO_has_not_been_properly_scanned._n
xor ebx, ebx
call fcn.140036717
mov rax, qword [0x1400b1100]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
mov dword [rax], 0xe0031207
jmp 0x14001bb21
xor r11d, r11d
mov edx, 8
lea rcx, [0x1400fb4f0]
mov byte [0x1400fb3e0], 0
mov qword [0x1400fb528], r11
mov qword [0x14007b690], r11
call fcn.14003523d
mov rcx, qword [rsp + 0xab0]
call fcn.14007094e
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14001baae
mov rdx, rsi
lea rcx, str._sImage_is_a_UDF_image
call fcn.140036717
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
mov edx, 1
call fcn.140070bd8
mov rbx, rax
test rax, rax
jne 0x14001ba55
mov rdx, rsi
lea rcx, str._sCould_not_locate_UDF_root_directory
call fcn.140036717
jmp 0x14001baae
xor r10d, r10d
cmp dword [0x1400fb520], 0
mov qword [rsp + 0x58], r10
je 0x14001ba9a
mov rcx, qword [rsp + 0x60]
mov r8d, 0xc0
lea rdx, [0x1400fade0]
call fcn.140070b45
test eax, eax
jg 0x14001ba88
mov byte [0x1400fade0], 0
mov rcx, qword [rsp + 0xab0]
call fcn.14006ee34
mov qword [rsp + 0x58], rax
lea rdx, [0x1400884b1]
mov rcx, rbx
call fcn.140019976
jmp 0x14001bc2b
cmp dword [0x14007b684], 0
mov eax, dword [0x14007b680]
je 0x14001bae3
test eax, eax
je 0x14001baeb
cmp dword [0x1400fb520], 0
mov bl, 0xf8
jne 0x14001baf0
cmp byte [0x1400fb212], 0
jne 0x14001baf0
cmp byte [0x1400fb210], 1
mov al, 0xff
cmovne ebx, eax
jmp 0x14001baf0
mov bl, 0xf8
test eax, eax
jne 0x14001baf0
jmp 0x14001baed
mov bl, 0xff
and ebx, 0xfffffff7
mov rcx, qword [rsp + 0xab0]
movzx edx, bl
call fcn.14006ee26
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x14001bb2b
mov r8, qword [rsp + 0xab0]
mov rdx, rsi
lea rcx, str._s_s_doesnt_look_like_an_ISO_image
call fcn.140036717
mov ebx, 1
jmp 0x14001bc2d
mov rdx, rsi
lea rcx, str._sImage_is_an_ISO9660_image
call fcn.140036717
mov rcx, qword [rsp + 0x58]
call fcn.14006e19e
cmp dword [0x1400fb520], 0
mov byte [0x1400fb538], al
je 0x14001bbe0
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x70]
call fcn.14006e215
test al, al
je 0x14001bbd7
mov rbx, qword [rsp + 0x70]
mov ecx, 1
test rbx, rbx
je 0x14001bb91
mov rcx, rbx
call sub.msvcrt.dll_strlen
lea rcx, [rax + 1]
mov eax, 0xc0
cmp rcx, rax
cmova rcx, rax
lea rbp, [0x1400fade0]
mov ecx, ecx
mov rsi, rbx
mov rdi, rbp
rep movsb byte [rdi], byte [rsi]
mov rcx, rbx
call sub.msvcrt.dll_strlen
lea rdx, [rbp + 0xbf]
lea rcx, [rax + 1]
cmp rcx, 0xbf
ja 0x14001bbc2
lea rdx, [rax + rbp]
mov byte [rdx], 0
mov rcx, rbx
call sub.msvcrt.dll_free
xor r9d, r9d
mov qword [rsp + 0x70], r9
jmp 0x14001bc1a
mov byte [0x1400fade0], 0
jmp 0x14001bc1a
test bl, 0xf
je 0x14001bc0b
and bl, 7
lea rax, str.Joliet
mov rdx, rsi
lea r8, str.Rock_Ridge
lea rcx, str._sThis_image_will_be_extracted_using__s_extensions__if_present_
cmovne r8, rax
call fcn.140036717
jmp 0x14001bc1a
mov rdx, rsi
lea rcx, str._sThis_image_will_not_be_extracted_using_any_ISO_extensions
call fcn.140036717
mov rcx, qword [rsp + 0x58]
lea rdx, [0x1400884b1]
call fcn.140019f1e
mov ebx, eax
cmp dword [0x1400fb520], 0
mov qword [0x14007b690], 0xffffffffffffffff
je 0x14001c539
lea rbp, [rsp + 0x260]
mov rcx, qword [rsp + 0x58]
mov rdx, rbp
call fcn.14006e485
test al, al
je 0x14001bcaf
mov rcx, qword [rsp + 0xab0]
call fcn.14001974d
lea rdx, [rsp + 0xa0]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.msvcrt.dll__wstat64]
mov edi, eax
test rsi, rsi
je 0x14001bc8e
mov rcx, rsi
call sub.msvcrt.dll_free
test edi, edi
jne 0x14001bcaf
mov rcx, rbp
call fcn.14006d5f7
cdqe
shl rax, 0xb
sub rax, qword [rsp + 0xb8]
mov qword [0x1400fb1f8], rax
lea rdi, [0x1400fade0]
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov rbp, qword [sym.imp.msvcrt.dll_isspace]
lea esi, [rax - 1]
movsxd rsi, esi
test esi, esi
jle 0x14001bce2
movzx ecx, byte [rdi + rsi]
call rbp
test eax, eax
je 0x14001bce2
mov byte [rdi + rsi], 0
dec rsi
jmp 0x14001bccb
mov rax, qword [0x1400fb530]
shl rax, 0xb
cmp dword [0x1400fb518], 0
mov qword [0x1400fb1f0], rax
je 0x14001c1d5
lea r15, [0x1400faf60]
mov ecx, 0x7f
mov al, 0x5f
xor ebp, ebp
mov rdi, r15
mov byte [0x1400fafdf], 0
mov r13, qword [sym.imp.msvcrt.dll__stricmp]
lea r14, str._boot_i386_loader_isolinux.cfg
rep stosb byte [rdi], al
mov eax, dword [0x1400fb518]
cmp rbp, rax
jae 0x14001be61
mov rax, qword [0x1400fb510]
lea r12, [rbp*8]
mov rdx, r14
mov rcx, qword [rax + rbp*8]
call r13
test eax, eax
jne 0x14001bd86
add r12, qword [0x1400fb510]
mov ecx, 1
mov rsi, qword [r12]
test rsi, rsi
je 0x14001bda1
mov rcx, rsi
call sub.msvcrt.dll_strlen
lea rcx, [rax + 1]
mov eax, pe_nt_image_headers64
cmp rcx, rax
cmova rcx, rax
jmp 0x14001bda1
mov rax, qword [0x1400fb510]
lea rdx, str._boot_x86_64_loader_isolinux.cfg
mov rcx, qword [rax + rbp*8]
call r13
test eax, eax
jne 0x14001bde2
jmp 0x14001bd57
mov ecx, ecx
lea rdi, [0x1400faf60]
lea rdx, [0x1400faf60]
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [r12]
test rcx, rcx
je 0x14001bdd6
call sub.msvcrt.dll_strlen
lea rdx, [0x1400fafdf]
lea rcx, [rax + 1]
cmp rcx, 0x7f
ja 0x14001bdd6
lea rdx, [r15 + rax]
mov byte [rdx], 0
mov byte [0x1400fb21b], 1
jmp 0x14001be61
mov rcx, r15
call sub.msvcrt.dll_strlen
add r12, qword [0x1400fb510]
mov rsi, qword [r12]
mov rdi, rax
test rsi, rsi
je 0x14001be1c
mov rcx, rsi
call sub.msvcrt.dll_strlen
cmp rdi, rax
jb 0x14001be59
lea rcx, [rax + 1]
mov eax, pe_nt_image_headers64
cmp rcx, rax
cmova rcx, rax
jmp 0x14001be21
mov ecx, 1
mov ecx, ecx
lea rdi, [0x1400faf60]
lea rdx, [0x1400faf60]
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [r12]
test rcx, rcx
je 0x14001be56
call sub.msvcrt.dll_strlen
lea rdx, [0x1400fafdf]
lea rcx, [rax + 1]
cmp rcx, 0x7f
ja 0x14001be56
lea rdx, [r15 + rax]
mov byte [rdx], 0
inc rbp
jmp 0x14001bd2b
mov rdx, r15
lea rcx, str.__Will_use__s_for_Syslinux
xor esi, esi
xor ebp, ebp
call fcn.140036717
mov eax, dword [0x1400fb508]
cmp rbp, rax
jae 0x14001c0fb
lea r13, [rsp + 0x15c]
mov r9, qword [0x1400b1d00]
lea r8, str._sisolinux.tmp
mov edx, 0x104
mov rcx, r13
lea rdi, [rbp*8]
call qword [sym.imp.msvcrt.dll__snprintf]
mov rax, qword [0x1400fb500]
mov r8, r13
mov byte [rsp + 0x25f], 0
mov rcx, qword [rsp + 0xab0]
mov r9d, pe_nt_image_headers64
mov rdx, qword [rax + rbp*8]
call fcn.14001aa49
mov r12, rax
test rax, rax
jne 0x14001befc
mov rax, qword [0x1400fb500]
lea rcx, str.__Could_not_access__s
mov rdx, qword [rax + rbp*8]
call fcn.140036717
jmp 0x14001c0e6
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_calloc
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001c0fb
mov rcx, r13
lea rdx, [0x140088ed8]
call sub.msvcrt.dll_fopen
mov r13, rax
test rax, rax
jne 0x14001bf3d
mov rcx, qword [rsp + 0x50]
call sub.msvcrt.dll_free
jmp 0x14001c0f3
mov rcx, qword [rsp + 0x50]
mov r9, rax
mov r8, r12
mov edx, 1
call sub.msvcrt.dll_fread
mov rcx, r13
lea r13, [0x1400fb23a]
call sub.msvcrt.dll_fclose
mov rcx, qword [rsp + 0x50]
mov rdx, r12
lea r8, [rsp + 0x80]
call fcn.14003f5b1
mov r9d, dword [0x1400fb22c]
mov r14, qword [rsp + 0x80]
mov r12d, eax
test r9w, r9w
jne 0x14001bfba
mov ecx, 1
test r14, r14
je 0x14001bfb0
mov rcx, r14
call sub.msvcrt.dll_strlen
lea rcx, [rax + 1]
mov eax, 0x20
cmp rcx, rax
cmova rcx, rax
mov ecx, ecx
mov rdi, r13
jmp 0x14001c0ab
cmp r9w, ax
jne 0x14001bfe8
test r14, r14
lea rdx, [0x140088280]
mov rcx, r13
mov dword [rsp + 0x6c], r9d
cmovne rdx, r14
call sub.msvcrt.dll_strcmp
mov r9d, dword [rsp + 0x6c]
test eax, eax
je 0x14001c0dc
mov rax, qword [0x1400fb500]
mov edx, r9d
movzx ecx, r12b
lea r13, [0x1400fb23a]
movzx edx, dh
movzx r9d, r9b
mov r8d, edx
mov rdx, qword [rax + rsi*8]
mov dword [rsp + 0x38], ecx
mov ecx, r12d
movzx ecx, ch
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x30], ecx
mov rax, qword [rax + rdi]
lea rcx, str.__Found_conflicting_isolinux_versions:_n___s___d._02d_s__vs__s___d._02d_s_
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], rax
call fcn.140036717
mov rcx, r15
call sub.msvcrt.dll_strlen
mov r8, rax
test r8, r8
je 0x14001c054
cmp byte [r15 + r8], 0x2f
je 0x14001c054
dec r8
jmp 0x14001c043
mov rax, qword [0x1400fb500]
mov rdx, qword [rax + rdi]
test rdx, rdx
jne 0x14001c06b
lea rdx, [0x140088280]
mov rcx, r15
call qword [sym.imp.msvcrt.dll__strnicmp]
test eax, eax
jne 0x14001c0dc
mov r14, qword [rsp + 0x80]
mov ecx, 1
test r14, r14
je 0x14001c0a2
mov rcx, r14
call sub.msvcrt.dll_strlen
lea rcx, [rax + 1]
mov eax, 0x20
cmp rcx, rax
cmova rcx, rax
mov ecx, ecx
lea rdi, [0x1400fb23a]
mov rsi, r14
rep movsb byte [rdi], byte [rsi]
mov rcx, r14
call sub.msvcrt.dll_strlen
lea rdx, [0x1400fb259]
lea rcx, [rax + 1]
cmp rcx, 0x1f
ja 0x14001c0ce
lea rdx, [r13 + rax]
mov byte [rdx], 0
mov rsi, rbp
mov word [0x1400fb22c], r12w
mov rcx, qword [rsp + 0x50]
call sub.msvcrt.dll_free
lea rcx, [rsp + 0x15c]
call fcn.14001a7a3
inc rbp
jmp 0x14001be74
mov eax, dword [0x1400fb22c]
lea rdi, [0x1400fb22e]
test ax, ax
je 0x14001c17f
movzx edx, ah
movzx eax, al
lea r8, [0x140088f29]
mov rcx, rdi
mov r9d, edx
mov dword [rsp + 0x20], eax
mov edx, 0xc
call qword [sym.imp.msvcrt.dll__snprintf]
mov rax, qword [0x1400fb500]
lea r8, [rdi + 0xc]
mov rdx, rdi
mov byte [0x1400fb239], 0
lea rcx, str.__Detected_Syslinux_version:__s_s__from__s_
mov r9, qword [rax + rsi*8]
call fcn.140036717
cmp dword [0x1400fadc0], 0
mov eax, dword [0x1400fb22c]
je 0x14001c16b
cmp ax, 0x4ff
jbe 0x14001c171
jmp 0x14001c1d5
cmp ax, 0x4ff
jbe 0x14001c1d5
lea rcx, str.__Warning:_Conflict_between_Isolinux_version_and_the_presence_of_ldlinux.c32...
call fcn.140036717
jmp 0x14001c1d5
mov rax, qword [0x1400b1730]
xor edx, edx
cmp dword [0x1400fadc0], 0
mov rcx, rdi
setne dl
lea r8, [0x140088f29]
mov ax, word [rax + rdx*2]
mov edx, 0xc
mov word [0x1400fb22c], ax
movzx esi, ah
movzx eax, al
mov dword [rsp + 0x20], eax
mov r9d, esi
call qword [sym.imp.msvcrt.dll__snprintf]
mov rdx, rdi
lea rcx, str.__Warning:_Could_not_detect_Isolinux_version___Forcing_to__s__embedded_
mov byte [0x1400fb239], 0
call fcn.140036717
cmp word [0x1400fb20c], 0
jne 0x14001c1fa
cmp byte [0x1400fb160], 0
je 0x14001c1fa
call fcn.14001af8e
test eax, eax
je 0x14001c1fa
mov word [0x1400fb20c], 0x8000
mov ax, word [0x1400fb20a]
mov edx, eax
not edx
and dl, 7
je 0x14001c226
mov edx, eax
not edx
test dl, 0x23
je 0x14001c22a
mov eax, edx
test ax, 0x1c0
jne 0x14001c30e
mov eax, 2
jmp 0x14001c22f
xor eax, eax
jmp 0x14001c22f
mov eax, 1
lea rsi, [rsp + 0x15c]
mov r9, qword [rsp + rax*8 + 0x88]
xor edi, edi
lea r8, str.__s_txtsetup.sif
mov edx, 0x104
mov rcx, rsi
lea rbp, str.._txtsetup.sif
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, qword [rsp + 0xab0]
mov r9d, pe_nt_image_headers64
lea r8, str.._txtsetup.sif
mov rdx, rsi
mov byte [rsp + 0x25f], 0
call fcn.14001aa49
mov r8d, 1
mov rdx, rbp
lea rcx, str.OsLoadOptions
call fcn.14002284a
mov r12, qword [sym.imp.msvcrt.dll_tolower]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14001c2f4
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call sub.msvcrt.dll_strlen
cmp rdi, rax
jae 0x14001c2ca
add rsi, rdi
inc rdi
movsx ecx, byte [rsi]
call r12
mov byte [rsi], al
jmp 0x14001c2a8
mov rdx, rsi
lea rcx, str.__Checking_txtsetup.sif:_n__OsLoadOptions___s
call fcn.140036717
mov rcx, qword [rsp + 0x70]
lea rdx, str._minint
call sub.msvcrt.dll_strstr
test rax, rax
setne byte [0x1400fb221]
mov rcx, rbp
call fcn.14001a7a3
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll_free
xor r8d, r8d
mov qword [rsp + 0x70], r8
cmp byte [0x1400fb20f], 0
je 0x14001c32a
mov rcx, qword [rsp + 0xab0]
call fcn.14001ad99
mov dword [0x1400fb200], eax
movzx eax, byte [0x1400fb21d]
test al, al
je 0x14001c501
dec eax
lea rdx, str._boot_grub_i386_pc
lea r14, [rsp + 0xdc]
cdqe
lea r8, str._s_normal.mod
mov rcx, r14
mov rax, qword [rdx + rax*8]
mov edx, pe_nt_image_headers64
lea r9, [rax + 1]
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, qword [0x1400b1d00]
mov byte [rsp + 0x15b], 0
mov byte [0x1400fb25a], 0
call fcn.14001974d
lea rcx, [0x140088698]
mov r12, rax
call fcn.14001974d
mov edx, 2
mov ecx, 0x104
mov r13, rax
call sub.msvcrt.dll_calloc
xor r8d, r8d
mov rdx, r13
mov rcx, r12
mov r9, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
mov r15, qword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
call r15
mov edi, eax
test esi, esi
je 0x14001c40c
xor ecx, ecx
lea rax, [rsp + 0x15c]
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x38], rcx
mov r8, rbp
mov qword [rsp + 0x30], rcx
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov esi, eax
test eax, eax
jne 0x14001c40c
call r15
mov edi, eax
test rbp, rbp
je 0x14001c419
mov rcx, rbp
call sub.msvcrt.dll_free
test r13, r13
je 0x14001c426
mov rcx, r13
call sub.msvcrt.dll_free
test r12, r12
je 0x14001c433
mov rcx, r12
call sub.msvcrt.dll_free
mov ecx, edi
call qword [sym.imp.KERNEL32.DLL_SetLastError]
test esi, esi
je 0x14001c4e5
mov rcx, qword [rsp + 0xab0]
lea rbp, [rsp + 0x15c]
mov r9d, pe_nt_image_headers64
mov rdx, r14
mov r8, rbp
call fcn.14001aa49
mov edx, 1
mov rcx, rax
mov rdi, rax
call sub.msvcrt.dll_calloc
lea rdx, [0x140088ed8]
mov rcx, rbp
mov rsi, rax
call sub.msvcrt.dll_fopen
test rsi, rsi
mov r12, rax
sete al
test r12, r12
sete dl
or al, dl
jne 0x14001c49e
test rdi, rdi
jne 0x14001c4af
mov rdx, r14
lea rcx, str.__Could_not_read_Grub_version_from__s
call fcn.140036717
jmp 0x14001c4d5
mov edx, 1
mov r9, r12
mov r8, rdi
mov rcx, rsi
call sub.msvcrt.dll_fread
mov rcx, r12
call sub.msvcrt.dll_fclose
mov rdx, rdi
mov rcx, rsi
call fcn.14001a7e2
mov rcx, rsi
call sub.msvcrt.dll_free
mov rcx, rbp
call fcn.14001a7a3
cmp byte [0x1400fb25a], 0
jne 0x14001c501
lea rcx, str.__Could_not_detect_Grub_version
call fcn.140036717
mov byte [0x1400fb21d], 0
lea rcx, [0x1400fb510]
call fcn.1400353aa
lea rcx, [0x1400fb500]
call fcn.1400353aa
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rax, qword [0x1400b19c0]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14001cb2e
cmp word [0x1400fb20c], 0x8000
jne 0x14001c553
mov rcx, qword [rsp + 0xab8]
xor edx, edx
call fcn.14001b24d
cmp word [0x1400fb22c], 0
je 0x14001c8af
lea rax, [rsp + 0x15c]
mov r9, qword [rsp + 0xab8]
lea r8, str._s_syslinux.cfg
mov edx, 0x104
mov rcx, rax
mov qword [rsp + 0x50], rax
mov rbp, qword [sym.imp.msvcrt.dll__snprintf]
call rbp
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1400890c2]
mov byte [rsp + 0x25f], 0
call sub.msvcrt.dll_fopen
mov rsi, rax
test rax, rax
je 0x14001c60e
cmp byte [0x1400fb21b], 0
je 0x14001c6c3
lea rsi, [rsp + 0xa0]
mov rcx, rax
call sub.msvcrt.dll_fclose
mov r9, qword [rsp + 0xab8]
mov edx, 0x10
mov rcx, rsi
lea r8, str._s_syslinux.org
call rbp
mov rdx, qword [rsp + 0x50]
mov r8, rsi
lea rcx, str.Renaming:__s___s
mov byte [rsp + 0xaf], 0
call fcn.140036717
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call sub.msvcrt.dll_rename
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1400890e8]
call sub.msvcrt.dll_fopen
mov rsi, rax
test rax, rax
jne 0x14001c642
mov rdx, qword [rsp + 0x50]
lea rcx, str.Unable_to_create__s___booting_from_USB_will_not_work
mov ebx, 1
call fcn.140036717
jmp 0x14001c6cb
lea r8, [0x1400faf60]
lea rdx, str.DEFAULT_loadconfig_n_nLABEL_loadconfig_n__CONFIG__s_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
lea r12, [0x1400faf60]
mov rcx, r12
call sub.msvcrt.dll_strlen
mov rdi, rax
test rdi, rdi
je 0x14001c6ab
cmp byte [r12 + rdi], 0x2f
je 0x14001c67b
dec rdi
jmp 0x14001c66a
lea r12, [0x1400fade0]
lea rdx, str.__APPEND__s__n
mov rcx, rsi
lea r8, [r12 + 0x180]
mov byte [r12 + rdi + 0x180], 0
call sub.msvcrt.dll_fprintf
mov byte [r12 + rdi + 0x180], 0x2f
mov rdx, qword [rsp + 0x50]
lea r8, [0x1400faf60]
lea rcx, str.Created:__s___s
call fcn.140036717
mov rcx, rsi
call sub.msvcrt.dll_fclose
cmp byte [0x1400fb3e0], 0
lea r12, [0x1400fb3e0]
je 0x14001c8df
mov rcx, r12
mov rsi, r12
call sub.msvcrt.dll_strlen
mov r13, rax
lea rax, [rsp + 0x260]
mov rdi, rax
lea ecx, [r13 + 1]
rep movsb byte [rdi], byte [rsi]
mov rcx, r12
call sub.msvcrt.dll_strlen
mov r8d, 0x4e3
lea rdx, str.iso.c
lea rcx, str.len___8
mov byte [rsp + rax + 0x260], 0
cmp r13, 8
jbe 0x14001c91c
mov rcx, r12
lea r14, str.syslnx32.cfg
mov byte [rsp + r13 + 0x258], 0x69
mov byte [rsp + r13 + 0x259], 0x73
mov byte [rsp + r13 + 0x25a], 0x6f
call qword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov rcx, r12
xor edx, edx
xor r12d, r12d
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
mov r15, qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov rdi, qword [r14 + r12*8]
lea r13, [rsp + 0x260]
mov rcx, qword [rsp + 0x50]
lea r8, [0x140088948]
mov r9, r13
mov edx, 0x104
mov qword [rsp + 0x20], rdi
call rbp
mov byte [rsp + 0x25f], 0
mov rcx, qword [rsp + 0x50]
call r15
test eax, eax
je 0x14001c89f
mov rcx, qword [rsp + 0x50]
mov edx, 0x104
mov qword [rsp + 0x20], rdi
lea r9, [0x1400fb3e0]
lea r8, [0x140088948]
call rbp
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1400890e8]
mov byte [rsp + 0x25f], 0
call sub.msvcrt.dll_fopen
mov rsi, rax
test rax, rax
jne 0x14001c806
mov rdx, qword [rsp + 0x50]
lea rcx, str.Unable_to_create__s___booting_from_USB_may_not_work
mov ebx, 1
call fcn.140036717
jmp 0x14001c89f
mov r9, r13
mov rcx, qword [rsp + 0x50]
mov edx, 0x104
lea r13, [rsp + 0x15e]
lea r8, [0x140088948]
mov qword [rsp + 0x20], rdi
call rbp
lea r9, [rsp + 0x262]
mov r8, r13
mov rcx, rsi
lea rdx, str.DEFAULT_loadconfig_n_nLABEL_loadconfig_n__CONFIG__s_n__APPEND__s_n
mov byte [rsp + 0x25f], 0
call sub.msvcrt.dll_fprintf
mov rcx, rsi
call sub.msvcrt.dll_fclose
lea rax, [0x1400fb3e0]
mov rcx, rax
mov dl, byte [rax]
test dl, dl
je 0x14001c870
cmp dl, 0x2f
jne 0x14001c86b
mov byte [rax], 0x5c
inc rax
jmp 0x14001c85d
mov rdx, rcx
mov r9, r13
lea rcx, str.Created:__s_s___s
mov r8, rdi
call fcn.140036717
lea rax, [0x1400fb3e0]
mov dl, byte [rax]
test dl, dl
je 0x14001c89f
cmp dl, 0x5c
jne 0x14001c89a
mov byte [rax], 0x2f
inc rax
jmp 0x14001c88c
test r12, r12
jne 0x14001c8df
mov r12d, 1
jmp 0x14001c76c
cmp word [0x1400fb214], 0
je 0x14001c8df
mov rax, qword [0x1400b17b0]
cmp dword [rax], 0
je 0x14001c8df
mov rdx, qword [rsp + 0xab8]
mov r8d, 1
lea rcx, str.compact__u_bootmgr_efi_boot_.efi
call fcn.1400358c8
movzx eax, byte [0x1400fb20e]
xor edx, edx
lea rdi, [0x1400fb4f0]
mov qword [rsp + 0x78], rdx
test al, al
mov qword [rsp + 0x80], rdx
je 0x14001cace
cmp al, 2
jbe 0x14001c922
mov r8d, 0x284
lea rdx, str.iso.c
lea rcx, str.img_report.has_md5sum___ARRAYSIZE_md5sum_name_
call qword [sym.imp.msvcrt.dll__wassert]
dec eax
lea rdx, str.MD5SUMS
lea rsi, [rsp + 0x260]
mov r9, qword [0x1400fb540]
cdqe
lea r8, [0x14008929a]
mov rcx, rsi
mov qword [rsp + 0x50], rsi
mov rax, qword [rdx + rax*8]
mov edx, 0x40
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x80]
mov byte [rsp + 0x29f], 0
call fcn.140036895
mov ebp, eax
test eax, eax
je 0x14001cace
xor r12d, r12d
mov r14d, 1
lea r15, [rsp + 0x78]
cmp r12d, dword [0x1400fb4f8]
mov rcx, qword [rsp + 0x80]
jae 0x14001cab1
mov rax, qword [rdi]
mov r13d, r12d
mov rdx, qword [rax + r13*8]
add rdx, 2
call sub.msvcrt.dll_strstr
mov rsi, rax
test rax, rax
je 0x14001caa9
test r14d, r14d
je 0x14001c9db
mov rdx, qword [rsp + 0x50]
lea rcx, str.Updating__s:
call fcn.140036717
mov rax, qword [rdi]
lea rcx, [0x1400892ad]
mov rdx, qword [rax + r13*8]
add rdx, 2
call fcn.140036717
mov rax, qword [rdi]
mov rdx, r15
mov r14, qword [rsp + 0x80]
mov rcx, qword [rax + r13*8]
call fcn.140036895
test eax, eax
jne 0x14001ca15
xor r14d, r14d
jmp 0x14001caa9
mov rdx, qword [rsp + 0x78]
mov r8d, eax
xor ecx, ecx
sub rsi, r14
lea r13, [rsp + 0xdc]
mov r9, r13
call fcn.140006504
mov rcx, qword [rsp + 0x78]
call sub.msvcrt.dll_free
mov rax, qword [rsp + 0x80]
test rsi, rsi
jle 0x14001ca55
cmp byte [rax + rsi - 1], 0xa
je 0x14001ca55
dec rsi
jmp 0x14001ca44
lea rax, [rsi + 1]
add rsi, 0x21
mov dl, byte [r13]
shr dl, 4
lea ecx, [rdx + 0x57]
cmp dl, 9
ja 0x14001ca6f
lea ecx, [rdx + 0x30]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rax - 1], cl
mov dl, byte [r13]
and edx, 0xf
lea ecx, [rdx + 0x57]
cmp dl, 9
ja 0x14001ca8d
lea ecx, [rdx + 0x30]
mov rdx, qword [rsp + 0x80]
inc r13
mov byte [rdx + rax], cl
add rax, 2
cmp rax, rsi
jne 0x14001ca5d
jmp 0x14001ca0d
inc r12d
jmp 0x14001c991
mov rdx, rcx
mov rcx, qword [rsp + 0x50]
mov r8d, ebp
call fcn.140036975
mov rcx, qword [rsp + 0x80]
call sub.msvcrt.dll_free
mov rcx, rdi
call fcn.1400353aa
mov rsi, qword [0x1400b1550]
mov rdx, qword [rsi]
test rdx, rdx
je 0x14001cb2e
lea rcx, str._Adding_files_from__s
call fcn.140036717
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [0x14001888e]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140049e76
mov rdx, qword [rsp + 0xab8]
mov rcx, qword [rsi]
mov r8d, 1
call fcn.140049c46
call fcn.140049ec0
mov rcx, qword [rsp + 0x58]
call fcn.14006e153
mov rcx, qword [rsp + 0x60]
call fcn.140070d4d
test ebx, ebx
je 0x14001cb63
mov rdx, qword [0x1400b1100]
cmp dword [rdx], 0
jne 0x14001cb63
mov eax, dword [0x1400fb520]
neg eax
sbb eax, eax
sub eax, 0x1ffcedf8
mov dword [rdx], eax
xor eax, eax
test ebx, ebx
sete al
jmp 0x14001cb6e
xor eax, eax
add rsp, 0xa68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret