Function at 0x1019c1c0
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 0x1023fb9f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c0
mov eax, dword [0x102e91c0]
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 0x1019c267
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019c21f
cmp byte [0x102eec26], 0
jne 0x1019c22a
call fcn.1018f140
mov ecx, dword [0x102eec4c]
mov eax, dword [ecx]
push str.DownloadGlobalData::initializeFileDownload_:_not_initialized
push 0x1025b044
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x1024852c]
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.101cff65
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [edi + 0xe0], 1
jne 0x1019c47a
push 4
mov byte [edi + 0x500], 1
lea ecx, [ebp - 0x114]
mov dword [edi + 0x4e8], 0
mov dword [edi + 0x4ec], 0
push str.ETag
mov byte [edi + 0x1f5], 1
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
call fcn.1000aef0
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x508]
call fcn.1000fbe0
push 0
push 0x1025b044
mov ecx, eax
call fcn.10010360
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], 0xffffffff
call fcn.1000ae90
cmp byte [edi + 0xe1], 0
je 0x1019c442
mov ecx, dword [edi + 0x20c]
lea esi, [edi + 0x1fc]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0xf
jb 0x1019d4d5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1019c332
mov eax, dword [esi]
push 0xf
push str.Accept_Encoding
push ecx
push eax
push ecx
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x184]
call fcn.10011120
push 0x10264c18
lea edx, [ebp - 0x184]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
call fcn.10018a00
add esp, 4
push str.gzip
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.10018a00
add esp, 4
push 0x1028d5c8
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x19c]
call fcn.10018a00
add esp, 4
mov dword [ebp - 0xc8], eax
cmp esi, eax
je 0x1019c3d9
mov ecx, esi
call fcn.1000ae90
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x19c]
call fcn.1000ae90
lea ecx, [ebp - 0x1b4]
call fcn.1000ae90
lea ecx, [ebp - 0x1cc]
call fcn.1000ae90
lea ecx, [ebp - 0x184]
mov dword [ebp - 4], 0xffffffff
call fcn.1000ae90
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019c41f
cmp byte [0x102eec26], 0
jne 0x1019c42a
call fcn.1018f140
mov ecx, dword [0x102eec4c]
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 [0x1024852c]
call esi
add esp, 8
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019c455
cmp byte [0x102eec26], 0
jne 0x1019c460
call fcn.1018f140
mov ecx, dword [0x102eec4c]
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 [0x1024852c]
call esi
add esp, 8
jmp 0x1019c487
call fcn.1019d5b0
test al, al
je 0x1019c247
cmp byte [edi + 0xec], 1
jne 0x1019c4cd
mov ecx, dword [0x102eec4c]
mov byte [edi + 0x1f7], 1
test ecx, ecx
je 0x1019c4aa
cmp byte [0x102eec26], 0
jne 0x1019c4b5
call fcn.1018f140
mov ecx, dword [0x102eec4c]
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 [0x1024852c]
call esi
add esp, 8
mov esi, dword [edi + 0xf0]
cmp esi, 0x3c
je 0x1019c519
test esi, esi
je 0x1019c519
mov ecx, dword [0x102eec4c]
mov dword [edi + 0x1f8], esi
test ecx, ecx
je 0x1019c4f5
cmp byte [0x102eec26], 0
jne 0x1019c500
call fcn.1018f140
mov ecx, dword [0x102eec4c]
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 [0x1024852c]
call esi
add esp, 0xc
mov ecx, edi
call fcn.1019f360
test al, al
je 0x1019c247
mov eax, dword [edi + 0x120]
lea edx, [edi + 0x110]
mov dword [ebp - 0xdc], eax
lea ecx, [edi + 0xf8]
mov esi, SysReAllocString
mov dword [ebp - 0xc8], ecx
mov eax, esi
sub eax, dword [ecx + 0x10]
cmp eax, dword [ebp - 0xdc]
jb 0x1019d4da
cmp dword [ecx + 0x14], 8
mov eax, ecx
jb 0x1019c566
mov eax, dword [ecx]
cmp dword [edx + 0x14], 8
jb 0x1019c56e
mov edx, dword [edx]
push dword [ebp - 0xdc]
push edx
push dword [ecx + 0x10]
push eax
push ecx
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x34]
call fcn.10011120
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
sub esi, ecx
cmp esi, 5
jb 0x1019d4df
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 5
cmovae eax, dword [ebp - 0x34]
push str..aamd
push ecx
push eax
push ecx
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x64]
call fcn.10011120
mov byte [ebp - 4], 5
cmp byte [edi + 0x1f0], 0
mov byte [edi + 0x2d9], 0
je 0x1019c62e
cmp byte [edi + 0x1f5], 0
jne 0x1019c62e
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 0x1019c8b3
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019c60a
cmp byte [0x102eec26], 0
jne 0x1019c615
call fcn.1018f140
mov ecx, dword [0x102eec4c]
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 [0x1024852c]
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.101cff73
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 0x1019cb88
lea eax, [ebp - 0x64]
lea esi, [edi + 0x374]
push eax
mov ecx, esi
call fcn.10198b50
test al, al
jne 0x1019c735
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019c6a3
cmp byte [0x102eec26], al
jne 0x1019c6ae
call fcn.1018f140
mov ecx, dword [0x102eec4c]
mov eax, dword [ecx]
push str.failed_to_init_aamd_file_in_write_mode.
push 0x1025b044
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x1024852c]
call esi
lea esi, [edi + 0x374]
mov byte [ebp - 0xc1], 0
add esp, 0xc
cmp byte [esi], 0
je 0x1019c6e4
mov ecx, esi
call fcn.10198ee0
cmp dword [esi + 0xc4], 0
je 0x1019c735
cmp dword [esi + 0xc8], 8
lea ecx, [esi + 0xb4]
jb 0x1019c6fe
mov ecx, dword [ecx]
lea edx, [ebp - 0xf4]
call fcn.101935d0
test al, al
jne 0x1019c735
mov eax, dword [ebp - 0xf4]
lea ecx, [esi + 0xd8]
push 0x24
push str.Failed_to_delete_the_file_meta_file.
mov dword [esi + 0xcc], 1
mov dword [esi + 0xd0], eax
call fcn.10010360
mov ecx, esi
call fcn.10198c40
test al, al
jne 0x1019c7e8
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019c756
cmp byte [0x102eec26], al
jne 0x1019c761
call fcn.1018f140
mov ecx, dword [0x102eec4c]
mov eax, dword [ecx]
push str.aamd_file_is_not_valid._And_download_should_begin_from_beginning.
push 0x1025b044
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x1024852c]
call esi
lea esi, [edi + 0x374]
mov byte [ebp - 0xc1], 0
add esp, 0xc
cmp byte [esi], 0
je 0x1019c797
mov ecx, esi
call fcn.10198ee0
cmp dword [esi + 0xc4], 0
je 0x1019c7e8
cmp dword [esi + 0xc8], 8
lea ecx, [esi + 0xb4]
jb 0x1019c7b1
mov ecx, dword [ecx]
lea edx, [ebp - 0xf8]
call fcn.101935d0
test al, al
jne 0x1019c7e8
mov eax, dword [ebp - 0xf8]
lea ecx, [esi + 0xd8]
push 0x24
push str.Failed_to_delete_the_file_meta_file.
mov dword [esi + 0xcc], 1
mov dword [esi + 0xd0], eax
call fcn.10010360
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
xor eax, eax
mov dword [ebp - 0xcc], 0
movlpd qword [ebp - 0xf0], 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 - 0xf0]
lea ecx, [esi + 4]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.10194af0
test al, al
jne 0x1019c8d9
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x140], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x13c], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x138], eax
lea eax, [esi + 0x34]
push eax
call fcn.1000fe90
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0x118], ecx
lea ecx, [esi + 0xcc]
push eax
call fcn.10191d40
lea ecx, [ebp - 0x134]
call fcn.1000ae90
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 6
call fcn.1000ae90
jmp 0x1019ca1e
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 0x1019c5f7
mov byte [ebp - 0xc1], 1
jmp 0x1019c635
cmp dword [ebp - 0xec], 0
xorps xmm0, xmm0
mov esi, dword [ebp - 0xcc]
movlpd qword [ebp - 0xe0], xmm0
jb 0x1019c9d3
ja 0x1019c906
cmp dword [ebp - 0xf0], 0
jbe 0x1019c9d3
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xe0]
cmp byte [eax + esi], 0x3c
lea edx, [eax + esi]
je 0x1019c93c
add eax, 1
adc ecx, 0
cmp ecx, dword [ebp - 0xec]
jb 0x1019c912
ja 0x1019c9d3
cmp eax, dword [ebp - 0xf0]
jb 0x1019c912
jmp 0x1019c9d3
mov ecx, edx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
lea eax, [ecx + 1]
mov dword [ebp - 0xdc], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1019c960
sub ecx, dword [ebp - 0xdc]
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.10010c60
lea edx, [ebp - 0x94]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
call fcn.101943c0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x10
jb 0x1019c9c1
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1019c9b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1019d4e4
push ecx
push edx
call fcn.101d02bd
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
push esi
call fcn.101d0625
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 - 0xcc], esi
push eax
call fcn.10199190
lea ecx, [ebp - 0x94]
mov byte [ebp - 0xd1], al
mov byte [ebp - 4], 6
call fcn.1000ae90
cmp byte [ebp - 0xd1], 0
jne 0x1019cac3
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019ca31
cmp byte [0x102eec26], 0
jne 0x1019ca3c
call fcn.1018f140
mov ecx, dword [0x102eec4c]
mov eax, dword [ecx]
push str.Failed_to_get_the_headers_from_the_aamd_file.
push 0x1025b044
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x1024852c]
call esi
lea esi, [edi + 0x374]
mov byte [ebp - 0xc1], 0
add esp, 0xc
cmp byte [esi], 0
je 0x1019ca72
mov ecx, esi
call fcn.10198ee0
cmp dword [esi + 0xc4], 0
je 0x1019cac3
cmp dword [esi + 0xc8], 8
lea ecx, [esi + 0xb4]
jb 0x1019ca8c
mov ecx, dword [ecx]
lea edx, [ebp - 0xfc]
call fcn.101935d0
test al, al
jne 0x1019cac3
mov eax, dword [ebp - 0xfc]
lea ecx, [esi + 0xd8]
push 0x24
push str.Failed_to_delete_the_file_meta_file.
mov dword [esi + 0xcc], 1
mov dword [esi + 0xd0], eax
call fcn.10010360
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.1019ea50
test al, al
jne 0x1019cb80
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019cae8
cmp byte [0x102eec26], al
jne 0x1019caf3
call fcn.1018f140
mov ecx, dword [0x102eec4c]
mov eax, dword [ecx]
push str.Headers_are_invalid_in_AAMD_file._The_download_would_resume_from_start_now.
push 0x1025b044
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x1024852c]
call esi
xor al, al
lea esi, [edi + 0x374]
add esp, 0xc
mov byte [ebp - 0xc1], al
cmp byte [esi], al
je 0x1019cb2f
mov ecx, esi
call fcn.10198ee0
mov al, byte [ebp - 0xc1]
cmp dword [esi + 0xc4], 0
je 0x1019cb86
cmp dword [esi + 0xc8], 8
lea ecx, [esi + 0xb4]
jb 0x1019cb49
mov ecx, dword [ecx]
lea edx, [ebp - 0xe8]
call fcn.101935d0
test al, al
jne 0x1019cb80
mov eax, dword [ebp - 0xe8]
lea ecx, [esi + 0xd8]
push 0x24
push str.Failed_to_delete_the_file_meta_file.
mov dword [esi + 0xcc], 1
mov dword [esi + 0xd0], eax
call fcn.10010360
mov al, byte [ebp - 0xc1]
test al, al
sete al
cmp byte [ebp - 0xc1], 0
mov byte [edi + 0x1f6], al
jne 0x1019d2e6
cmp dword [edi + 0x10c], 8
lea esi, [edi + 0xf8]
mov ecx, esi
jb 0x1019cbb1
mov ecx, dword [esi]
call fcn.10193690
test al, al
jne 0x1019cc4e
cmp dword [edi + 0x108], 0
je 0x1019cc4e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1019cbd5
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x1019cc47
cmp eax, 0xb7
je 0x1019cc47
cmp eax, 0x50
je 0x1019cc47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
lea ecx, [edi + 0x340]
push ecx
push eax
call fcn.10199c70
mov eax, dword [0x102eec4c]
test eax, eax
je 0x1019cc16
cmp byte [0x102eec26], 0
jne 0x1019cc20
call fcn.1018f140
mov eax, dword [0x102eec4c]
cmp dword [esi + 0x14], 8
jb 0x1019cc2e
mov esi, dword [esi]
mov dword [ebp - 0xc8], esi
mov ecx, dword [ebp - 0xc8]
mov esi, dword [eax]
push ecx
push str.failed_to_create_a_dir____s_on_local_disk.
push 0x1025b044
push eax
jmp 0x1019ce0b
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 0x1019ce32
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019cc7a
cmp byte [0x102eec26], al
jne 0x1019cc85
call fcn.1018f140
mov ecx, dword [0x102eec4c]
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 [0x1024852c]
call esi
add esp, 0xc
mov dword [ebp - 0xdc], 0
xor eax, eax
mov dword [ebp - 0xcc], 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 - 0xe8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1019ce27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe4], eax
mov eax, dword [0x102eec4c]
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x1019cd0e
cmp byte [0x102eec26], 0
jne 0x1019cd1e
call fcn.1018f140
mov eax, dword [0x102eec4c]
mov dword [ebp - 0xc8], 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 - 0xe8]
push str.Failed_to_create_a_file_at__s._Error___d_
push 0x1025b044
push dword [ebp - 0xc8]
call dword [0x1024852c]
call esi
mov ecx, dword [0x102eec4c]
add esp, 0x14
test ecx, ecx
je 0x1019cd60
cmp byte [0x102eec26], 0
jne 0x1019cd6b
call fcn.1018f140
mov ecx, dword [0x102eec4c]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0xdc]
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 0x1025b044
push ecx
mov ecx, esi
mov dword [ebp - 0xdc], edx
call dword [0x1024852c]
call esi
mov eax, dword [ebp - 0xcc]
add esp, 0x14
add eax, 0x1f4
mov dword [ebp - 0xcc], eax
cmp eax, 0x5dc
jl 0x1019ccb0
lea eax, [ebp - 0x34]
push eax
lea eax, [edi + 0x340]
push eax
push dword [ebp - 0xe4]
call fcn.10199c70
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019cde7
cmp byte [0x102eec26], 0
jne 0x1019cdf2
call fcn.1018f140
mov ecx, dword [0x102eec4c]
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 0x1025b044
push ecx
mov esi, dword [esi + 0x24]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x10
mov byte [ebp - 0xc1], 0
jmp 0x1019d49c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1019ce34
xor al, al
mov edx, 0x2da
mov ecx, edi
mov esi, 0x1f4
mov byte [ecx + edx], al
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0xe4]
cmovae ecx, dword [ebp - 0x34]
push ecx
push dword [edi + 0x4fc]
push dword [edi + 0x4f8]
call fcn.10193440
add esp, 0xc
test al, al
jne 0x1019cf11
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x1f4
cmp esi, 0x9c4
jl 0x1019ce43
lea eax, [ebp - 0x34]
push eax
lea eax, [edi + 0x340]
push eax
push dword [ebp - 0xe4]
call fcn.10199c70
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0xe4]
cmovae ecx, dword [ebp - 0x34]
call fcn.101935d0
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019cec5
cmp byte [0x102eec26], 0
jne 0x1019ced0
call fcn.1018f140
mov ecx, dword [0x102eec4c]
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 0x1025b044
mov esi, dword [esi + 0x24]
push ecx
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
mov byte [ebp - 0xc1], 0
jmp 0x1019d49c
cmp byte [edi + 0x1f5], 0
jne 0x1019d2e6
cmp byte [edi + 0x1f0], 0
je 0x1019d2e6
cmp byte [edi + 0x374], 0
lea esi, [edi + 0x374]
je 0x1019cf41
mov ecx, esi
call fcn.10198ee0
cmp dword [esi + 0xc4], 0
je 0x1019cf92
cmp dword [esi + 0xc8], 8
lea ecx, [esi + 0xb4]
jb 0x1019cf5b
mov ecx, dword [ecx]
lea edx, [ebp - 0xd0]
call fcn.101935d0
test al, al
jne 0x1019cf92
mov eax, dword [ebp - 0xd0]
lea ecx, [esi + 0xd8]
push 0x24
push str.Failed_to_delete_the_file_meta_file.
mov dword [esi + 0xcc], 1
mov dword [esi + 0xd0], eax
call fcn.10010360
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 - 0xd0], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1019d06e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x102eec4c]
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x1019cfe3
cmp byte [0x102eec26], 0
jne 0x1019cff3
call fcn.1018f140
mov eax, dword [0x102eec4c]
mov dword [ebp - 0xc8], 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 - 0xd0]
push str.Failed_to_create_a_file_at__s._Error___d_
push 0x1025b044
push dword [ebp - 0xc8]
call dword [0x1024852c]
call esi
mov ecx, dword [0x102eec4c]
add esp, 0x14
test ecx, ecx
je 0x1019d035
cmp byte [0x102eec26], 0
jne 0x1019d040
call fcn.1018f140
mov ecx, dword [0x102eec4c]
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 0x1025b044
push ecx
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x10
jmp 0x1019d2e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.10198b50
test al, al
jne 0x1019d0ab
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019d096
cmp byte [0x102eec26], al
jne 0x1019d0a1
call fcn.1018f140
mov ecx, dword [0x102eec4c]
push str.failed_to_init_aamd_file_in_write_mode.
jmp 0x1019d2ce
cmp byte [esi], 0
jne 0x1019d0f0
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019d0c3
cmp byte [0x102eec26], 0
jne 0x1019d0ce
call fcn.1018f140
mov ecx, dword [0x102eec4c]
mov eax, dword [ecx]
push str.writeAAMDMetaInfoString:_unintialized._Invalid_params
push 0x1025b044
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0xc
jmp 0x1019d237
push 0x1c
call fcn.101d062a
add esp, 4
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
push 0xf
push str.Adobe_Download_
call fcn.10010c60
push 3
push 0x102b2258
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.10030160
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
push 0x102b226c
push 0x1c
push dword [ebp - 0xcc]
call fcn.101202d0
add esp, 0x10
mov byte [ebp - 0xc1], 1
lea ecx, [esi + 4]
push eax
push dword [ebp - 0xcc]
push 0
push 0
call fcn.101946f0
test al, al
jne 0x1019d1d6
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x16c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x168], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x164], eax
lea eax, [esi + 0x34]
push eax
call fcn.1000fe90
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x144], ecx
lea ecx, [esi + 0xcc]
push eax
call fcn.10191d40
lea ecx, [ebp - 0x160]
call fcn.1000ae90
mov byte [ebp - 0xc1], 0
push dword [ebp - 0xcc]
call fcn.101d0625
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x1019d21c
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1019d212
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1019d4e9
push ecx
push edx
call fcn.101d02bd
add esp, 8
cmp byte [ebp - 0xc1], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
jne 0x1019d272
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019d24a
cmp byte [0x102eec26], 0
jne 0x1019d255
call fcn.1018f140
mov ecx, dword [0x102eec4c]
mov eax, dword [ecx]
push str.Failed_to_write_the_meta_information_in_the_aamd_file
push 0x1025b044
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0xc
push 0
push dword [edi + 0xc8]
push dword [edi + 0x4fc]
push dword [edi + 0x4f8]
call fcn.101d0d90
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x1c]
push eax
call fcn.1019eff0
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x374]
call fcn.10198f50
test al, al
jne 0x1019d2e6
mov ecx, dword [0x102eec4c]
test ecx, ecx
je 0x1019d2be
cmp byte [0x102eec26], al
jne 0x1019d2c9
call fcn.1018f140
mov ecx, dword [0x102eec4c]
push str.Failed_to_write_the_aamd_headers_in_the_file
mov eax, dword [ecx]
push 0x1025b044
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0xc
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.1000fe90
push ecx
lea ecx, [edi + 0x228]
call fcn.101945c0
test al, al
jne 0x1019d41d
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.1000fe90
mov eax, dword [edi + 0x270]
mov ecx, dword [edi + 0x274]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ecx
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x2e4]
call fcn.10199810
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 0x1019d3a7
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1019d39e
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10010360
mov eax, dword [edi + 0x310]
mov ecx, dword [0x102eec4c]
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 0x1019d3de
cmp byte [0x102eec26], 0
jne 0x1019d3e9
call fcn.1018f140
mov ecx, dword [0x102eec4c]
mov eax, dword [ecx]
push str.failed_to_init_the_file_handle_for_the_output_file
push 0x1025b044
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0xc
lea ecx, [ebp - 0xb4]
call fcn.1000ae90
mov byte [ebp - 0xc1], 0
jmp 0x1019d49c
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 - 0xd0], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x1019d486
nop dword [eax]
push dword [esi + 8]
mov ecx, edi
push edi
call fcn.10028a80
mov eax, esi
mov esi, dword [esi]
push 0x18
push eax
call fcn.101d02bd
add esp, 8
cmp byte [esi + 0xd], 0
je 0x1019d460
mov eax, dword [ebp - 0xd0]
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.10010e30
push 0x40
push dword [ebp - 0x1c]
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0x64]
call fcn.1000ae90
lea ecx, [ebp - 0x34]
call fcn.1000ae90
mov al, byte [ebp - 0xc1]
jmp 0x1019c249
call fcn.1000a360
call fcn.1000a360
call fcn.1000a360
call fcn.101dc0ba
call fcn.101dc0ba
int3