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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c5cea
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c0
mov eax, dword [0x7ca00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x2d8], 0
jne 0x626dc7
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x626d7f
cmp byte [0x7eba08], 0
jne 0x626d8a
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.DownloadGlobalData::initializeFileDownload_:_not_initialized
push 0x701e7c
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [edi + 0xe0], 1
jne 0x627062
push 4
xor eax, eax
mov byte [edi + 0x500], 1
mov dword [edi + 0x4e8], 0
lea ecx, [ebp - 0x11c]
mov dword [edi + 0x4ec], 0
push str.ETag
mov byte [edi + 0x1f5], 1
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 7
mov word [ebp - 0x11c], ax
call fcn.00428800
lea eax, [ebp - 0x11c]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x508]
call fcn.004390d0
push 0
push 0x701e7c
mov ecx, eax
call fcn.00428800
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.00428770
cmp byte [edi + 0xe1], 0
je 0x62702a
lea esi, [edi + 0x1fc]
push str.Accept_Encoding
mov edx, esi
lea ecx, [ebp - 0x1d0]
call fcn.004327a0
add esp, 4
push 1
push 0x7022b0
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00428920
mov dword [ebp - 0x13c], 0
xor ecx, ecx
mov dword [ebp - 0x138], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x14c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x13c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 4
push str.gzip
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 2
call fcn.00428920
mov dword [ebp - 0x124], 0
xor ecx, ecx
mov dword [ebp - 0x120], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x134], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x124], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 2
push 0x72365c
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 3
call fcn.00428920
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1b8], xmm0
movups xmmword [ebp - 0x104], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x104]
movq qword [ebp - 0xd8], xmm0
movq qword [ebp - 0xf4], xmm0
cmp esi, eax
je 0x626fc1
mov ecx, esi
call fcn.00428770
movups xmm0, xmmword [ebp - 0x1b8]
xor eax, eax
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
movups xmmword [esi], xmm0
mov word [ebp - 0x104], ax
movq xmm0, qword [ebp - 0xd8]
movq qword [esi + 0x10], xmm0
lea ecx, [ebp - 0x104]
call fcn.00428770
lea ecx, [ebp - 0x134]
call fcn.00428770
lea ecx, [ebp - 0x14c]
call fcn.00428770
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 4], 0xffffffff
call fcn.00428770
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x627007
cmp byte [0x7eba08], 0
jne 0x627012
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.Preference:_Preference_is_set_for_adding_compression_header
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 8
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x62703d
cmp byte [0x7eba08], 0
jne 0x627048
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.Preference:_Client_has_set_the_preference_for_single_stream_download
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 8
jmp 0x62706f
call fcn.00627f50
test al, al
je 0x626da7
cmp byte [edi + 0xec], 1
jne 0x6270b5
mov ecx, dword [0x7eba0c]
mov byte [edi + 0x1f7], 1
test ecx, ecx
je 0x627092
cmp byte [0x7eba08], 0
jne 0x62709d
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.Preference:_Client_has_set_the_preference_for_No_Retrial_on_Specific_HTTP_Errors
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 8
mov esi, dword [edi + 0xf0]
cmp esi, 0x3c
je 0x627101
test esi, esi
je 0x627101
mov ecx, dword [0x7eba0c]
mov dword [edi + 0x1f8], esi
test ecx, ecx
je 0x6270dd
cmp byte [0x7eba08], 0
jne 0x6270e8
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push esi
push str.Preference:_Client_has_set_the_preference_for_Max_Retrial_Value_for_Retry_After_header_handling._Val___lu
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
mov ecx, edi
call fcn.00629cc0
test al, al
je 0x626da7
lea ecx, [edi + 0xf8]
lea eax, [edi + 0x110]
mov dword [ebp - 0xdc], ecx
mov edx, ecx
lea ecx, [ebp - 0x34]
push eax
call fcn.0043b6a0
add esp, 4
push str..aamd
lea edx, [ebp - 0x34]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.004327a0
add esp, 4
mov byte [ebp - 4], 5
cmp byte [edi + 0x1f0], 0
mov byte [edi + 0x2d9], 0
je 0x6271b8
cmp byte [edi + 0x1f5], 0
jne 0x6271b8
cmp dword [ebp - 0x50], 8
lea esi, [ebp - 0x64]
cmovae esi, dword [ebp - 0x64]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x627265
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x627194
cmp byte [0x7eba08], 0
jne 0x62719f
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push esi
push str.File_does_not_exist_at__s
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
mov byte [ebp - 0xc1], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0x40
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0063de82
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
mov al, byte [ebp - 0xc1]
mov byte [ebp - 4], 6
test al, al
je 0x6275a1
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [edi + 0x374]
call fcn.006242a0
test al, al
jne 0x62728b
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x627227
cmp byte [0x7eba08], al
jne 0x627232
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.failed_to_init_aamd_file_in_write_mode.
push 0x701e7c
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
mov byte [ebp - 0xc1], 0
lea esi, [edi + 0x374]
mov ecx, esi
call fcn.006245c0
jmp 0x627291
cmp dword [ebp - 0x20], 8
lea esi, [ebp - 0x34]
cmovae esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x627181
mov byte [ebp - 0xc1], 1
jmp 0x6271bf
lea esi, [edi + 0x374]
mov ecx, esi
call fcn.00624390
test al, al
jne 0x6272e8
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x6272ae
cmp byte [0x7eba08], al
jne 0x6272b9
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.aamd_file_is_not_valid._And_download_should_begin_from_beginning.
push 0x701e7c
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
mov byte [ebp - 0xc1], 0
lea ecx, [edi + 0x374]
call fcn.006245c0
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
xor eax, eax
movlpd qword [ebp - 0xe8], xmm0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
sub esp, 8
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe8]
lea ecx, [edi + 0x378]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.006204c0
test al, al
jne 0x6273ba
mov eax, dword [edi + 0x39c]
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x178], eax
mov eax, dword [edi + 0x3a0]
mov dword [ebp - 0x174], eax
mov eax, dword [edi + 0x3a4]
mov dword [ebp - 0x170], eax
lea eax, [edi + 0x3a8]
push eax
call fcn.00428650
mov eax, dword [edi + 0x3c0]
lea ecx, [edi + 0x440]
mov dword [ebp - 0x154], eax
mov eax, dword [edi + 0x3c4]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x178]
push eax
call fcn.0061d810
lea ecx, [ebp - 0x16c]
call fcn.00428770
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 6
call fcn.00428770
jmp 0x6274f1
cmp dword [ebp - 0xe4], 0
xorps xmm0, xmm0
mov esi, dword [ebp - 0xc8]
movlpd qword [ebp - 0xd8], xmm0
jb 0x6274aa
mov edx, dword [ebp - 0xe8]
ja 0x6273e8
test edx, edx
je 0x6274aa
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd8]
cmp byte [eax + esi], 0x3c
je 0x627417
add eax, 1
adc ecx, 0
cmp ecx, dword [ebp - 0xe4]
jb 0x6273f4
ja 0x6274aa
cmp eax, edx
jb 0x6273f4
jmp 0x6274aa
lea edx, [eax + esi]
mov dword [ebp - 0x6c], 0
mov ecx, edx
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
lea eax, [ecx + 1]
mov dword [ebp - 0xd4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x627437
sub ecx, dword [ebp - 0xd4]
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.00428b60
lea edx, [ebp - 0x94]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
call fcn.0060f250
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x627498
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x62748e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x627e95
push edx
push ecx
call fcn.0063e103
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
push esi
call fcn.0063e134
add esp, 4
mov eax, 0x8123
test esi, esi
cmovne esi, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0xc8], esi
push eax
call fcn.00624900
lea ecx, [ebp - 0x94]
mov byte [ebp - 0xc9], al
mov byte [ebp - 4], 6
call fcn.00428770
cmp byte [ebp - 0xc9], 0
jne 0x62753e
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x627504
cmp byte [0x7eba08], 0
jne 0x62750f
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.Failed_to_get_the_headers_from_the_aamd_file.
push 0x701e7c
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
mov byte [ebp - 0xc1], 0
lea ecx, [edi + 0x374]
call fcn.006245c0
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.006293e0
test al, al
jne 0x627599
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x62755f
cmp byte [0x7eba08], al
jne 0x62756a
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.Headers_are_invalid_in_AAMD_file._The_download_would_resume_from_start_now.
push 0x701e7c
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
mov byte [ebp - 0xc1], 0
lea ecx, [edi + 0x374]
call fcn.006245c0
mov al, byte [ebp - 0xc1]
test al, al
sete al
cmp byte [ebp - 0xc1], 0
mov byte [edi + 0x1f6], al
jne 0x627ca6
cmp dword [edi + 0x10c], 8
lea esi, [edi + 0xf8]
mov ecx, esi
jb 0x6275ca
mov ecx, dword [esi]
call fcn.0061f190
test al, al
jne 0x627667
cmp dword [edi + 0x108], 0
je 0x627667
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x6275ee
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x627660
cmp eax, 0xb7
je 0x627660
cmp eax, 0x50
je 0x627660
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push esi
lea ecx, [edi + 0x340]
push ecx
push eax
call fcn.006253d0
mov eax, dword [0x7eba0c]
test eax, eax
je 0x62762f
cmp byte [0x7eba08], 0
jne 0x627639
call fcn.0061b120
mov eax, dword [0x7eba0c]
cmp dword [esi + 0x14], 8
jb 0x627647
mov esi, dword [esi]
mov dword [ebp - 0xdc], esi
mov ecx, dword [ebp - 0xdc]
mov esi, dword [eax]
push ecx
push str.failed_to_create_a_dir____s_on_local_disk.
push 0x701e7c
push eax
jmp 0x62782b
mov byte [edi + 0x2d9], 1
cmp dword [ebp - 0x20], 8
lea esi, [ebp - 0x34]
cmovae esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x627852
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x627693
cmp byte [0x7eba08], al
jne 0x62769e
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push esi
push str.File_does_not_exist_at__s
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
mov dword [ebp - 0xc8], 0
xor eax, eax
mov dword [ebp - 0xd4], eax
nop dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0
cmovae eax, dword [ebp - 0x34]
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
mov dword [ebp - 0xe4], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
jne 0x627847
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0xec], eax
mov eax, dword [0x7eba0c]
mov dword [ebp - 0xdc], eax
test eax, eax
je 0x62772e
cmp byte [0x7eba08], 0
jne 0x62773e
call fcn.0061b120
mov eax, dword [0x7eba0c]
mov dword [ebp - 0xdc], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [esi + 0x24]
mov ecx, esi
push eax
push dword [ebp - 0xe4]
push str.Failed_to_create_a_file_at__s._Error___d_
push 0x701e7c
push dword [ebp - 0xdc]
call dword [0x6ef350]
call esi
mov ecx, dword [0x7eba0c]
add esp, 0x14
test ecx, ecx
je 0x627780
cmp byte [0x7eba08], 0
jne 0x62778b
call fcn.0061b120
mov ecx, dword [0x7eba0c]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0xc8]
cmovae eax, dword [ebp - 0x34]
inc edx
mov esi, dword [ecx]
push edx
push eax
push str.Failed_to_create_a_file_on_local_disk_at__s._Try_count:__d.
mov esi, dword [esi + 0x1c]
push 0x701e7c
push ecx
mov ecx, esi
mov dword [ebp - 0xc8], edx
call dword [0x6ef350]
call esi
mov eax, dword [ebp - 0xd4]
add esp, 0x14
add eax, 0x1f4
mov dword [ebp - 0xd4], eax
cmp eax, 0x5dc
jl 0x6276d0
lea eax, [ebp - 0x34]
push eax
lea eax, [edi + 0x340]
push eax
push dword [ebp - 0xec]
call fcn.006253d0
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x627807
cmp byte [0x7eba08], 0
jne 0x627812
call fcn.0061b120
mov ecx, dword [0x7eba0c]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x34]
push eax
push str.failed_to_create_a_file_on_local_disk_at__s.
push 0x701e7c
push ecx
mov esi, dword [esi + 0x24]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x10
mov byte [ebp - 0xc1], 0
jmp 0x627e5c
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
jmp 0x627854
xor al, al
mov byte [edi + 0x2da], al
mov esi, 0x1f4
nop
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0xec]
cmovae ecx, dword [ebp - 0x34]
push ecx
push dword [edi + 0x4fc]
push dword [edi + 0x4f8]
call fcn.0061ef40
add esp, 0xc
test al, al
jne 0x62792e
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
add esi, 0x1f4
cmp esi, 0x9c4
jl 0x627860
lea eax, [ebp - 0x34]
push eax
lea eax, [edi + 0x340]
push eax
push dword [ebp - 0xec]
call fcn.006253d0
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0xec]
cmovae ecx, dword [ebp - 0x34]
call fcn.0061f0d0
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x6278e2
cmp byte [0x7eba08], 0
jne 0x6278ed
call fcn.0061b120
mov ecx, dword [0x7eba0c]
push dword [edi + 0x4fc]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push dword [edi + 0x4f8]
cmovae eax, dword [ebp - 0x34]
mov esi, dword [ecx]
push eax
push str.failed_to_extend_the_file_size_of__s_upto__llu.
push 0x701e7c
mov esi, dword [esi + 0x24]
push ecx
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x18
mov byte [ebp - 0xc1], 0
jmp 0x627e5c
cmp byte [edi + 0x1f5], 0
jne 0x627ca6
cmp byte [edi + 0x1f0], 0
je 0x627ca6
lea esi, [edi + 0x374]
mov ecx, esi
call fcn.006245c0
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 0
cmovae eax, dword [ebp - 0x64]
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
mov dword [ebp - 0xe4], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
jne 0x627a31
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov eax, dword [0x7eba0c]
mov dword [ebp - 0xd4], eax
test eax, eax
je 0x6279a6
cmp byte [0x7eba08], 0
jne 0x6279b6
call fcn.0061b120
mov eax, dword [0x7eba0c]
mov dword [ebp - 0xd4], eax
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [esi + 0x24]
mov ecx, esi
push eax
push dword [ebp - 0xe4]
push str.Failed_to_create_a_file_at__s._Error___d_
push 0x701e7c
push dword [ebp - 0xd4]
call dword [0x6ef350]
call esi
mov ecx, dword [0x7eba0c]
add esp, 0x14
test ecx, ecx
je 0x6279f8
cmp byte [0x7eba08], 0
jne 0x627a03
call fcn.0061b120
mov ecx, dword [0x7eba0c]
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x64]
push eax
push str.failed_to_create_a_file___s__on_local_disk.
mov esi, dword [esi + 0x24]
push 0x701e7c
push ecx
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x10
jmp 0x627ca6
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.006242a0
test al, al
jne 0x627a6e
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x627a59
cmp byte [0x7eba08], al
jne 0x627a64
call fcn.0061b120
mov ecx, dword [0x7eba0c]
push str.failed_to_init_aamd_file_in_write_mode.
jmp 0x627c8e
cmp byte [esi], 0
jne 0x627ab3
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x627a86
cmp byte [0x7eba08], 0
jne 0x627a91
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.writeAAMDMetaInfoString:_unintialized._Invalid_params
push 0x701e7c
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
jmp 0x627bf7
push 0x1c
call fcn.0063e329
add esp, 4
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
push 0xf
push str.Adobe_Download_
call fcn.00428b60
push 3
push 0x781884
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00439a20
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
push 0x72aa48
push 0x1c
push dword [ebp - 0xc8]
call fcn.0043b7d0
add esp, 0x10
mov byte [ebp - 0xc1], 1
lea ecx, [esi + 4]
push eax
push dword [ebp - 0xc8]
push 0
push 0
call fcn.006200e0
test al, al
jne 0x627b96
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x1a4], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x1a0], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x19c], eax
lea eax, [esi + 0x34]
push eax
call fcn.00428650
mov eax, dword [esi + 0x4c]
lea ecx, [esi + 0xcc]
mov dword [ebp - 0x180], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.0061d810
lea ecx, [ebp - 0x198]
call fcn.00428770
mov byte [ebp - 0xc1], 0
push dword [ebp - 0xc8]
call fcn.0063e134
mov byte [ebp - 4], 6
add esp, 4
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x627bdc
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x627bd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x627e9a
push edx
push ecx
call fcn.0063e103
add esp, 8
cmp byte [ebp - 0xc1], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
jne 0x627c32
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x627c0a
cmp byte [0x7eba08], 0
jne 0x627c15
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.Failed_to_write_the_meta_information_in_the_aamd_file
push 0x701e7c
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
push 0
push dword [edi + 0xc8]
push dword [edi + 0x4fc]
push dword [edi + 0x4f8]
call fcn.00691230
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x1c]
push eax
call fcn.00629960
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x374]
call fcn.00624680
test al, al
jne 0x627ca6
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x627c7e
cmp byte [0x7eba08], al
jne 0x627c89
call fcn.0061b120
mov ecx, dword [0x7eba0c]
push str.Failed_to_write_the_aamd_headers_in_the_file
mov eax, dword [ecx]
push 0x701e7c
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.00428650
push ecx
lea ecx, [edi + 0x228]
call fcn.0061ffb0
test al, al
jne 0x627ddd
mov eax, dword [edi + 0x24c]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 0x250]
mov dword [ebp - 0xbc], eax
mov eax, dword [edi + 0x254]
mov dword [ebp - 0xb8], eax
lea eax, [edi + 0x258]
push eax
call fcn.00428650
mov eax, dword [edi + 0x270]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 0x274]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x2e4]
call fcn.00624f70
mov eax, dword [edi + 0x2f0]
lea ecx, [edi + 0x348]
mov dword [edi + 0x340], eax
mov eax, dword [edi + 0x2f4]
mov dword [edi + 0x344], eax
lea eax, [edi + 0x2f8]
cmp ecx, eax
je 0x627d67
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x627d5e
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00428800
mov eax, dword [edi + 0x310]
mov ecx, dword [0x7eba0c]
mov dword [edi + 0x360], eax
mov al, byte [edi + 0x314]
mov byte [edi + 0x364], al
mov eax, dword [edi + 0x318]
mov dword [edi + 0x368], eax
test ecx, ecx
je 0x627d9e
cmp byte [0x7eba08], 0
jne 0x627da9
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.failed_to_init_the_file_handle_for_the_output_file
push 0x701e7c
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
lea ecx, [ebp - 0xb4]
call fcn.00428770
mov byte [ebp - 0xc1], 0
jmp 0x627e5c
mov dword [edi + 0x330], 0
mov dword [edi + 0x334], 0
mov dword [edi + 0x338], 0
mov dword [edi + 0x33c], 3
add edi, 0x31c
mov eax, dword [edi]
mov dword [ebp - 0xe4], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x627e46
nop dword [eax]
push dword [esi + 8]
mov ecx, edi
push edi
call fcn.00523b40
mov eax, esi
mov esi, dword [esi]
push 0x18
push eax
call fcn.0063e103
add esp, 8
cmp byte [esi + 0xd], 0
je 0x627e20
mov eax, dword [ebp - 0xe4]
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], eax
mov dword [edi + 4], 0
mov byte [ebp - 0xc1], 1
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.0043a420
push 0x40
push dword [ebp - 0x1c]
call fcn.0063e103
add esp, 8
lea ecx, [ebp - 0x64]
call fcn.00428770
lea ecx, [ebp - 0x34]
call fcn.00428770
mov al, byte [ebp - 0xc1]
jmp 0x626da9
call fcn.006534c5
call fcn.006534c5
int3