Function at 0x14006bb90
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400e9070]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rcx
xor r12d, r12d
movzx eax, byte [rcx + 0x428]
test al, al
jne 0x14006bc47
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006bbee
cmp byte [0x1400ed7fd], r12b
jne 0x14006bbfa
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
lea r8, str.DownloadGlobalData::initializeFileDownload_:_not_initialized
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x38]
call qword [case.0x140049d6d.0]
xor al, al
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140079b50
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movabs r14, 0x7ffffffffffffffe
cmp byte [rcx + 0x150], 1
jne 0x14006bff1
mov byte [rcx + 0x758], 1
mov qword [rcx + 0x740], r12
mov byte [rcx + 0x2c5], 1
mov qword [rbp - 0x60], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov r8d, 4
lea rdx, str.ETag
lea rcx, [rbp - 0x60]
call fcn.140003250
nop
lea rcx, [rdi + 0x760]
lea rdx, [rbp - 0x60]
call fcn.140015570
lea rdx, [0x1400c3148]
mov rcx, rax
call fcn.140002cb0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14006bcf6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bcf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cd0f
call fcn.140079b70
movdqa xmm0, xmmword [0x1400d6740]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r12w
cmp byte [rdi + 0x151], 0
je 0x14006bfba
mov rcx, qword [rdi + 0x2e0]
mov rax, r14
sub rax, rcx
cmp rax, 0xf
jb 0x14006cd15
lea r9, [rdi + 0x2d0]
cmp qword [rdi + 0x2e8], 8
jb 0x14006bd44
mov r9, qword [rdi + 0x2d0]
mov qword [rsp + 0x30], 0xf
lea rax, str.Accept_Encoding
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.140003500
nop
mov r8d, 1
lea rdx, [0x1400cbc6c]
lea rcx, [rbp - 0x20]
call fcn.140003670
mov qword [rsp + 0x78], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r8d, 4
lea rdx, str.gzip
lea rcx, [rsp + 0x78]
call fcn.140003670
mov qword [rsp + 0x58], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r8d, 2
lea rdx, [0x1400cb3a8]
lea rcx, [rsp + 0x58]
call fcn.140003670
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rbp - 0x40]
lea rcx, [rdi + 0x2d0]
call fcn.140002a20
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14006be77
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006be72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cd1b
call fcn.140079b70
movdqa xmm0, xmmword [0x1400d6740]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r12w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14006becb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bec6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cd21
call fcn.140079b70
movdqa xmm0, xmmword [0x1400d6740]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14006bf20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bf1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cd27
call fcn.140079b70
movdqa xmm0, xmmword [0x1400d6740]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14006bf73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bf6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cd2d
call fcn.140079b70
movdqa xmm0, xmmword [0x1400d6740]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r12w
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006bf9a
cmp byte [0x1400ed7fd], 0
jne 0x14006bfa6
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
lea rdx, str.Preference:_Preference_is_set_for_adding_compression_header
mov rax, qword [rax + 0x28]
call qword [case.0x140049d6d.0]
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006bfcf
cmp byte [0x1400ed7fd], 0
jne 0x14006bfdb
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
lea rdx, str.Preference:_Client_has_set_the_preference_for_single_stream_download
mov rax, qword [rax + 0x28]
call qword [case.0x140049d6d.0]
jmp 0x14006bffe
call fcn.14006ce30
test al, al
je 0x14006bc15
cmp byte [rdi + 0x168], 1
jne 0x14006c043
mov byte [rdi + 0x2c7], 1
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c023
cmp byte [0x1400ed7fd], 0
jne 0x14006c02f
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
lea rdx, str.Preference:_Client_has_set_the_preference_for_No_Retrial_on_Specific_HTTP_Errors
mov rax, qword [rax + 0x28]
call qword [case.0x140049d6d.0]
mov ebx, dword [rdi + 0x16c]
cmp ebx, 0x3c
je 0x14006c090
test ebx, ebx
je 0x14006c090
mov dword [rdi + 0x2c8], ebx
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c06d
cmp byte [0x1400ed7fd], 0
jne 0x14006c079
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
mov r8d, ebx
lea rdx, str.Preference:_Client_has_set_the_preference_for_Max_Retrial_Value_for_Retry_After_header_handling._Val___lu
mov rax, qword [rax + 0x28]
call qword [case.0x140049d6d.0]
mov rcx, rdi
call fcn.14006f980
test al, al
je 0x14006bc15
lea rcx, [rdi + 0x198]
lea rsi, [rdi + 0x178]
mov rdx, qword [rsi + 0x10]
mov r8, qword [rcx + 0x10]
mov rax, r14
sub rax, rdx
cmp rax, r8
jb 0x14006cd33
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x14006c0d2
mov r9, qword [rsi]
cmp qword [rcx + 0x18], 8
jb 0x14006c0dc
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x20]
call fcn.140003500
nop
mov rax, qword [rbp + 0x30]
sub r14, rax
cmp r14, 5
jb 0x14006cd39
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae r9, qword [rbp + 0x20]
mov qword [rsp + 0x30], 5
lea rcx, str..aamd
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x50]
call fcn.140003500
nop
mov byte [rdi + 0x429], 0
cmp byte [rdi + 0x2c0], 0
je 0x14006c1aa
movzx eax, byte [rdi + 0x2c5]
test al, al
jne 0x14006c1aa
lea rbx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rbx, qword [rbp + 0x50]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14006c574
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c187
cmp byte [0x1400ed7fd], 0
jne 0x14006c193
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
mov r8, rbx
lea rdx, str.File_does_not_exist_at__s
mov rax, qword [rax + 8]
call qword [case.0x140049d6d.0]
xor r14b, r14b
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov ecx, 0x60
call fcn.140079b80
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x40], rax
test r14b, r14b
je 0x14006c49f
lea rbx, [rdi + 0x508]
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400679c0
test al, al
jne 0x14006c293
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c20c
cmp byte [0x1400ed7fd], al
jne 0x14006c218
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
lea r8, str.failed_to_init_aamd_file_in_write_mode.
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x38]
call qword [case.0x140049d6d.0]
xor r14b, r14b
cmp byte [rbx], r14b
je 0x14006c243
mov rcx, rbx
call fcn.140067df0
cmp qword [rbx + 0x128], 0
je 0x14006c293
lea rcx, [rbx + 0x118]
cmp qword [rcx + 0x18], 8
jb 0x14006c25e
mov rcx, qword [rcx]
lea rdx, [rsp + 0x44]
call fcn.1400610c0
test al, al
jne 0x14006c293
mov dword [rbx + 0x138], 1
mov eax, dword [rsp + 0x44]
mov dword [rbx + 0x13c], eax
lea rcx, [rbx + 0x148]
lea rdx, str.Failed_to_delete_the_file_meta_file.
call fcn.140002cb0
mov rcx, rbx
call fcn.140067b10
test al, al
jne 0x14006c33e
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c2b7
cmp byte [0x1400ed7fd], al
jne 0x14006c2c3
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
lea r8, str.aamd_file_is_not_valid._And_download_should_begin_from_beginning.
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x38]
call qword [case.0x140049d6d.0]
xor r14b, r14b
cmp byte [rbx], r14b
je 0x14006c2ee
mov rcx, rbx
call fcn.140067df0
cmp qword [rbx + 0x128], 0
je 0x14006c33e
lea rcx, [rbx + 0x118]
cmp qword [rcx + 0x18], 8
jb 0x14006c309
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call fcn.1400610c0
test al, al
jne 0x14006c33e
mov dword [rbx + 0x138], 1
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x13c], eax
lea rcx, [rbx + 0x148]
lea rdx, str.Failed_to_delete_the_file_meta_file.
call fcn.140002cb0
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.140068460
test al, al
jne 0x14006c3ed
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c366
cmp byte [0x1400ed7fd], al
jne 0x14006c372
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
lea r8, str.Failed_to_get_the_headers_from_the_aamd_file.
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x38]
call qword [case.0x140049d6d.0]
xor r14b, r14b
cmp byte [rbx], r14b
je 0x14006c39d
mov rcx, rbx
call fcn.140067df0
cmp qword [rbx + 0x128], 0
je 0x14006c3ed
lea rcx, [rbx + 0x118]
cmp qword [rcx + 0x18], 8
jb 0x14006c3b8
mov rcx, qword [rcx]
lea rdx, [rsp + 0x4c]
call fcn.1400610c0
test al, al
jne 0x14006c3ed
mov dword [rbx + 0x138], 1
mov eax, dword [rsp + 0x4c]
mov dword [rbx + 0x13c], eax
lea rcx, [rbx + 0x148]
lea rdx, str.Failed_to_delete_the_file_meta_file.
call fcn.140002cb0
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.14006e9f0
test al, al
jne 0x14006c49c
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c415
cmp byte [0x1400ed7fd], al
jne 0x14006c421
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
lea r8, str.Headers_are_invalid_in_AAMD_file._The_download_would_resume_from_start_now.
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x38]
call qword [case.0x140049d6d.0]
xor r14b, r14b
cmp byte [rbx], r14b
je 0x14006c44c
mov rcx, rbx
call fcn.140067df0
cmp qword [rbx + 0x128], 0
je 0x14006c49c
lea rcx, [rbx + 0x118]
cmp qword [rcx + 0x18], 8
jb 0x14006c467
mov rcx, qword [rcx]
lea rdx, [rsp + 0x50]
call fcn.1400610c0
test al, al
jne 0x14006c49c
mov dword [rbx + 0x138], 1
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0x13c], eax
lea rcx, [rbx + 0x148]
lea rdx, str.Failed_to_delete_the_file_meta_file.
call fcn.140002cb0
test r14b, r14b
sete al
mov byte [rdi + 0x2c6], al
test r14b, r14b
jne 0x14006cab4
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14006c4be
mov rcx, qword [rsi]
call fcn.1400611c0
test al, al
jne 0x14006c5a2
cmp qword [rdi + 0x188], 0
je 0x14006c5a2
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14006c4e6
mov rdx, qword [rsi]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x14006c59b
cmp eax, 0xb7
je 0x14006c59b
cmp eax, 0x50
je 0x14006c59b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rdi + 0x4c0]
mov r9, rsi
mov edx, eax
call fcn.1400695d0
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c539
cmp byte [0x1400ed7fd], 0
jne 0x14006c545
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
cmp qword [rsi + 0x18], 8
jb 0x14006c54f
mov rsi, qword [rsi]
mov rax, qword [rcx]
mov r9, rsi
lea r8, str.failed_to_create_a_dir____s_on_local_disk.
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x48]
call qword [case.0x140049d6d.0]
xor bl, bl
jmp 0x14006cc65
lea rbx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rbx, qword [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14006c172
mov r14b, 1
jmp 0x14006c1ad
mov byte [rdi + 0x429], 1
lea rbx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rbx, qword [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14006c781
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c5d5
cmp byte [0x1400ed7fd], al
jne 0x14006c5e1
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
mov r8, rbx
lea rdx, str.File_does_not_exist_at__s
mov rax, qword [rax + 8]
call qword [case.0x140049d6d.0]
mov r13d, r12d
mov r15d, r12d
jmp 0x14006c603
xor r12d, r12d
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r14, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae r14, qword [rbp + 0x20]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x14006c774
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov dword [rsp + 0x40], eax
mov rsi, qword [0x1400ed828]
test rsi, rsi
je 0x14006c670
cmp byte [0x1400ed7fd], 0
jne 0x14006c67c
call fcn.14005c3a0
mov rsi, qword [0x1400ed828]
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, r14
lea r8, str.Failed_to_create_a_file_at__s._Error___d_
lea rdx, [0x1400c3148]
mov rcx, rsi
mov rax, qword [rbx + 0x48]
call qword [case.0x140049d6d.0]
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c6bc
cmp byte [0x1400ed7fd], 0
jne 0x14006c6c8
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae r9, qword [rbp + 0x20]
inc r13d
mov rax, qword [rcx]
mov dword [rsp + 0x20], r13d
lea r8, str.Failed_to_create_a_file_on_local_disk_at__s._Try_count:__d.
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x38]
call qword [case.0x140049d6d.0]
add r15d, 0x1f4
cmp r15d, 0x5dc
jl 0x14006c600
lea r8, [rdi + 0x4c0]
lea r9, [rbp + 0x20]
mov edx, r12d
call fcn.1400695d0
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c735
cmp byte [0x1400ed7fd], 0
jne 0x14006c741
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae r9, qword [rbp + 0x20]
mov rax, qword [rcx]
lea r8, str.failed_to_create_a_file_on_local_disk_at__s.
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x48]
call qword [case.0x140049d6d.0]
xor r12d, r12d
xor bl, bl
jmp 0x14006cc65
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14006c783
xor al, al
mov rcx, rdi
mov byte [rcx + 0x42a], al
mov ebx, 0x1f4
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rcx, qword [rbp + 0x20]
mov r8, qword [rdi + 0x750]
lea rdx, [rsp + 0x40]
call fcn.140060ef0
test al, al
jne 0x14006c857
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0x1f4
cmp ebx, 0x9c4
jl 0x14006c791
lea r8, [rdi + 0x4c0]
lea r9, [rbp + 0x20]
mov edx, dword [rsp + 0x40]
call fcn.1400695d0
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rcx, qword [rbp + 0x20]
lea rdx, [rsp + 0x40]
call fcn.1400610c0
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c80f
cmp byte [0x1400ed7fd], 0
jne 0x14006c81b
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae r9, qword [rbp + 0x20]
mov rax, qword [rcx]
mov rdx, qword [rdi + 0x750]
mov qword [rsp + 0x20], rdx
lea r8, str.failed_to_extend_the_file_size_of__s_upto__llu.
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x48]
call qword [case.0x140049d6d.0]
xor bl, bl
jmp 0x14006cc65
movzx eax, byte [rdi + 0x2c5]
test al, al
jne 0x14006cab4
cmp byte [rdi + 0x2c0], al
je 0x14006cab4
lea rsi, [rdi + 0x508]
cmp byte [rsi], al
je 0x14006c885
mov rcx, rsi
call fcn.140067df0
cmp qword [rsi + 0x128], 0
je 0x14006c8d5
lea rcx, [rsi + 0x118]
cmp qword [rcx + 0x18], 8
jb 0x14006c8a0
mov rcx, qword [rcx]
lea rdx, [rsp + 0x54]
call fcn.1400610c0
test al, al
jne 0x14006c8d5
mov dword [rsi + 0x138], 1
mov eax, dword [rsp + 0x54]
mov dword [rsi + 0x13c], eax
lea rcx, [rsi + 0x148]
lea rdx, str.Failed_to_delete_the_file_meta_file.
call fcn.140002cb0
lea r14, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae r14, qword [rbp + 0x50]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x14006c9b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [0x1400ed828]
test rsi, rsi
je 0x14006c932
cmp byte [0x1400ed7fd], 0
jne 0x14006c93e
call fcn.14005c3a0
mov rsi, qword [0x1400ed828]
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, r14
lea r8, str.Failed_to_create_a_file_at__s._Error___d_
lea rdx, [0x1400c3148]
mov rcx, rsi
mov rax, qword [rbx + 0x48]
call qword [case.0x140049d6d.0]
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c97e
cmp byte [0x1400ed7fd], 0
jne 0x14006c98a
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae r9, qword [rbp + 0x50]
mov rax, qword [rcx]
lea r8, str.failed_to_create_a_file___s__on_local_disk.
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x48]
call qword [case.0x140049d6d.0]
jmp 0x14006cab4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.1400679c0
test al, al
jne 0x14006c9fd
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006c9e5
cmp byte [0x1400ed7fd], al
jne 0x14006c9f1
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
lea r8, str.failed_to_init_aamd_file_in_write_mode.
jmp 0x14006caa0
mov rcx, rsi
call fcn.140067ed0
test al, al
jne 0x14006ca44
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006ca1d
cmp byte [0x1400ed7fd], al
jne 0x14006ca29
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
lea r8, str.Failed_to_write_the_meta_information_in_the_aamd_file
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x48]
call qword [case.0x140049d6d.0]
mov r8d, dword [rdi + 0x138]
xor edx, edx
mov rax, qword [rdi + 0x750]
div r8
mov rbx, rax
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.14006f390
mov r8d, ebx
lea rdx, [rbp + 0x40]
mov rcx, rsi
call fcn.140068100
test al, al
jne 0x14006cab4
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006ca8d
cmp byte [0x1400ed7fd], al
jne 0x14006ca99
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
lea r8, str.Failed_to_write_the_aamd_headers_in_the_file
mov rax, qword [rcx]
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x48]
call qword [case.0x140049d6d.0]
lea rdx, [rbp + 0x20]
lea rcx, [rbp]
call fcn.140004480
lea rcx, [rdi + 0x318]
mov rdx, rax
call fcn.1400625a0
test al, al
jne 0x14006cbfb
mov eax, dword [rdi + 0x358]
mov dword [rbp + 0x70], eax
mov eax, dword [rdi + 0x35c]
mov dword [rbp + 0x74], eax
mov eax, dword [rdi + 0x360]
mov dword [rbp + 0x78], eax
lea rdx, [rdi + 0x368]
lea rcx, [rbp + 0x80]
call fcn.140004480
movups xmm0, xmmword [rdi + 0x388]
movaps xmmword [rbp + 0xa0], xmm0
lea rcx, [rdi + 0x440]
lea rdx, [rbp + 0x70]
call fcn.140069100
mov eax, dword [rdi + 0x458]
mov dword [rdi + 0x4c0], eax
mov eax, dword [rdi + 0x45c]
mov dword [rdi + 0x4c4], eax
lea rdx, [rdi + 0x460]
lea rcx, [rdi + 0x4c8]
call fcn.140003b80
mov eax, dword [rdi + 0x480]
mov dword [rdi + 0x4e8], eax
movzx eax, byte [rdi + 0x484]
mov byte [rdi + 0x4ec], al
mov eax, dword [rdi + 0x488]
mov dword [rdi + 0x4f0], eax
mov rcx, qword [0x1400ed828]
test rcx, rcx
je 0x14006cb89
cmp byte [0x1400ed7fd], 0
jne 0x14006cb95
call fcn.14005c3a0
mov rcx, qword [0x1400ed828]
mov rax, qword [rcx]
lea r8, str.failed_to_init_the_file_handle_for_the_output_file
lea rdx, [0x1400c3148]
mov rax, qword [rax + 0x48]
call qword [case.0x140049d6d.0]
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x14006cbf7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cbf2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cd3f
call fcn.140079b70
xor bl, bl
jmp 0x14006cc65
mov qword [rdi + 0x4b0], r12
mov dword [rdi + 0x4b8], r12d
mov dword [rdi + 0x4bc], 3
mov rsi, qword [rdi + 0x490]
mov rbx, qword [rsi + 8]
cmp byte [rbx + 0x19], 0
jne 0x14006cc51
mov r8, qword [rbx + 0x10]
lea rdx, [rdi + 0x490]
lea rcx, [rdi + 0x490]
call fcn.140069a00
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.140079b70
cmp byte [rbx + 0x19], 0
je 0x14006cc24
mov qword [rsi + 8], rsi
mov qword [rsi], rsi
mov qword [rsi + 0x10], rsi
mov qword [rdi + 0x498], r12
mov bl, 1
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.1400082a0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x14006ccb3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ccae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cd45
call fcn.140079b70
movdqa xmm0, xmmword [0x1400d6740]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r12w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14006cd01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ccfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cd09
call fcn.140079b70
movzx eax, bl
jmp 0x14006bc17
call fcn.140080d34
int3
call fcn.140080d34
int3
call fcn.1400015a0
nop
call fcn.140080d34
nop
call fcn.140080d34
nop
call fcn.140080d34
nop
call fcn.140080d34
int3
call fcn.1400015a0
nop
call fcn.1400015a0
nop
call fcn.140080d34
nop
call fcn.140080d34
int3