Function at 0x14001be80
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11d0]
mov eax, 0x12d0
call fcn.1400b3400
sub rsp, rax
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rbp + 0x1190], rax
mov r12, qword [0x14019f588]
lea rax, str.i386
xor r14d, r14d
mov qword [rbp - 0x78], rax
cmp dword [0x140194558], r14d
lea rax, str.amd64
mov qword [rbp - 0x70], rax
mov r15d, 1
lea rax, str.minint
mov qword [rsp + 0x68], r12
mov ebx, r14d
mov qword [rbp - 0x68], rax
mov r13, rdx
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r14
mov sil, 0xff
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r14
je 0x14001d980
test r12, r12
je 0x14001d980
test rdx, rdx
je 0x14001d980
mov qword [rsp + 0x1300], rdi
lea rax, [0x14015be30]
test r8d, r8d
mov dword [0x1401d0cc4], r8d
lea rdi, [0x1401564ce]
mov qword [0x1401d0e00], rdx
cmovne rdi, rax
lea rax, [0x140018320]
mov qword [0x140196fa8], rax
je 0x14001c02c
lea rcx, str.ISO_analysis:
call fcn.14004f2f0
mov rcx, qword [0x1401e89e8]
xor r9d, r9d
mov edx, 0x8002
mov r8d, 8
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 8
mov qword [0x1401d0e40], r14
mov ecx, edx
mov qword [0x1401d0e18], r14
mov dword [0x1401e89fc], r14d
mov dword [0x1401d0e5c], 8
mov dword [0x1401d0e58], r14d
call fcn.1400c4f6c
mov qword [0x1401d0e50], rax
test rax, rax
jne 0x14001bfdf
lea rcx, str.Could_not_allocate_string_array
call fcn.14004f2f0
mov edx, 8
mov dword [0x1401d0dec], 8
mov ecx, edx
mov dword [0x1401d0de8], r14d
call fcn.1400c4f6c
mov qword [0x1401d0de0], rax
test rax, rax
jne 0x14001c014
lea rcx, str.Could_not_allocate_string_array
call fcn.14004f2f0
mov r9d, 0xc82
xor r8d, r8d
xor edx, edx
mov ecx, r15d
call fcn.140021510
jmp 0x14001c20c
lea rcx, str.Extracting_files...
call fcn.14004f2f0
lea rcx, [0x1401e86a0]
call fcn.140017cf0
mov rcx, rax
mov rbx, rax
call fcn.14010348c
test rbx, rbx
je 0x14001c05c
mov rcx, rbx
call fcn.1400e8c70
cmp qword [0x1401d0e40], r14
jne 0x14001c083
lea rcx, str.Error:_ISO_has_not_been_properly_scanned.
call fcn.14004f2f0
mov dword [0x14019f120], 0xe0031207
mov rbx, r14
jmp 0x14001c4ae
mov edx, 8
mov qword [0x1401d0e48], r14
mov ecx, edx
mov qword [0x1401d0dd8], r14
mov qword [0x1401954e0], r14
mov byte [0x1401d0cd0], r14b
mov dword [0x1401a0474], 8
mov dword [0x1401a0470], r14d
call fcn.1400c4f6c
mov qword [0x1401a0468], rax
test rax, rax
jne 0x14001c0d4
lea rcx, str.Could_not_allocate_string_array
call fcn.14004f2f0
cmp dword [0x1401a0460], r14d
je 0x14001c209
cmp byte [0x1401e8f56], r15b
mov qword [0x1401e79b0], r14
je 0x14001c2cb
mov rax, qword [0x140150030]
lea r9, [0x14015be8c]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x800]
mov edx, 0x104
mov qword [rsp + 0x20], r13
mov r8, 0xffffffffffffffff
call fcn.140004fd0
lea rcx, [rbp + 0x800]
mov byte [rbp + 0x903], r14b
mov qword [rsp + 0x60], r14
call fcn.140017cf0
mov r9d, 0xffffffff
mov dword [rsp + 0x28], r14d
lea r8, [0x14015be94]
mov qword [rsp + 0x20], r14
xor edx, edx
mov ecx, 0xfde9
mov r12, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd r15, eax
cmp r15d, 1
jle 0x14001c1b3
mov rcx, r15
mov edx, 2
call fcn.1400c4f6c
mov rbx, rax
test rax, rax
je 0x14001c1b3
mov dword [rsp + 0x28], r15d
lea r8, [0x14015be94]
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, r15d
je 0x14001c1b6
mov rcx, rbx
call fcn.1400e8c70
mov rbx, r14
mov r8, rbx
lea rcx, [rsp + 0x60]
mov rdx, r12
call fcn.1400e90a0
test r12, r12
je 0x14001c1d3
mov rcx, r12
call fcn.1400e8c70
test rbx, rbx
je 0x14001c1e0
mov rcx, rbx
call fcn.1400e8c70
mov rax, qword [rsp + 0x60]
mov qword [0x1401d0e60], rax
test rax, rax
jne 0x14001c204
mov rdx, qword [0x140150030]
lea rcx, str.WARNING:_Could_not_create__s
call fcn.14004f2f0
mov r12, qword [rsp + 0x68]
mov rbx, r14
mov rcx, r12
call fcn.140076c70
mov qword [rsp + 0x78], rax
mov r15, rax
test rax, rax
je 0x14001c253
mov rdx, rdi
lea rcx, str._sImage_is_a_UDF_image
call fcn.14004f2f0
mov rcx, r15
call fcn.1400770c0
mov r15, rax
test rax, rax
jne 0x14001c2f3
mov rdx, rdi
lea rcx, str._sCould_not_locate_UDF_root_directory
call fcn.14004f2f0
cmp dword [0x140194318], r14d
mov eax, dword [0x1401944a8]
je 0x14001c281
test eax, eax
je 0x14001c288
cmp dword [0x1401d0cc4], r14d
jne 0x14001c281
cmp byte [0x1401e8f5a], r14b
jne 0x14001c281
cmp byte [0x1401e8f58], 1
jne 0x14001c284
mov sil, 0xf8
test eax, eax
jne 0x14001c28c
and sil, 0xf7
movzx edx, sil
mov rcx, r12
call fcn.140070b00
mov qword [rsp + 0x70], rax
mov rbx, rax
mov rdx, rdi
test rax, rax
jne 0x14001c3bc
mov r8, r12
lea rcx, str._s_s_doesnt_look_like_an_ISO_image
call fcn.14004f2f0
mov r15d, 1
mov dword [rsp + 0x50], r15d
jmp 0x14001c4ae
mov rdx, qword [0x140150030]
mov rcx, r12
call fcn.14001df30
mov dword [0x1401d0e38], eax
mov rax, qword [0x1401d0df0]
mov qword [0x1401d0df8], rax
jmp 0x14001c209
cmp dword [0x1401d0cc4], r14d
je 0x14001c3a3
mov rax, qword [rsp + 0x78]
lea rdx, [rbp + 0x990]
mov byte [0x1401e8a00], r14b
mov r9d, 1
mov rcx, rax
mov r8d, dword [rax + 0x22c]
call fcn.140076b50
test eax, eax
jne 0x14001c38a
movsx edx, byte [rbp + 0xa63]
lea rcx, [rbp + 0x9e4]
call fcn.1400769b0
mov rsi, rax
test rax, rax
je 0x14001c38a
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], r14b
jne 0x14001c350
inc ebx
lea rcx, [0x1401e8a00]
mov edi, 0xc0
mov rdx, rsi
cmp ebx, edi
cmovb edi, ebx
mov r8d, edi
call fcn.140103600
mov rcx, rsi
mov byte [0x1401e8abf], r14b
call fcn.1400e8c70
test ebx, ebx
jg 0x14001c391
mov byte [0x1401e8a00], r14b
xor edx, edx
mov rcx, r12
call fcn.140070b00
mov rbx, rax
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x78]
lea r8, [0x1401564ce]
mov rdx, r15
call fcn.140019e90
jmp 0x14001c4a7
lea rcx, str._sImage_is_an_ISO9660_image
call fcn.14004f2f0
cmp dword [0x1401d0cc4], r14d
movzx eax, byte [rbx + 0x18]
mov byte [0x1401d05dc], al
je 0x14001c45f
lea r9, [rbx + 0x841]
mov rcx, rbx
lea r8, [rbx + 0x41]
lea rdx, [rbp + 0x7e0]
call fcn.140070d00
test al, al
je 0x14001c456
mov rbx, qword [rbp + 0x7e0]
test rbx, rbx
jne 0x14001c40e
mov rax, r14
jmp 0x14001c41e
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r14b
jne 0x14001c415
inc rax
lea rsi, [0x1401e8a00]
mov edi, 0xc0
mov rdx, rbx
cmp rax, rdi
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140135ea0
mov rcx, rbx
mov byte [rdi + rsi - 1], r14b
call fcn.1400e8c70
mov rbx, qword [rsp + 0x70]
jmp 0x14001c498
mov byte [0x1401e8a00], r14b
jmp 0x14001c498
mov rdx, rdi
test sil, 0xf
je 0x14001c48c
test sil, 7
lea rax, str.Joliet
lea r8, str.Rock_Ridge
cmovne r8, rax
lea rcx, str._sThis_image_will_be_extracted_using__s_extensions__if_present_
call fcn.14004f2f0
jmp 0x14001c498
lea rcx, str._sThis_image_will_not_be_extracted_using_any_ISO_extensions
call fcn.14004f2f0
lea rdx, [0x1401564ce]
mov rcx, rbx
call fcn.14001a9d0
mov dword [rsp + 0x50], eax
mov r15d, eax
cmp dword [0x1401d0cc4], r14d
mov qword [0x1401954e0], 0xffffffffffffffff
je 0x14001d01e
mov r8d, 3
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.140071d70
test al, al
je 0x14001c552
mov rcx, r12
call fcn.140017cf0
lea rdx, [rbp - 0x60]
mov rcx, rax
mov rbx, rax
call fcn.1401073d4
mov edi, eax
test rbx, rbx
je 0x14001c502
mov rcx, rbx
call fcn.1400e8c70
test edi, edi
jne 0x14001c552
mov rdx, qword [rbp + 0x30]
mov rax, rdx
shr rax, 0x18
movzx r8d, al
mov rax, rdx
shr rax, 0x10
movzx ecx, al
mov rax, rdx
shr rax, 8
shl r8d, 8
or r8d, ecx
movzx ecx, al
shl r8d, 8
or r8d, ecx
movzx eax, dl
shl r8d, 8
or eax, r8d
cdqe
shl rax, 0xb
sub rax, qword [rbp - 0x48]
mov qword [0x1401e8f40], rax
mov rax, 0xffffffffffffffff
lea r13, [0x1401e8a00]
inc rax
cmp byte [rax + r13], r14b
jne 0x14001c560
dec eax
movsxd rbx, eax
test eax, eax
jle 0x14001c58c
movzx ecx, byte [rbx + r13]
call fcn.1400fe000
test eax, eax
je 0x14001c58c
mov byte [rbx + r13], r14b
dec rbx
test rbx, rbx
jg 0x14001c572
mov rax, qword [0x1401d0e40]
lea r15, [0x1401e8440]
mov ecx, dword [0x1401d0e58]
shl rax, 0xb
mov qword [0x1401e8f38], rax
test ecx, ecx
je 0x14001cad1
movdqa xmm0, xmmword [0x140179590]
lea r15, [0x1401e8b80]
mov rsi, qword [0x1401d0e50]
movq rax, xmm0
mov qword [0x1401e8bf0], rax
mov rdi, r14
mov dword [0x1401e8bf8], eax
mov word [0x1401e8bfc], ax
mov byte [0x1401e8bfe], al
movups xmmword [0x1401e8b80], xmm0
mov byte [0x1401e8bff], r14b
movups xmmword [0x1401e8b90], xmm0
movups xmmword [0x1401e8ba0], xmm0
movups xmmword [0x1401e8bb0], xmm0
movups xmmword [0x1401e8bc0], xmm0
movups xmmword [0x1401e8bd0], xmm0
movups xmmword [0x1401e8be0], xmm0
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsi + rdi*8]
lea rdx, str._boot_i386_loader_isolinux.cfg
call fcn.140107d64
test eax, eax
je 0x14001c6e9
mov rcx, qword [0x1401d0e50]
lea rdx, str._boot_x86_64_loader_isolinux.cfg
mov rcx, qword [rcx + rdi*8]
call fcn.140107d64
test eax, eax
je 0x14001c6e9
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [r15 + rax], r14b
jne 0x14001c670
mov rsi, qword [0x1401d0e50]
mov rdx, qword [rsi + rdi*8]
test rdx, rdx
je 0x14001c6b0
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], r14b
jne 0x14001c690
cmp rax, rcx
jb 0x14001c6d5
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r14b
jne 0x14001c6a5
jmp 0x14001c6b3
mov rax, r14
inc rax
mov ebx, 0x80
cmp rax, rbx
mov rcx, r15
cmovb rbx, rax
mov r8, rbx
call fcn.140135ea0
mov byte [rbx + r13 + 0x17f], r14b
mov eax, dword [0x1401d0e58]
inc rdi
cmp rdi, rax
jb 0x14001c630
jmp 0x14001c737
mov rax, qword [0x1401d0e50]
mov rdx, qword [rax + rdi*8]
test rdx, rdx
jne 0x14001c6fe
mov rax, r14
jmp 0x14001c70e
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r14b
jne 0x14001c705
inc rax
mov ebx, 0x80
cmp rax, rbx
mov rcx, r15
cmovb rbx, rax
mov r8, rbx
call fcn.140135ea0
mov byte [rbx + r13 + 0x17f], r14b
mov byte [0x1401e8f68], 1
mov rdx, r15
lea rcx, str.__Will_use__s_for_Syslinux
call fcn.14004f2f0
cmp dword [0x1401d0de8], r14d
lea rbx, [0x1401e8f84]
mov rdi, r14
mov qword [rsp + 0x60], r14
jbe 0x14001ca41
mov rsi, r14
mov r12, r14
nop dword [rax + rax]
lea rax, [0x1401e8440]
mov edx, 0x104
lea r9, str._sisolinux.tmp
mov qword [rsp + 0x20], rax
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0x990]
call fcn.140004fd0
mov rdx, qword [0x1401d0de0]
lea r8, [rbp + 0x990]
mov rcx, qword [rsp + 0x68]
mov r9d, 0x80
mov byte [rbp + 0xa93], r14b
mov rdx, qword [rsi + rdx]
call fcn.14001d9b0
mov rbx, rax
test rax, rax
je 0x14001c9c9
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x990]
call fcn.14004f550
mov ecx, eax
cmp rcx, rbx
jne 0x14001c9c9
mov rcx, qword [rsp + 0x58]
lea r8, [rbp + 0x7e0]
mov rdx, rbx
call fcn.14005b1b0
movzx r10d, word [0x1401e8f76]
movzx r13d, ax
test r10w, r10w
jne 0x14001c86f
mov rdx, qword [rbp + 0x7e0]
test rdx, rdx
jne 0x14001c823
mov rax, r14
jmp 0x14001c839
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rdx + rax], r14b
jne 0x14001c830
inc rax
lea rcx, [0x1401e8f84]
mov ebx, 0x20
cmp rax, rbx
cmovb rbx, rax
mov r8, rbx
call fcn.140135ea0
lea rax, [0x1401e8a00]
mov qword [rbp - 0x80], rdi
mov byte [rbx + rax + 0x583], r14b
jmp 0x14001c9b2
mov rdi, qword [rbp + 0x7e0]
lea rbx, str._NULL_
cmp r10w, r13w
jne 0x14001c8bb
test rdi, rdi
lea rax, [0x1401e8f84]
mov r8, rdi
cmove r8, rbx
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14001c8b3
inc rax
test ecx, ecx
jne 0x14001c8a0
test edx, edx
je 0x14001c9bd
mov rdx, qword [0x1401d0de0]
mov ecx, r13d
mov qword [rsp + 0x40], rdi
mov r8d, r10d
shr ecx, 8
movzx eax, r13b
mov dword [rsp + 0x38], eax
mov rax, qword [rsi + rdx]
mov rdx, qword [r12 + rdx]
mov dword [rsp + 0x30], ecx
lea rcx, str.__Found_conflicting_isolinux_versions:_r_n___s___d._02d_s__vs__s___d._02d_s_
mov qword [rsp + 0x28], rax
lea rax, [0x1401e8f84]
movzx r9d, r10b
shr r8d, 8
mov qword [rsp + 0x20], rax
call fcn.14004f2f0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r15 + r8], r14b
jne 0x14001c910
test r8, r8
je 0x14001c936
lea rax, [0x1401e8a00]
cmp byte [r8 + rax + 0x180], 0x2f
je 0x14001c936
sub r8, 1
jne 0x14001c925
mov rax, qword [0x1401d0de0]
mov rdx, rbx
mov rcx, qword [rsi + rax]
test rcx, rcx
cmovne rdx, rcx
mov rcx, r15
call fcn.1400fe258
test eax, eax
jne 0x14001c9bd
test rdi, rdi
jne 0x14001c961
mov rax, r14
jmp 0x14001c979
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rdi + rax], r14b
jne 0x14001c970
inc rax
lea rcx, [0x1401e8f84]
mov ebx, 0x20
mov rdx, rdi
cmp rax, rbx
cmovb rbx, rax
mov r8, rbx
call fcn.140135ea0
lea rax, [0x1401e8a00]
mov byte [rbx + rax + 0x583], r14b
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov r12, rsi
mov word [0x1401e8f76], r13w
mov rcx, qword [rsp + 0x58]
call fcn.1400e8c70
jmp 0x14001c9e0
mov rdx, qword [0x1401d0de0]
lea rcx, str.__Could_not_access__s
mov rdx, qword [rsi + rdx]
call fcn.14004f2f0
lea rcx, [rbp + 0x990]
call fcn.140017cf0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test rbx, rbx
je 0x14001ca0d
mov rcx, rbx
call fcn.1400e8c70
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x60]
add rsi, 8
mov eax, dword [0x1401d0de8]
inc rdi
mov qword [rsp + 0x60], rdi
cmp rdi, rax
jb 0x14001c770
mov r12, qword [rsp + 0x68]
lea rbx, [0x1401e8f84]
movzx ecx, word [0x1401e8f76]
lea r9, str._d._02d
mov r8, 0xffffffffffffffff
test cx, cx
je 0x14001cb62
movzx eax, cl
mov edx, 0xc
shr ecx, 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [0x1401e8f78]
call fcn.140004fd0
mov r9, qword [0x1401d0de0]
lea rdx, [0x1401e8f78]
mov rax, qword [rbp - 0x80]
lea rcx, str.__Detected_Syslinux_version:__s_s__from__s_
mov byte [0x1401e8f83], r14b
mov r8, rbx
mov r9, qword [r9 + rax*8]
call fcn.14004f2f0
movzx eax, word [0x1401e8f76]
shr ax, 8
cmp dword [0x1401e89fc], r14d
je 0x14001cb49
cmp al, 5
jb 0x14001cb51
lea r15, [0x1401e8440]
lea r13, [0x140000000]
cmp word [0x1401e8f54], r14w
jne 0x14001cb00
cmp byte [0x1401e8eac], r14b
je 0x14001cb00
call fcn.14001e780
test eax, eax
je 0x14001cb00
mov eax, 0x8000
mov word [0x1401e8f54], ax
movzx ecx, byte [0x1401e8f52]
movzx eax, cl
and al, 7
cmp al, 7
je 0x14001cbcc
movzx eax, cl
and al, 0x23
cmp al, 0x23
je 0x14001cb35
movzx eax, word [0x1401e8f52]
mov edx, 0x1c0
and ax, dx
cmp ax, dx
jne 0x14001cce9
and cl, 0x23
mov rax, r14
cmp cl, 0x23
setne al
inc rax
jmp 0x14001cbcf
cmp al, 5
jb 0x14001caca
lea rcx, str.__Warning:_Conflict_between_Isolinux_version_and_the_presence_of_ldlinux.c32...
call fcn.14004f2f0
jmp 0x14001caca
mov eax, dword [0x1401e89fc]
lea r13, [0x140000000]
neg eax
sbb rcx, rcx
and ecx, 2
movzx edx, word [rcx + r13 + 0x1e8428]
lea rcx, [0x1401e8f78]
movzx eax, dl
mov word [0x1401e8f76], dx
shr edx, 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov edx, 0xc
call fcn.140004fd0
lea rdx, [0x1401e8f78]
mov byte [0x1401e8f83], r14b
lea rcx, str.__Warning:_Could_not_detect_Isolinux_version___Forcing_to__s__embedded_
call fcn.14004f2f0
lea r15, [0x1401e8440]
jmp 0x14001cad8
mov rax, r14
mov rax, qword [rbp + rax*8 - 0x78]
lea r9, str.__s_txtsetup.sif
mov edx, 0x104
mov qword [rsp + 0x20], rax
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0x800]
call fcn.140004fd0
mov r9d, 0x80
mov byte [rbp + 0x903], r14b
lea r8, str.._txtsetup.sif
mov rcx, r12
lea rdx, [rbp + 0x800]
call fcn.14001d9b0
mov r8d, 1
lea rdx, str.._txtsetup.sif
lea rcx, str.OsLoadOptions
call fcn.140026e40
mov rbx, rax
test rax, rax
je 0x14001ccac
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r14b
jne 0x14001cc43
test rax, rax
je 0x14001cc84
mov rdi, rbx
movsx ecx, byte [rdi]
call fcn.1400fc5b4
mov byte [rdi], al
mov rcx, 0xffffffffffffffff
inc rdi
nop dword [rax + rax]
inc rcx
cmp byte [rbx + rcx], r14b
jne 0x14001cc70
mov rax, rdi
sub rax, rbx
cmp rax, rcx
jb 0x14001cc54
mov rdx, rbx
lea rcx, str.__Checking_txtsetup.sif:_r_n__OsLoadOptions___s
call fcn.14004f2f0
lea rdx, str._minint
mov rcx, rbx
call fcn.1400b4230
test rax, rax
setne byte [0x1401e8f6b]
lea rcx, str.._txtsetup.sif
call fcn.140017cf0
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test rdi, rdi
je 0x14001ccd9
mov rcx, rdi
call fcn.1400e8c70
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbx
call fcn.1400e8c70
cmp byte [0x1401e8f57], r14b
je 0x14001cd00
mov rcx, r12
call fcn.14001e2b0
mov dword [0x1401e8f48], eax
movzx eax, byte [0x1401e8f64]
test al, al
je 0x14001cf50
mov rax, qword [r13 + rax*8 + 0x1501c8]
lea r9, str._s_normal.mod
inc rax
lea rcx, [rbp + 0x910]
mov edx, 0x80
mov qword [rsp + 0x20], rax
mov r8, 0xffffffffffffffff
call fcn.140004fd0
mov rcx, r15
mov byte [rbp + 0x98f], r14b
mov byte [0x1401e8fa4], r14b
call fcn.140017cf0
cmp byte [0x140156a6c], r14b
mov r15, rax
jne 0x14001cd74
mov edx, 2
mov ecx, 1
call fcn.1400c4f6c
mov rbx, rax
jmp 0x14001cde7
mov dword [rsp + 0x28], r14d
lea r8, [0x140156a6c]
mov r9d, 0xffffffff
mov qword [rsp + 0x20], r14
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
cmp edi, 1
jle 0x14001cde4
mov rcx, rdi
mov edx, 2
call fcn.1400c4f6c
mov rbx, rax
test rax, rax
je 0x14001cde4
mov dword [rsp + 0x28], edi
lea r8, [0x140156a6c]
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x14001cde7
mov rcx, rbx
call fcn.1400e8c70
mov rbx, r14
mov edx, 2
mov ecx, 0x104
call fcn.1400c4f6c
mov r9, rax
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
test esi, esi
je 0x14001ce5d
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x800]
mov qword [rsp + 0x30], r14
mov r9d, 0xffffffff
mov dword [rsp + 0x28], 0x104
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test eax, eax
jne 0x14001ce5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
test rdi, rdi
je 0x14001ce6a
mov rcx, rdi
call fcn.1400e8c70
test rbx, rbx
je 0x14001ce77
mov rcx, rbx
call fcn.1400e8c70
test r15, r15
je 0x14001ce84
mov rcx, r15
call fcn.1400e8c70
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x14001cf34
mov rcx, qword [rsp + 0x68]
lea r8, [rbp + 0x800]
mov r9d, 0x80
lea rdx, [rbp + 0x910]
call fcn.14001d9b0
mov rbx, rax
test rax, rax
je 0x14001cee2
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x800]
call fcn.14004f550
mov ecx, eax
cmp rcx, rbx
jne 0x14001cee2
mov rcx, qword [rsp + 0x58]
mov rdx, rbx
call fcn.14001ba60
jmp 0x14001cef5
lea rdx, [rbp + 0x910]
lea rcx, str.__Could_not_read_Grub_version_from__s
call fcn.14004f2f0
mov rcx, qword [rsp + 0x58]
call fcn.1400e8c70
lea rcx, [rbp + 0x800]
call fcn.140017cf0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test rbx, rbx
je 0x14001cf2c
mov rcx, rbx
call fcn.1400e8c70
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [0x1401e8fa4], r14b
jne 0x14001cf50
lea rcx, str.__Could_not_detect_Grub_version
call fcn.14004f2f0
mov byte [0x1401e8f64], r14b
mov rcx, qword [0x1401d0e50]
test rcx, rcx
je 0x14001cf9e
cmp dword [0x1401d0e58], r14d
mov edi, r14d
jbe 0x14001cf97
nop dword [rax + rax]
mov ebx, edi
mov rcx, qword [rcx + rbx*8]
call fcn.1400e8c70
mov rax, qword [0x1401d0e50]
inc edi
mov qword [rax + rbx*8], r14
cmp edi, dword [0x1401d0e58]
mov rcx, qword [0x1401d0e50]
jb 0x14001cf70
mov dword [0x1401d0e58], r14d
call fcn.1400e8c70
mov rcx, qword [0x1401d0de0]
mov qword [0x1401d0e50], r14
test rcx, rcx
je 0x14001cff0
cmp dword [0x1401d0de8], r14d
mov edi, r14d
jbe 0x14001cfe9
mov ebx, edi
mov rcx, qword [rcx + rbx*8]
call fcn.1400e8c70
mov rax, qword [0x1401d0de0]
inc edi
mov qword [rax + rbx*8], r14
cmp edi, dword [0x1401d0de8]
mov rcx, qword [0x1401d0de0]
jb 0x14001cfc2
mov dword [0x1401d0de8], r14d
call fcn.1400e8c70
mov rcx, qword [0x1401e89e8]
xor r9d, r9d
xor r8d, r8d
mov qword [0x1401d0de0], r14
mov edx, 0x8003
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15d, dword [rsp + 0x50]
jmp 0x14001d8a1
movzx eax, word [0x1401e8f54]
mov ecx, 0xc000
test cx, ax
je 0x14001d0ac
bt ax, 0xe
jae 0x14001d0a2
lea rcx, str.Broken_UEFI_bootloader_detected___Applying_workaround:
call fcn.14004f2f0
lea r9, str._sEFI_boot_bootx64.efi
mov qword [rsp + 0x20], r13
mov edx, 0x104
lea rcx, [rbp + 0x800]
mov r8, 0xffffffffffffffff
call fcn.140004fd0
lea rcx, [rbp + 0x800]
mov byte [rbp + 0x903], r14b
call fcn.140017cf0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test rbx, rbx
je 0x14001d09a
mov rcx, rbx
call fcn.1400e8c70
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
mov rcx, r13
call fcn.14001eb60
cmp word [0x1401e8f76], r14w
je 0x14001d5d6
lea r9, str._s_syslinux.cfg
mov qword [rsp + 0x20], r13
mov edx, 0x104
lea rcx, [rbp + 0x800]
mov r8, 0xffffffffffffffff
call fcn.140004fd0
lea rdx, [0x14015b0f0]
mov byte [rbp + 0x903], r14b
lea rcx, [rbp + 0x800]
call fcn.1400e9100
mov rdi, rax
test rax, rax
je 0x14001d16d
cmp byte [0x1401e8f68], r14b
je 0x14001d22a
mov rcx, rax
call fcn.1400e9320
lea r9, str._s_syslinux.org
mov qword [rsp + 0x20], r13
mov edx, 0x10
lea rcx, [rbp + 0x7f0]
mov r8, 0xffffffffffffffff
call fcn.140004fd0
lea r8, [rbp + 0x7f0]
mov byte [rbp + 0x7ff], r14b
lea rdx, [rbp + 0x800]
lea rcx, str.Renaming:__s___s
call fcn.14004f2f0
lea rdx, [rbp + 0x7f0]
lea rcx, [rbp + 0x800]
call fcn.140107bec
lea rdx, [0x14014fa44]
lea rcx, [rbp + 0x800]
call fcn.1400e9100
mov rdi, rax
test rax, rax
jne 0x14001d1a6
lea rdx, [rbp + 0x800]
lea rcx, str.Unable_to_create__s___booting_from_USB_will_not_work
call fcn.14004f2f0
mov r15d, 1
jmp 0x14001d237
lea r15, [0x1401e8b80]
mov rcx, rdi
mov r8, r15
lea rdx, str.DEFAULT_loadconfig_n_nLABEL_loadconfig_n__CONFIG__s_n
call fcn.140001060
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], r14b
jne 0x14001d1c6
test rbx, rbx
je 0x14001d214
lea rsi, [0x1401e8a00]
nop dword [rax + rax]
cmp byte [rbx + rsi + 0x180], 0x2f
je 0x14001d1f2
sub rbx, 1
jne 0x14001d1e0
jmp 0x14001d214
mov r8, r15
mov byte [rbx + rsi + 0x180], r14b
lea rdx, str.__APPEND__s__n
mov rcx, rdi
call fcn.140001060
mov byte [rbx + rsi + 0x180], 0x2f
mov r8, r15
lea rdx, [rbp + 0x800]
lea rcx, str.Created:__s___s
call fcn.14004f2f0
mov rcx, rdi
call fcn.1400e9320
mov r15d, dword [rsp + 0x50]
cmp byte [0x1401d0cd0], r14b
je 0x14001d609
lea rdi, [0x1401d0cd0]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rdi + rsi], r14b
jne 0x14001d252
lea rax, [rsi + 1]
mov ebx, 0x104
cmp rax, rbx
lea rcx, [rbp + 0x990]
mov rdx, rdi
cmovb rbx, rax
mov r8, rbx
call fcn.140135ea0
mov byte [rbp + rbx + 0x98f], r14b
cmp rsi, 8
ja 0x14001d2a4
mov r8d, 0x56a
lea rdx, str.D:_a_rufus_rufus_srciso.c
lea rcx, str.len___8
call fcn.1400fbe54
mov rcx, rdi
mov word [rbp + rsi + 0x988], 0x7369
mov byte [rbp + rsi + 0x98a], 0x6f
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rax, qword [str.syslnx32.cfg]
lea r9, [0x14015bc0c]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x800]
lea rax, [rbp + 0x990]
mov edx, 0x104
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call fcn.140004fd0
lea rcx, [rbp + 0x800]
mov byte [rbp + 0x903], r14b
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14001d453
mov rax, qword [str.syslnx32.cfg]
lea r9, [0x14015bc0c]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x800]
mov edx, 0x104
mov qword [rsp + 0x20], rdi
mov r8, 0xffffffffffffffff
call fcn.140004fd0
lea rdx, [0x14014fa44]
mov byte [rbp + 0x903], r14b
lea rcx, [rbp + 0x800]
call fcn.1400e9100
mov rbx, rax
test rax, rax
jne 0x14001d38d
lea rdx, [rbp + 0x800]
lea rcx, str.Unable_to_create__s___booting_from_USB_may_not_work
call fcn.14004f2f0
mov r15d, 1
jmp 0x14001d453
mov rax, qword [str.syslnx32.cfg]
lea r9, [0x14015bc0c]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x800]
lea rax, [rbp + 0x990]
mov edx, 0x104
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call fcn.140004fd0
lea r9, [rbp + 0x992]
mov byte [rbp + 0x903], r14b
lea r8, [rbp + 0x802]
mov rcx, rbx
lea rdx, str.DEFAULT_loadconfig_n_nLABEL_loadconfig_n__CONFIG__s_n__APPEND__s_n
call fcn.140001060
mov rcx, rbx
call fcn.1400e9320
movzx ecx, byte [0x1401d0cd0]
mov rax, rdi
test cl, cl
je 0x14001d413
nop
cmp cl, 0x2f
jne 0x14001d408
mov byte [rax], 0x5c
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
jne 0x14001d400
mov r8, qword [str.syslnx32.cfg]
lea r9, [rbp + 0x802]
mov rdx, rdi
lea rcx, str.Created:__s_s___s
call fcn.14004f2f0
movzx ecx, byte [0x1401d0cd0]
mov rax, rdi
test cl, cl
je 0x14001d453
nop
cmp cl, 0x5c
jne 0x14001d448
mov byte [rax], 0x2f
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
jne 0x14001d440
mov rax, qword [str.syslnx64.cfg]
lea r9, [0x14015bc0c]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x800]
lea rax, [rbp + 0x990]
mov edx, 0x104
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call fcn.140004fd0
lea rcx, [rbp + 0x800]
mov byte [rbp + 0x903], r14b
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14001d609
mov rax, qword [str.syslnx64.cfg]
lea r9, [0x14015bc0c]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x800]
mov edx, 0x104
mov qword [rsp + 0x20], rdi
mov r8, 0xffffffffffffffff
call fcn.140004fd0
lea rdx, [0x14014fa44]
mov byte [rbp + 0x903], r14b
lea rcx, [rbp + 0x800]
call fcn.1400e9100
mov rbx, rax
test rax, rax
jne 0x14001d516
lea rdx, [rbp + 0x800]
lea rcx, str.Unable_to_create__s___booting_from_USB_may_not_work
call fcn.14004f2f0
mov r15d, 1
jmp 0x14001d609
mov rax, qword [str.syslnx64.cfg]
lea r9, [0x14015bc0c]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x800]
lea rax, [rbp + 0x990]
mov edx, 0x104
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call fcn.140004fd0
lea r9, [rbp + 0x992]
mov byte [rbp + 0x903], r14b
lea r8, [rbp + 0x802]
mov rcx, rbx
lea rdx, str.DEFAULT_loadconfig_n_nLABEL_loadconfig_n__CONFIG__s_n__APPEND__s_n
call fcn.140001060
mov rcx, rbx
call fcn.1400e9320
movzx ecx, byte [0x1401d0cd0]
mov rax, rdi
test cl, cl
je 0x14001d59a
cmp cl, 0x2f
jne 0x14001d58f
mov byte [rax], 0x5c
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
jne 0x14001d587
mov r8, qword [str.syslnx64.cfg]
lea r9, [rbp + 0x802]
mov rdx, rdi
lea rcx, str.Created:__s_s___s
call fcn.14004f2f0
movzx eax, byte [0x1401d0cd0]
test al, al
je 0x14001d609
cmp al, 0x5c
jne 0x14001d5c9
mov byte [rdi], 0x2f
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x14001d5c2
jmp 0x14001d609
cmp byte [0x1401e8f5c], r14b
jne 0x14001d5e8
cmp byte [0x1401e8f5d], r14b
je 0x14001d609
cmp dword [0x14019f5b0], r14d
je 0x14001d609
xor r9d, r9d
lea rcx, str.compact__u_bootmgr_efi_boot_.efi
mov r8d, 1
mov rdx, r13
call fcn.14004d560
lea r9, str._s_slax_bootEFI
mov qword [rsp + 0x20], r13
mov edx, 0x104
lea rcx, [rbp + 0x800]
mov r8, 0xffffffffffffffff
call fcn.140004fd0
lea rcx, [rbp + 0x800]
mov byte [rbp + 0x903], r14b
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14001d6db
lea r9, str._sEFI
mov qword [rsp + 0x20], r13
mov edx, 0x10
lea rcx, [rbp + 0x7e0]
mov r8, 0xffffffffffffffff
call fcn.140004fd0
lea rcx, [rbp + 0x7e0]
mov byte [rbp + 0x7ef], r14b
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x14001d6db
lea rdx, [rbp + 0x7e0]
lea rcx, [rbp + 0x800]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x14001d6b9
lea r8, [rbp + 0x7e0]
lea rdx, [rbp + 0x800]
lea rcx, str.Moved:__s___s
call fcn.14004f2f0
jmp 0x14001d6db
call fcn.14004fba0
mov r9, rax
lea r8, [rbp + 0x7e0]
lea rdx, [rbp + 0x800]
lea rcx, str.Could_not_move__s___s
call fcn.14004f2f0
mov rcx, qword [0x1401d0e60]
test rcx, rcx
je 0x14001d882
movaps xmmword [rsp + 0x12a0], xmm8
call fcn.1401044fc
cmp dword [0x14019f590], r14d
lea rdi, [0x140166140]
movsxd rcx, eax
xorps xmm8, xmm8
lea rax, [0x1401564ce]
cmove rdi, rax
test rcx, rcx
js 0x14001d725
cvtsi2sd xmm8, rcx
jmp 0x14001d73b
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm8, rax
addsd xmm8, xmm8
mov rsi, qword [0x14019f560]
mov eax, r14d
movsd xmm1, qword [0x140176fe0]
movsd xmm0, qword [0x140176f68]
comisd xmm1, xmm8
ja 0x14001d768
inc eax
mulsd xmm8, xmm0
cmp eax, 5
jl 0x14001d755
test eax, eax
jne 0x14001d7af
mov rax, qword [rsi + 0xa0]
lea r9, str._s_d_s__s
mov qword [rsp + 0x38], rax
mov edx, 0x20
cvttsd2si ecx, xmm8
mov qword [rsp + 0x30], rdi
mov r8, 0xffffffffffffffff
mov dword [rsp + 0x28], ecx
lea rcx, [0x1401e2e30]
mov qword [rsp + 0x20], rdi
call fcn.140004fd0
jmp 0x14001d847
movaps xmmword [rsp + 0x12c0], xmm6
movaps xmm0, xmm8
movaps xmmword [rsp + 0x12b0], xmm7
movaps xmm7, xmm8
mulsd xmm7, qword [0x140176fc0]
movsxd rbx, eax
call fcn.140135bc0
mulsd xmm0, qword [0x140176fc0]
lea rax, str._s_0.0f_s__s
lea r9, str._s_0.1f_s__s
mov edx, 0x20
mov r8, 0xffffffffffffffff
lea rcx, [0x1401e2e30]
subsd xmm7, xmm0
movsd xmm0, qword [0x140176f90]
comisd xmm0, xmm7
cmova r9, rax
mov rax, qword [rsi + rbx*8 + 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
movsd qword [rsp + 0x28], xmm8
mov qword [rsp + 0x20], rdi
call fcn.140004fd0
movaps xmm7, xmmword [rsp + 0x12b0]
movaps xmm6, xmmword [rsp + 0x12c0]
mov r8, qword [0x140150030]
lea r9, [0x1401e2e30]
mov rdx, r13
mov byte [0x1401e2e4f], r14b
lea rcx, str.Created:__s_s___s_
call fcn.14004f2f0
mov rcx, qword [0x1401d0e60]
call fcn.1400e9320
movaps xmm8, xmmword [rsp + 0x12a0]
jmp 0x14001d8a1
mov rcx, qword [0x1401d0df0]
test rcx, rcx
je 0x14001d8a1
call fcn.1400e8c70
mov qword [0x1401d0df0], r14
mov dword [0x1401d0e38], r14d
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14001d8f1
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14001d8e5
cmp dword [rbx + 0x38], r14d
je 0x14001d8d4
lea rcx, str.closed_source...
call fcn.140070820
mov rcx, qword [rbx]
call qword [rbx + 0x28]
mov dword [rbx + 0x38], r14d
mov qword [rbx + 0x40], r14
mov rcx, qword [rbx]
call qword [rbx + 0x30]
mov rcx, rbx
mov qword [rbx], r14
call fcn.1400e8c70
mov rcx, rdi
mov qword [rdi + 8], r14
call fcn.1400e8c70
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14001d942
cmp byte [rdi], r14b
je 0x14001d93a
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x14001d93a
cmp dword [rbx + 0x38], r14d
je 0x14001d929
lea rcx, str.closed_source...
call fcn.140070820
mov rcx, qword [rbx]
call qword [rbx + 0x28]
mov dword [rbx + 0x38], r14d
mov qword [rbx + 0x40], r14
mov rcx, qword [rbx]
call qword [rbx + 0x30]
mov rcx, rbx
mov qword [rbx], r14
call fcn.1400e8c70
mov rcx, rdi
call fcn.1400e8c70
mov rdi, qword [rsp + 0x1300]
test r15d, r15d
je 0x14001d977
cmp dword [0x14019f120], r14d
jne 0x14001d974
mov ecx, dword [0x1401d0cc4]
neg ecx
sbb edx, edx
add edx, 0x1208
or edx, 0xe0030000
mov dword [0x14019f120], edx
test r15d, r15d
sete r14b
mov eax, r14d
jmp 0x14001d982
xor eax, eax
mov rcx, qword [rbp + 0x1190]
xor rcx, rsp
call fcn.1400b2a30
lea r11, [rsp + 0x12d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret