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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x52d4d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x494], edi
xor esi, esi
mov dword [ebp - 4], 1
push 0x5116e8
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0x475], 1
mov dword [ebp - 0x488], esi
mov dword [ebp - 0x47c], esi
call fcn.004011f0
push 0x5116e8
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 2
call fcn.004011f0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00401990
test eax, eax
je 0x414dad
lea ecx, [ebp + 0x24]
call fcn.00401990
test eax, eax
je 0x414dad
mov dword [ebp - 0x48c], esi
lea ecx, [ebp - 0x408]
call fcn.0047e850
sub esp, 0x1c
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x484], esp
push eax
call fcn.00401230
lea ecx, [ebp - 0x408]
call fcn.0047eab0
sub esp, 0x1c
lea eax, [edi + 0xd8]
mov ecx, esp
mov dword [ebp - 0x484], esp
push eax
call fcn.00401230
lea ecx, [ebp - 0x408]
call fcn.0047ea40
push 0x5116e8
lea ecx, [ebp - 0x3c]
call fcn.004011f0
push 0x5116e8
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 6
call fcn.004011f0
push 0x5116e8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.004011f0
push 0x5116e8
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 8
call fcn.004011f0
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x3c]
push edx
push edi
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 9
call fcn.00417730
cmp al, 1
jne 0x414053
sub esp, 0x1c
lea eax, [ebp - 0x114]
mov ecx, esp
mov dword [ebp - 0x484], esp
push eax
call fcn.00401230
sub esp, 0x1c
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x3c]
mov ecx, esp
mov dword [ebp - 0x490], esp
push edx
call fcn.00401230
sub esp, 0x1c
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x74]
mov ecx, esp
mov dword [ebp - 0x480], esp
push eax
call fcn.00401230
sub esp, 0x1c
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x58]
mov ecx, esp
mov dword [ebp - 0x474], esp
push edx
call fcn.00401230
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 9
call fcn.0047eb20
sub esp, 0x1c
lea eax, [edi + 0x280]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.00401230
movzx eax, byte [edi + 0x27e]
push eax
lea ecx, [ebp - 0x408]
call fcn.00405b80
lea ecx, [ebp - 0xf8]
push ecx
lea ecx, [ebp - 0x408]
call fcn.0047ec70
mov ebx, eax
test ebx, ebx
jne 0x4141ea
lea ecx, [ebp - 0xf8]
call fcn.00405e90
test al, al
jne 0x4141fb
lea edx, [ebp - 0xf8]
lea esi, [edi + 0xfc]
push edx
mov ecx, esi
call fcn.00403920
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push esi
call fcn.00401230
lea ecx, [ebp - 0x238]
call fcn.0047f2a0
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x4b0]
push ecx
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xd
call fcn.0047fc90
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xe
call fcn.00403920
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 0xd
call fcn.00401270
mov ecx, dword [ebp - 0x47c]
test ecx, ecx
je 0x4141d9
cmp byte [edi + 0x27e], 1
jne 0x4141d9
push ecx
push 0x511c0c
xor eax, eax
lea edx, [ebp - 0x20]
push 0xa
push edx
mov byte [ebp - 0x20], bl
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov byte [ebp - 0x17], al
call fcn.004a8a8a
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nDownloadURLResponse___Server_Returned_An_Error:
call fcn.004011f0
push edi
call fcn.00418790
sub esp, 0x1c
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.004011f0
push edi
call fcn.00418790
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nRequest_Sent:
call fcn.004011f0
push edi
call fcn.00418790
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x408]
mov dword [ebp - 0x474], esp
call fcn.004129a0
push edi
call fcn.00418790
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push 0x511a40
call fcn.004011f0
push edi
call fcn.00418790
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 9
call fcn.0047f490
jmp 0x4141fb
cmp ebx, 5
jne 0x4141fb
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x488], ecx
lea ecx, [ebp - 0x74]
call fcn.00401270
lea ecx, [ebp - 0x58]
call fcn.00401270
lea ecx, [ebp - 0x114]
call fcn.00401270
lea ecx, [ebp - 0x3c]
call fcn.00401270
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 3
call fcn.0047e980
cmp ebx, 5
je 0x41423f
cmp dword [ebp - 0x47c], 0
je 0x41430d
mov eax, dword [ebp - 0x48c]
mov edx, eax
inc eax
cmp edx, 5
mov dword [ebp - 0x48c], eax
jl 0x413f33
cmp dword [ebp - 0x47c], 0
je 0x41430d
push str.DownloadURLResponse___Server_Returned_An_Error:
lea ecx, [ebp - 0x3c]
call fcn.004011f0
mov byte [ebp - 4], 0xf
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x47c]
push eax
push 0x511c0c
lea ecx, [ebp - 0x20]
push 0xa
push ecx
mov byte [ebp - 0x20], 0
call fcn.004a8a8a
add esp, 0x10
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00408690
lea ecx, [ebp - 0x3c]
call fcn.00401290
push 0x1ab
push str..WinDownloadController.cpp
push eax
lea ecx, [ebp - 0xdc]
call fcn.004e3550
mov ebx, vtable.DownloadControllerException.0
mov dword [ebp - 0xdc], ebx
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x5e8]
mov byte [ebp - 0x78], 1
call fcn.00413be0
mov cl, byte [ebp - 0x78]
push 0x51b89c
lea edx, [ebp - 0x5e8]
push edx
mov dword [ebp - 0x5e8], ebx
mov byte [ebp - 0x584], cl
call fcn.004a99f9
cmp ebx, 3
jne 0x41452a
cmp byte [edi + 0x27e], 1
jne 0x41433a
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nDownloadURLRequest___Communication_Error_n
call fcn.004011f0
push edi
call fcn.00418790
cmp byte [edi + 0x29c], 1
jne 0x4145e7
push 0x5116e8
lea ecx, [ebp - 0x58]
call fcn.004011f0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
call fcn.00417d70
cmp al, 1
jne 0x4145d6
push 0x511ac4
call fcn.004010f0
add esp, 4
push eax
push 0
push 0x511ac4
lea ebx, [ebp - 0x58]
call fcn.00418c10
push eax
push 0
lea ecx, [ebp - 0x114]
push ecx
mov ecx, ebx
call fcn.00418890
mov byte [ebp - 4], 0x12
mov esi, dword [ebp - 0x44]
push 0x511ac4
call fcn.004010f0
add esp, 4
push eax
push 0
push 0x511ac4
call fcn.00418c10
push esi
inc eax
push eax
lea edx, [ebp - 0x3c]
push edx
mov ecx, ebx
call fcn.00418890
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 0x13
call fcn.0047e850
sub esp, 0x1c
mov bl, 0x14
mov byte [ebp - 4], bl
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.00401230
lea ecx, [ebp - 0x408]
call fcn.0047eab0
sub esp, 0x1c
lea eax, [edi + 0xd8]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.00401230
lea ecx, [ebp - 0x408]
call fcn.0047ea40
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push 0x5116e8
call fcn.004011f0
sub esp, 0x1c
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x480], esp
push 0x5116e8
call fcn.004011f0
sub esp, 0x1c
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x3c]
mov ecx, esp
mov dword [ebp - 0x490], esp
push edx
call fcn.00401230
sub esp, 0x1c
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x114]
mov ecx, esp
mov dword [ebp - 0x484], esp
push eax
call fcn.00401230
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], bl
call fcn.0047eb20
sub esp, 0x1c
lea eax, [edi + 0x280]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.00401230
movzx ecx, byte [edi + 0x27e]
push ecx
lea ecx, [ebp - 0x408]
call fcn.00405b80
lea edx, [ebp - 0xf8]
push edx
lea ecx, [ebp - 0x408]
call fcn.0047ec70
mov ebx, eax
test ebx, ebx
jne 0x4144ef
lea ecx, [ebp - 0xf8]
call fcn.00405e90
test al, al
jne 0x4144ef
lea eax, [ebp - 0xf8]
push eax
lea ecx, [edi + 0xfc]
call fcn.00403920
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 0x13
call fcn.0047e980
lea ecx, [ebp - 0x3c]
call fcn.00401270
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x11
call fcn.00401270
cmp ebx, 3
je 0x414358
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00401270
test ebx, ebx
jne 0x414cb7
lea esi, [edi + 0xfc]
mov ecx, esi
call fcn.00405e90
test al, al
jne 0x414cb7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push esi
call fcn.00401230
lea ecx, [ebp - 0x238]
call fcn.0047f2a0
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x140]
xor esi, esi
mov ebx, eax
test eax, eax
jle 0x414687
lea esp, [esp]
push 0x5116e8
lea ecx, [ebp - 0x74]
call fcn.004011f0
push 0x5116e8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call fcn.004011f0
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x74]
push edx
push esi
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x1a
call fcn.0047fce0
push str.Watermark
lea ecx, [ebp - 0x74]
call fcn.00404e90
test eax, eax
jne 0x41462d
lea eax, [ebp - 0x58]
push eax
lea ecx, [edi + 0x1c0]
jmp 0x414665
cmp ebx, 3
jne 0x41451e
lea ecx, [ebp - 0x58]
call fcn.00401270
lea ecx, [ebp - 0x130]
call fcn.00401270
lea ecx, [ebp - 0xf8]
call fcn.00401270
lea ecx, [ebp + 8]
call fcn.00401270
lea ecx, [ebp + 0x24]
call fcn.004012f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a58c9
mov esp, ebp
pop ebp
ret 0x38
push str.Banner
lea ecx, [ebp - 0x74]
call fcn.00404e90
test eax, eax
jne 0x41464a
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [edi + 0x1dc]
jmp 0x414665
push str.Codec
lea ecx, [ebp - 0x74]
call fcn.00404e90
test eax, eax
jne 0x41466a
lea edx, [ebp - 0x58]
push edx
lea ecx, [edi + 0x1f8]
call fcn.00403920
lea ecx, [ebp - 0x58]
call fcn.00401270
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x18
call fcn.00401270
inc esi
cmp esi, ebx
jl 0x414580
lea esi, [ebp - 0x4b0]
lea eax, [ebp - 0x238]
call fcn.004129e0
lea esi, [edi + 0x214]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1b
call fcn.00403920
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 0x18
call fcn.00401270
mov ecx, esi
call fcn.00405e90
cmp al, 1
jne 0x414723
push 0x1f0
push str..WinDownloadController.cpp
push str.One_or_more_required_resources_not_found
lea ecx, [ebp - 0xdc]
call fcn.004e3550
mov ebx, vtable.DownloadControllerException.0
mov dword [ebp - 0xdc], ebx
mov byte [ebp - 0x78], 0
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 0x1c
call fcn.00413be0
mov cl, byte [ebp - 0x78]
push 0x51b89c
lea edx, [ebp - 0x650]
push edx
mov dword [ebp - 0x650], ebx
mov byte [ebp - 0x5ec], cl
call fcn.004a99f9
lea esi, [ebp - 0x4b0]
lea eax, [ebp - 0x238]
call fcn.004129c0
lea esi, [edi + 0x16c]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1d
call fcn.00403920
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 0x18
call fcn.00401270
mov ecx, esi
call fcn.00405e90
cmp al, 1
jne 0x4147af
push 0x1f6
push str..WinDownloadController.cpp
push str.One_or_more_required_resources_not_found
lea ecx, [ebp - 0xdc]
call fcn.004e3550
mov dword [ebp - 0xdc], vtable.DownloadControllerException.0
mov byte [ebp - 0x78], 0
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x720]
mov byte [ebp - 4], 0x1e
call fcn.00413bb0
push 0x51b89c
lea ecx, [ebp - 0x720]
push ecx
call fcn.004a99f9
lea esi, [ebp - 0x4b0]
lea eax, [ebp - 0x238]
call fcn.00412a00
push eax
lea ecx, [edi + 0x1a4]
mov byte [ebp - 4], 0x1f
call fcn.00403920
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.00401270
lea esi, [ebp - 0x4b0]
lea eax, [ebp - 0x238]
call fcn.00412a20
push eax
lea ecx, [edi + 0x188]
mov byte [ebp - 4], 0x20
call fcn.00403920
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.00401270
lea edx, [ebp + 0x24]
lea ecx, [edi + 0x230]
push edx
call fcn.00404ec0
lea ecx, [ebp + 0x24]
call fcn.004032f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4148cd
lea ecx, [ebp + 0x24]
call fcn.00401990
push eax
lea ecx, [ebp + 0x24]
call fcn.004093e0
cmp word [eax], 0x5c
je 0x414851
push 0x511cfc
lea ecx, [ebp + 0x24]
call fcn.00409260
push 0
push 0x5c
lea ecx, [ebp + 0x24]
call fcn.00409410
inc eax
push eax
push 0x5c
lea ecx, [ebp + 0x24]
call fcn.00409410
mov esi, eax
cmp esi, 0xffffffff
je 0x4148cd
inc esi
push esi
lea ecx, [ebp + 0x24]
call fcn.004032f0
push eax
lea ecx, [ebp - 0x3c]
call fcn.004091b0
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x21
call fcn.004032f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x4148af
cmp eax, 0xb7
jne 0x4149c5
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x18
call fcn.004012f0
push esi
push 0x5c
lea ecx, [ebp + 0x24]
call fcn.00409410
mov esi, eax
cmp esi, 0xffffffff
jne 0x414870
lea esi, [edi + 0x1f8]
mov ecx, esi
mov byte [ebp - 4], 0x23
xor ebx, ebx
call fcn.00405e90
test al, al
jne 0x414bcd
jmp 0x4148f0
lea edx, [edi + 0x130]
push edx
sub esp, 0x1c
lea eax, [edi + 0x230]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.004032b0
sub esp, 0x1c
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x480], esp
push esi
call fcn.00401230
mov ecx, edi
mov byte [ebp - 4], 0x23
call fcn.00414e10
test al, al
jne 0x414a41
mov eax, ebx
inc ebx
cmp eax, 0xa
jle 0x414a14
cmp byte [edi + 0x27e], 1
jne 0x414966
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nRetry_exceded_downloading_Codec_n
call fcn.004011f0
push edi
call fcn.00418790
push 0x22c
push str..WinDownloadController.cpp
push str.There_was_a_problem_downloading_a_required_file
lea ecx, [ebp - 0xdc]
call fcn.004e3550
mov ebx, vtable.DownloadControllerException.0
mov dword [ebp - 0xdc], ebx
mov byte [ebp - 0x78], 0
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x6b8]
mov byte [ebp - 4], 0x25
call fcn.00413be0
mov dl, byte [ebp - 0x78]
push 0x51b89c
lea eax, [ebp - 0x6b8]
push eax
mov dword [ebp - 0x6b8], ebx
mov byte [ebp - 0x654], dl
call fcn.004a99f9
push 0x211
push str..WinDownloadController.cpp
push str.Could_not_create_resource_directory_
lea ecx, [ebp - 0xdc]
call fcn.004e3550
mov dword [ebp - 0xdc], vtable.DownloadControllerException.0
mov byte [ebp - 0x78], 0
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x788]
mov byte [ebp - 4], 0x22
call fcn.00413bb0
push 0x51b89c
lea ecx, [ebp - 0x788]
push ecx
call fcn.004a99f9
cmp byte [edi + 0x27e], 1
jne 0x4148f0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nCodec_download_failed...retrying_download_n
call fcn.004011f0
push edi
call fcn.00418790
jmp 0x4148f0
lea esi, [edi + 0x1c0]
mov ecx, esi
call fcn.00405e90
test al, al
jne 0x414aea
jmp 0x414a60
push 0x512310
lea ecx, [ebp - 0x3c]
call fcn.004012b0
lea ecx, [ebp - 0x3c]
push ecx
sub esp, 0x1c
mov byte [ebp - 4], 0x27
lea eax, [edi + 0x230]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.004032b0
sub esp, 0x1c
mov byte [ebp - 4], 0x28
mov ecx, esp
mov dword [ebp - 0x480], esp
push esi
call fcn.00401230
mov ecx, edi
mov byte [ebp - 4], 0x27
call fcn.00414e10
mov bl, al
test bl, bl
jne 0x414ad6
cmp byte [edi + 0x27e], 1
jne 0x414ad6
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nWatermark_download_failed...retrying_download_n
call fcn.004011f0
push edi
call fcn.00418790
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x23
call fcn.004012f0
test bl, bl
je 0x414a60
lea esi, [edi + 0x1dc]
mov ecx, esi
call fcn.00405e90
test al, al
jne 0x414b8a
nop
push 0x512310
lea ecx, [ebp - 0x3c]
call fcn.004012b0
lea edx, [ebp - 0x3c]
push edx
sub esp, 0x1c
mov byte [ebp - 4], 0x2a
lea eax, [edi + 0x230]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.004032b0
sub esp, 0x1c
mov byte [ebp - 4], 0x2b
mov ecx, esp
mov dword [ebp - 0x480], esp
push esi
call fcn.00401230
mov ecx, edi
mov byte [ebp - 4], 0x2a
call fcn.00414e10
mov bl, al
test bl, bl
jne 0x414b76
cmp byte [edi + 0x27e], 1
jne 0x414b76
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nBanner_download_failed...retrying_download_n
call fcn.004011f0
push edi
call fcn.00418790
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x23
call fcn.004012f0
test bl, bl
je 0x414b00
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 3
call fcn.0047f490
lea ecx, [ebp - 0x130]
call fcn.00401270
lea ecx, [ebp - 0xf8]
call fcn.00401270
lea ecx, [ebp + 8]
call fcn.00401270
lea ecx, [ebp + 0x24]
call fcn.004012f0
mov al, byte [ebp - 0x475]
jmp 0x41460f
push 0x235
push str..WinDownloadController.cpp
push str.One_or_more_required_resources_not_found
lea ecx, [ebp - 0xdc]
call fcn.004e3550
mov dword [ebp - 0xdc], vtable.DownloadControllerException.0
mov byte [ebp - 0x78], 0
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 0x26
call fcn.00413bb0
push 0x51b89c
lea ecx, [ebp - 0x858]
push ecx
call fcn.004a99f9
push str.Unable_to_download_resources._nThe_error_returned_was:
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x2e
call fcn.004011f0
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 0x2f
call fcn.00406650
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408690
lea ecx, [ebp - 0x3c]
call fcn.00401290
mov ecx, eax
mov eax, 0x26b
lea esi, [ebp - 0xdc]
call fcn.00412980
mov edi, dword [ebp - 0x494]
mov byte [ebp - 4], 0x30
cmp byte [edi + 0x27e], 1
jne 0x414c94
sub esp, 0x1c
mov esi, esp
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x474], esp
push edx
push 0x511a40
call fcn.00418ec0
add esp, 8
push edi
call fcn.00418790
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x7f0]
call fcn.00413bb0
push 0x51b89c
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.004a99f9
push str.Unable_to_get_DownloadURL_and_resources._nThe_error_returned_was:
lea ecx, [ebp - 0x74]
call fcn.004011f0
xor eax, eax
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x488]
push 0xa
mov byte [ebp - 0x20], 0
push 0xa
test eax, eax
je 0x414cf9
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.004a8ed0
add esp, 0x10
push str.HTTP_Error__
jmp 0x414d0b
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.004a8ea6
add esp, 0x10
push str.Error_number__
lea ecx, [ebp - 0x74]
call fcn.00408690
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00408690
lea ecx, [ebp - 0x74]
call fcn.00401290
push 0x27e
push str..WinDownloadController.cpp
push eax
lea ecx, [ebp - 0xdc]
call fcn.004e3550
mov ebx, vtable.DownloadControllerException.0
mov dword [ebp - 0xdc], ebx
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 0x32
cmp byte [edi + 0x27e], 1
jne 0x414d7b
sub esp, 0x1c
mov esi, esp
lea edx, [ebp - 0x74]
mov dword [ebp - 0x474], esp
push edx
push 0x511a40
call fcn.00418ec0
add esp, 8
push edi
call fcn.00418790
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x518]
call fcn.00413be0
mov cl, byte [ebp - 0x78]
push 0x51b89c
lea edx, [ebp - 0x518]
push edx
mov dword [ebp - 0x518], ebx
mov byte [ebp - 0x4b4], cl
call fcn.004a99f9
push 0x17c
push str..WinDownloadController.cpp
push str.Unable_to_get_DownloadURL_and_resources.
lea ecx, [ebp - 0xdc]
call fcn.004e3550
mov ebx, vtable.DownloadControllerException.0
mov dword [ebp - 0xdc], ebx
mov byte [ebp - 0x78], 0
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x580]
mov byte [ebp - 4], 4
call fcn.00413be0
mov cl, byte [ebp - 0x78]
push 0x51b89c
lea edx, [ebp - 0x580]
push edx
mov dword [ebp - 0x580], ebx
mov byte [ebp - 0x51c], cl
call fcn.004a99f9
int3