Function at 0x4a7474
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x619733
call fcn.0042d958
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
and dword [ebp - 4], 0
xorps xmm0, xmm0
push 0x10
movlpd qword [ebp - 0x6c], xmm0
call fcn.0042da05
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
xor eax, eax
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4a74bd
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004a8dba
and dword [ebp - 0x68], 0
lea ecx, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x6c], vtable.ClassPtr_class_RequestHandler_.0
call fcn.004143e3
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 2
test eax, eax
jne 0x4a74e1
int3
push eax
call fcn.004a8e24
mov edi, eax
test edi, edi
js 0x4a7584
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4a74fb
mov eax, dword [esi]
push eax
push str.Downloading_settings_from__ls__useBitsAndRetry:_true
push dword [ebp - 0x64]
push 1
call fcn.004531b7
mov ecx, dword [ebp + 0xc]
add esp, 0x10
test ecx, ecx
jne 0x4a7516
int3
cmp dword [esi + 0x14], 8
jb 0x4a751e
mov esi, dword [esi]
push dword [ebp - 0x68]
push 1
push esi
mov esi, dword [ebp - 0x64]
push esi
call fcn.004bf69f
mov edi, eax
test edi, edi
js 0x4a7584
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x4a753b
int3
push dword [ebp + 0x10]
push eax
call fcn.004a8f16
mov edi, eax
test edi, edi
jns 0x4a7575
push 0x652184
push esi
push edi
call fcn.00451d25
mov ecx, dword [ebp + 0xc]
add esp, 0xc
test ecx, ecx
jne 0x4a7561
int3
call fcn.004be9c7
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4a756e
int3
call fcn.004c0d7c
jmp 0x4a7584
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4a757d
int3
call fcn.004a80e7
mov edi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test edi, edi
js 0x4a75c8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4a7599
int3
lea eax, [ebp - 0x14]
push eax
call fcn.004bf963
mov edi, eax
test edi, edi
js 0x4a75c5
mov edi, dword [ebp - 0x70]
mov eax, dword [edi]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x64]
mov ecx, esi
call dword [0x62c6dc]
mov ecx, edi
call esi
mov edi, eax
mov eax, dword [ebp - 0x14]
cmp dword [ebx + 0x10], 0
je 0x4a76aa
test edi, edi
js 0x4a76b2
and dword [ebp - 0x18], 0
mov ecx, dword [eax]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x74], xmm0
push dword [ebp - 0x70]
mov esi, dword [ecx + 0x14]
mov ecx, esi
push dword [ebp - 0x74]
mov byte [ebp - 4], 4
push eax
call dword [0x62c6dc]
call esi
push 0x48
mov esi, eax
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0042e9f0
add esp, 0xc
test esi, esi
js 0x4a7693
mov eax, dword [ebp - 0x14]
push 1
mov ecx, dword [eax]
mov esi, dword [ecx + 0x30]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov ecx, esi
call dword [0x62c6dc]
call esi
mov esi, eax
test esi, esi
js 0x4a7693
cmp dword [ebx + 0x14], 8
jb 0x4a7641
mov ebx, dword [ebx]
lea eax, [ebp - 0x18]
push eax
push 0x1002
push ebx
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
mov esi, eax
test esi, esi
js 0x4a7693
mov eax, dword [ebp - 0x14]
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 0x54]
mov ecx, dword [eax]
push dword [ebp - 0x58]
push dword [ebp - 0x18]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
push eax
call dword [0x62c6dc]
call esi
mov esi, eax
test esi, esi
js 0x4a7693
mov eax, dword [ebp - 0x18]
push ebx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x62c6dc]
call esi
mov esi, eax
push str.Failed_to_copy_the_downloaded_settings_file_locally.
push dword [ebp - 0x64]
push esi
call fcn.00451d25
add esp, 0xc
mov byte [ebp - 4], 5
jmp 0x4a7726
test edi, edi
jns 0x4a7740
cmp dword [ebx + 0x10], 0
je 0x4a7740
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4a76c6
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a773d
push str.Failed_to_download_settings__will_try_to_use_local_file.
push dword [ebp - 0x64]
push edi
call fcn.00451d25
and dword [ebp - 0x18], 0
add esp, 0xc
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 6
jb 0x4a76f2
mov ebx, dword [ebx]
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
mov edi, eax
test edi, edi
js 0x4a7722
mov ebx, dword [ebp - 0x70]
mov eax, dword [ebx]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x64]
mov ecx, esi
call dword [0x62c6dc]
mov ecx, ebx
call esi
mov edi, eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4a773d
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x62c6dc]
call esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 8
test eax, eax
je 0x4a7758
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x62c6dc]
call esi
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x4a7773
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x62c6dc]
call esi
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xa
mov dword [ebp + 8], vtable.ClassPtr_class_WebClient_.0
call fcn.004143e3
mov eax, edi
call fcn.0042d907
ret 0x18