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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d88b8
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x516b80]
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 0x4fe730
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0x475], 1
mov dword [ebp - 0x488], esi
mov dword [ebp - 0x47c], esi
call fcn.00401210
push 0x4fe730
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 2
call fcn.00401210
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0041b5d0
test eax, eax
je 0x41477d
lea ecx, [ebp + 0x24]
call fcn.0041b5d0
test eax, eax
je 0x41477d
mov dword [ebp - 0x48c], esi
lea ecx, [ebp - 0x408]
call fcn.0047e270
sub esp, 0x1c
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x484], esp
push eax
call fcn.00401250
lea ecx, [ebp - 0x408]
call fcn.0047e4d0
sub esp, 0x1c
lea eax, [edi + 0xd8]
mov ecx, esp
mov dword [ebp - 0x484], esp
push eax
call fcn.00401250
lea ecx, [ebp - 0x408]
call fcn.0047e460
push 0x4fe730
lea ecx, [ebp - 0x3c]
call fcn.00401210
push 0x4fe730
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 6
call fcn.00401210
push 0x4fe730
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00401210
push 0x4fe730
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 8
call fcn.00401210
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.00417100
cmp al, 1
jne 0x413a23
sub esp, 0x1c
lea eax, [ebp - 0x114]
mov ecx, esp
mov dword [ebp - 0x484], esp
push eax
call fcn.00401250
sub esp, 0x1c
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x3c]
mov ecx, esp
mov dword [ebp - 0x490], esp
push edx
call fcn.00401250
sub esp, 0x1c
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x74]
mov ecx, esp
mov dword [ebp - 0x480], esp
push eax
call fcn.00401250
sub esp, 0x1c
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x58]
mov ecx, esp
mov dword [ebp - 0x474], esp
push edx
call fcn.00401250
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 9
call fcn.0047e540
sub esp, 0x1c
lea eax, [edi + 0x280]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.00401250
movzx eax, byte [edi + 0x27e]
push eax
lea ecx, [ebp - 0x408]
call fcn.00405520
lea ecx, [ebp - 0xf8]
push ecx
lea ecx, [ebp - 0x408]
call fcn.0047e690
mov ebx, eax
test ebx, ebx
jne 0x413bba
lea ecx, [ebp - 0xf8]
call fcn.00405890
test al, al
jne 0x413bcb
lea edx, [ebp - 0xf8]
lea esi, [edi + 0xfc]
push edx
mov ecx, esi
call fcn.004033e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push esi
call fcn.00401250
lea ecx, [ebp - 0x238]
call fcn.0047ecc0
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x4b0]
push ecx
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xd
call fcn.0047f6b0
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xe
call fcn.004033e0
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 0xd
call fcn.00401290
mov ecx, dword [ebp - 0x47c]
test ecx, ecx
je 0x413ba9
cmp byte [edi + 0x27e], 1
jne 0x413ba9
push ecx
push 0x4fec54
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.0049a318
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nDownloadURLResponse___Server_Returned_An_Error:
call fcn.00401210
push edi
call fcn.00418160
sub esp, 0x1c
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.00401210
push edi
call fcn.00418160
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nRequest_Sent:
call fcn.00401210
push edi
call fcn.00418160
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0x408]
mov dword [ebp - 0x474], esp
call fcn.00412370
push edi
call fcn.00418160
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push 0x4fea88
call fcn.00401210
push edi
call fcn.00418160
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 9
call fcn.0047eeb0
jmp 0x413bcb
cmp ebx, 5
jne 0x413bcb
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x488], ecx
lea ecx, [ebp - 0x74]
call fcn.00401290
lea ecx, [ebp - 0x58]
call fcn.00401290
lea ecx, [ebp - 0x114]
call fcn.00401290
lea ecx, [ebp - 0x3c]
call fcn.00401290
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 3
call fcn.0047e3a0
cmp ebx, 5
je 0x413c0f
cmp dword [ebp - 0x47c], 0
je 0x413cdd
mov eax, dword [ebp - 0x48c]
mov edx, eax
inc eax
cmp edx, 5
mov dword [ebp - 0x48c], eax
jl 0x413903
cmp dword [ebp - 0x47c], 0
je 0x413cdd
push str.DownloadURLResponse___Server_Returned_An_Error:
lea ecx, [ebp - 0x3c]
call fcn.00401210
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 0x4fec54
lea ecx, [ebp - 0x20]
push 0xa
push ecx
mov byte [ebp - 0x20], 0
call fcn.0049a318
add esp, 0x10
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00408100
lea ecx, [ebp - 0x3c]
call fcn.004012b0
push 0x1ab
push str..WinDownloadController.cpp
push eax
lea ecx, [ebp - 0xdc]
call fcn.004d2d20
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.004135b0
mov cl, byte [ebp - 0x78]
push 0x5062cc
lea edx, [ebp - 0x5e8]
push edx
mov dword [ebp - 0x5e8], ebx
mov byte [ebp - 0x584], cl
call fcn.0049b289
cmp ebx, 3
jne 0x413efa
cmp byte [edi + 0x27e], 1
jne 0x413d0a
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nDownloadURLRequest___Communication_Error_n
call fcn.00401210
push edi
call fcn.00418160
cmp byte [edi + 0x29c], 1
jne 0x413fb7
push 0x4fe730
lea ecx, [ebp - 0x58]
call fcn.00401210
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
call fcn.00417740
cmp al, 1
jne 0x413fa6
push 0x4feb0c
call fcn.004010f0
add esp, 4
push eax
push 0
push 0x4feb0c
lea ebx, [ebp - 0x58]
call fcn.004185e0
push eax
push 0
lea ecx, [ebp - 0x114]
push ecx
mov ecx, ebx
call fcn.00418260
mov byte [ebp - 4], 0x12
mov esi, dword [ebp - 0x44]
push 0x4feb0c
call fcn.004010f0
add esp, 4
push eax
push 0
push 0x4feb0c
call fcn.004185e0
push esi
inc eax
push eax
lea edx, [ebp - 0x3c]
push edx
mov ecx, ebx
call fcn.00418260
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 0x13
call fcn.0047e270
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.00401250
lea ecx, [ebp - 0x408]
call fcn.0047e4d0
sub esp, 0x1c
lea eax, [edi + 0xd8]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.00401250
lea ecx, [ebp - 0x408]
call fcn.0047e460
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push 0x4fe730
call fcn.00401210
sub esp, 0x1c
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x480], esp
push 0x4fe730
call fcn.00401210
sub esp, 0x1c
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x3c]
mov ecx, esp
mov dword [ebp - 0x490], esp
push edx
call fcn.00401250
sub esp, 0x1c
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x114]
mov ecx, esp
mov dword [ebp - 0x484], esp
push eax
call fcn.00401250
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], bl
call fcn.0047e540
sub esp, 0x1c
lea eax, [edi + 0x280]
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.00401250
movzx ecx, byte [edi + 0x27e]
push ecx
lea ecx, [ebp - 0x408]
call fcn.00405520
lea edx, [ebp - 0xf8]
push edx
lea ecx, [ebp - 0x408]
call fcn.0047e690
mov ebx, eax
test ebx, ebx
jne 0x413ebf
lea ecx, [ebp - 0xf8]
call fcn.00405890
test al, al
jne 0x413ebf
lea eax, [ebp - 0xf8]
push eax
lea ecx, [edi + 0xfc]
call fcn.004033e0
lea ecx, [ebp - 0x408]
mov byte [ebp - 4], 0x13
call fcn.0047e3a0
lea ecx, [ebp - 0x3c]
call fcn.00401290
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x11
call fcn.00401290
cmp ebx, 3
je 0x413d28
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00401290
test ebx, ebx
jne 0x414687
lea esi, [edi + 0xfc]
mov ecx, esi
call fcn.00405890
test al, al
jne 0x414687
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push esi
call fcn.00401250
lea ecx, [ebp - 0x238]
call fcn.0047ecc0
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x140]
xor esi, esi
mov ebx, eax
test eax, eax
jle 0x414057
lea esp, [esp]
push 0x4fe730
lea ecx, [ebp - 0x74]
call fcn.00401210
push 0x4fe730
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call fcn.00401210
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.0047f700
push str.Watermark
lea ecx, [ebp - 0x74]
call fcn.00408130
test eax, eax
jne 0x413ffd
lea eax, [ebp - 0x58]
push eax
lea ecx, [edi + 0x1c0]
jmp 0x414035
cmp ebx, 3
jne 0x413eee
lea ecx, [ebp - 0x58]
call fcn.00401290
lea ecx, [ebp - 0x130]
call fcn.00401290
lea ecx, [ebp - 0xf8]
call fcn.00401290
lea ecx, [ebp + 8]
call fcn.00401290
lea ecx, [ebp + 0x24]
call fcn.00401310
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.00497164
mov esp, ebp
pop ebp
ret 0x38
push str.Banner
lea ecx, [ebp - 0x74]
call fcn.00408130
test eax, eax
jne 0x41401a
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [edi + 0x1dc]
jmp 0x414035
push str.Codec
lea ecx, [ebp - 0x74]
call fcn.00408130
test eax, eax
jne 0x41403a
lea edx, [ebp - 0x58]
push edx
lea ecx, [edi + 0x1f8]
call fcn.004033e0
lea ecx, [ebp - 0x58]
call fcn.00401290
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x18
call fcn.00401290
inc esi
cmp esi, ebx
jl 0x413f50
lea esi, [ebp - 0x4b0]
lea eax, [ebp - 0x238]
call fcn.004123b0
lea esi, [edi + 0x214]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1b
call fcn.004033e0
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 0x18
call fcn.00401290
mov ecx, esi
call fcn.00405890
cmp al, 1
jne 0x4140f3
push 0x1f0
push str..WinDownloadController.cpp
push str.One_or_more_required_resources_not_found
lea ecx, [ebp - 0xdc]
call fcn.004d2d20
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.004135b0
mov cl, byte [ebp - 0x78]
push 0x5062cc
lea edx, [ebp - 0x650]
push edx
mov dword [ebp - 0x650], ebx
mov byte [ebp - 0x5ec], cl
call fcn.0049b289
lea esi, [ebp - 0x4b0]
lea eax, [ebp - 0x238]
call fcn.00412390
lea esi, [edi + 0x16c]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1d
call fcn.004033e0
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 0x18
call fcn.00401290
mov ecx, esi
call fcn.00405890
cmp al, 1
jne 0x41417f
push 0x1f6
push str..WinDownloadController.cpp
push str.One_or_more_required_resources_not_found
lea ecx, [ebp - 0xdc]
call fcn.004d2d20
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.00413580
push 0x5062cc
lea ecx, [ebp - 0x720]
push ecx
call fcn.0049b289
lea esi, [ebp - 0x4b0]
lea eax, [ebp - 0x238]
call fcn.004123d0
push eax
lea ecx, [edi + 0x1a4]
mov byte [ebp - 4], 0x1f
call fcn.004033e0
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.00401290
lea esi, [ebp - 0x4b0]
lea eax, [ebp - 0x238]
call fcn.004123f0
push eax
lea ecx, [edi + 0x188]
mov byte [ebp - 4], 0x20
call fcn.004033e0
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.00401290
lea edx, [ebp + 0x24]
lea ecx, [edi + 0x230]
push edx
call fcn.00408cc0
lea ecx, [ebp + 0x24]
call fcn.00408ea0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41429d
lea ecx, [ebp + 0x24]
call fcn.0041b5d0
push eax
lea ecx, [ebp + 0x24]
call fcn.00408e70
cmp word [eax], 0x5c
je 0x414221
push 0x4fed44
lea ecx, [ebp + 0x24]
call fcn.00408d50
push 0
push 0x5c
lea ecx, [ebp + 0x24]
call fcn.00408ec0
inc eax
push eax
push 0x5c
lea ecx, [ebp + 0x24]
call fcn.00408ec0
mov esi, eax
cmp esi, 0xffffffff
je 0x41429d
inc esi
push esi
lea ecx, [ebp + 0x24]
call fcn.00408ea0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408c80
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x21
call fcn.00408ea0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x41427f
cmp eax, 0xb7
jne 0x414395
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x18
call fcn.00401310
push esi
push 0x5c
lea ecx, [ebp + 0x24]
call fcn.00408ec0
mov esi, eax
cmp esi, 0xffffffff
jne 0x414240
lea esi, [edi + 0x1f8]
mov ecx, esi
mov byte [ebp - 4], 0x23
xor ebx, ebx
call fcn.00405890
test al, al
jne 0x41459d
jmp 0x4142c0
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.00403420
sub esp, 0x1c
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x480], esp
push esi
call fcn.00401250
mov ecx, edi
mov byte [ebp - 4], 0x23
call fcn.004147e0
test al, al
jne 0x414411
mov eax, ebx
inc ebx
cmp eax, 0xa
jle 0x4143e4
cmp byte [edi + 0x27e], 1
jne 0x414336
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nRetry_exceded_downloading_Codec_n
call fcn.00401210
push edi
call fcn.00418160
push 0x22c
push str..WinDownloadController.cpp
push str.There_was_a_problem_downloading_a_required_file
lea ecx, [ebp - 0xdc]
call fcn.004d2d20
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.004135b0
mov dl, byte [ebp - 0x78]
push 0x5062cc
lea eax, [ebp - 0x6b8]
push eax
mov dword [ebp - 0x6b8], ebx
mov byte [ebp - 0x654], dl
call fcn.0049b289
push 0x211
push str..WinDownloadController.cpp
push str.Could_not_create_resource_directory_
lea ecx, [ebp - 0xdc]
call fcn.004d2d20
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.00413580
push 0x5062cc
lea ecx, [ebp - 0x788]
push ecx
call fcn.0049b289
cmp byte [edi + 0x27e], 1
jne 0x4142c0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nCodec_download_failed...retrying_download_n
call fcn.00401210
push edi
call fcn.00418160
jmp 0x4142c0
lea esi, [edi + 0x1c0]
mov ecx, esi
call fcn.00405890
test al, al
jne 0x4144ba
jmp 0x414430
push 0x4ff358
lea ecx, [ebp - 0x3c]
call fcn.004012d0
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.00403420
sub esp, 0x1c
mov byte [ebp - 4], 0x28
mov ecx, esp
mov dword [ebp - 0x480], esp
push esi
call fcn.00401250
mov ecx, edi
mov byte [ebp - 4], 0x27
call fcn.004147e0
mov bl, al
test bl, bl
jne 0x4144a6
cmp byte [edi + 0x27e], 1
jne 0x4144a6
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nWatermark_download_failed...retrying_download_n
call fcn.00401210
push edi
call fcn.00418160
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x23
call fcn.00401310
test bl, bl
je 0x414430
lea esi, [edi + 0x1dc]
mov ecx, esi
call fcn.00405890
test al, al
jne 0x41455a
nop
push 0x4ff358
lea ecx, [ebp - 0x3c]
call fcn.004012d0
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.00403420
sub esp, 0x1c
mov byte [ebp - 4], 0x2b
mov ecx, esp
mov dword [ebp - 0x480], esp
push esi
call fcn.00401250
mov ecx, edi
mov byte [ebp - 4], 0x2a
call fcn.004147e0
mov bl, al
test bl, bl
jne 0x414546
cmp byte [edi + 0x27e], 1
jne 0x414546
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push str._nBanner_download_failed...retrying_download_n
call fcn.00401210
push edi
call fcn.00418160
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x23
call fcn.00401310
test bl, bl
je 0x4144d0
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 3
call fcn.0047eeb0
lea ecx, [ebp - 0x130]
call fcn.00401290
lea ecx, [ebp - 0xf8]
call fcn.00401290
lea ecx, [ebp + 8]
call fcn.00401290
lea ecx, [ebp + 0x24]
call fcn.00401310
mov al, byte [ebp - 0x475]
jmp 0x413fdf
push 0x235
push str..WinDownloadController.cpp
push str.One_or_more_required_resources_not_found
lea ecx, [ebp - 0xdc]
call fcn.004d2d20
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.00413580
push 0x5062cc
lea ecx, [ebp - 0x858]
push ecx
call fcn.0049b289
push str.Unable_to_download_resources._nThe_error_returned_was:
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x2e
call fcn.00401210
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 0x2f
call fcn.00407750
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408100
lea ecx, [ebp - 0x3c]
call fcn.004012b0
mov ecx, eax
mov eax, 0x26b
lea esi, [ebp - 0xdc]
call fcn.00412350
mov edi, dword [ebp - 0x494]
mov byte [ebp - 4], 0x30
cmp byte [edi + 0x27e], 1
jne 0x414664
sub esp, 0x1c
mov esi, esp
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x474], esp
push edx
push 0x4fea88
call fcn.00418890
add esp, 8
push edi
call fcn.00418160
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x7f0]
call fcn.00413580
push 0x5062cc
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.0049b289
push str.Unable_to_get_DownloadURL_and_resources._nThe_error_returned_was:
lea ecx, [ebp - 0x74]
call fcn.00401210
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 0x4146c9
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.0049a760
add esp, 0x10
push str.HTTP_Error__
jmp 0x4146db
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.0049a736
add esp, 0x10
push str.Error_number__
lea ecx, [ebp - 0x74]
call fcn.00408100
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00408100
lea ecx, [ebp - 0x74]
call fcn.004012b0
push 0x27e
push str..WinDownloadController.cpp
push eax
lea ecx, [ebp - 0xdc]
call fcn.004d2d20
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 0x41474b
sub esp, 0x1c
mov esi, esp
lea edx, [ebp - 0x74]
mov dword [ebp - 0x474], esp
push edx
push 0x4fea88
call fcn.00418890
add esp, 8
push edi
call fcn.00418160
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x518]
call fcn.004135b0
mov cl, byte [ebp - 0x78]
push 0x5062cc
lea edx, [ebp - 0x518]
push edx
mov dword [ebp - 0x518], ebx
mov byte [ebp - 0x4b4], cl
call fcn.0049b289
push 0x17c
push str..WinDownloadController.cpp
push str.Unable_to_get_DownloadURL_and_resources.
lea ecx, [ebp - 0xdc]
call fcn.004d2d20
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.004135b0
mov cl, byte [ebp - 0x78]
push 0x5062cc
lea edx, [ebp - 0x580]
push edx
mov dword [ebp - 0x580], ebx
mov byte [ebp - 0x51c], cl
call fcn.0049b289
int3