Function at 0x420ac0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc502
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x50d488]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x124], eax
mov eax, dword [0x517344]
test eax, eax
jne 0x420b33
push 0x50
call fcn.00494625
add esp, 4
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x420b25
mov ecx, eax
call fcn.0040d610
jmp 0x420b27
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x517344], eax
lea edi, [esi + 0x358]
push edi
lea ecx, [esi + 0x2f4]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.0040e170
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420d5e
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x44], al
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004085f0
push 0x1c
push str.lddownloadercachepath.data
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00408fe0
xorps xmm0, xmm0
lea eax, [ebp - 0x5c]
movdqu xmmword [ebp - 0x6c], xmm0
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.00408130
mov edi, dword [ebp - 0x64]
test al, al
je 0x420bdc
push dword [ebp - 0x60]
lea ecx, [ebp - 0x44]
push edi
call fcn.00407d40
test edi, edi
je 0x420be7
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x420bf7
push eax
call edi
mov eax, dword [ebp - 0x6c]
cmp eax, 0xffffffff
je 0x420c02
push eax
call edi
cmp dword [ebp - 0x34], 0
je 0x420d1e
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x104]
call fcn.00409b90
push 1
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.00407fc0
add esp, 4
mov edi, eax
push 1
lea edx, [ebp - 0x104]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.00407fc0
add esp, 4
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
jb 0x420c59
mov edi, dword [edi]
push ecx
push edi
push dword [eax + 0x10]
push ecx
mov ecx, eax
call fcn.00406330
test eax, eax
sete byte [ebp - 0x11d]
cmp dword [ebp - 0x60], 8
jb 0x420c80
push dword [ebp - 0x74]
call fcn.00494620
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x78], 8
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x420cac
push dword [ebp - 0x8c]
call fcn.00494620
add esp, 4
cmp byte [ebp - 0x11d], 0
je 0x420d07
call fcn.0040d6c0
lea ecx, [eax + 0x38]
lea eax, [ebp - 0x104]
cmp ecx, eax
je 0x420cd1
push 0xffffffffffffffff
push 0
push eax
call fcn.00407640
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407640
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.from_cache_path__s
push 0x6ea
push str.DNDownloaderModel::realDownloadPlayer
call fcn.0040c6c0
add esp, 0x10
cmp dword [ebp - 0xf0], 8
jb 0x420d1e
push dword [ebp - 0x104]
call fcn.00494620
add esp, 4
cmp dword [ebp - 0x48], 8
jb 0x420d2f
push dword [ebp - 0x5c]
call fcn.00494620
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x420d58
push dword [ebp - 0x44]
call fcn.00494620
add esp, 4
lea edi, [esi + 0x358]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420de1
push str.installer_has_downloaded
push 0x6f0
push str.DNDownloaderModel::realDownloadPlayer
call fcn.0040c6c0
add esp, 0xc
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00420840
test al, al
je 0x420ddd
push str.file_sign_ok
push 0x6f4
push str.DNDownloaderModel::realDownloadPlayer
call fcn.0040c6c0
mov ecx, dword [esi + 0x30]
add esp, 0xc
test ecx, ecx
jne 0x420dd3
call fcn.00449433
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4212e4
mov byte [ebp - 4], 1
mov eax, dword [0x517344]
test eax, eax
jne 0x420e16
push 0x50
call fcn.00494625
add esp, 4
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x420e0b
mov ecx, eax
call fcn.0040d610
jmp 0x420e0d
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x517344], eax
push edi
lea ecx, [esi + 0x2f4]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, eax
call fcn.0040e170
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x420e63
cmp dword [ebp - 0x18], 8
jb 0x420e46
push dword [ebp - 0x2c]
call fcn.00494620
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00406f40
cmp dword [ebp - 0x78], 8
jb 0x420e77
push dword [ebp - 0x8c]
call fcn.00494620
add esp, 4
mov eax, dword [0x51736c]
cmp eax, 2
jg 0x4212e4
jne 0x420ed7
push 0xc
call fcn.00494625
add esp, 4
test eax, eax
je 0x420ec4
xorps xmm0, xmm0
lea ecx, [esi + 0x10c]
movq qword [eax], xmm0
mov dword [eax + 8], 0
push eax
mov dword [eax], vtable.MemberFuncRunable_class_DNDownloaderModel_.0
mov dword [eax + 4], esi
mov dword [eax + 8], 0x41bf90
call fcn.00407e50
jmp 0x4212e4
xor eax, eax
lea ecx, [esi + 0x10c]
push eax
call fcn.00407e50
jmp 0x4212e4
xor eax, eax
mov dword [ebp - 0xa8], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0xbc], ax
lea ecx, [ebp - 0xbc]
lea eax, [esi + 0x328]
mov dword [ebp - 0xac], 0
push eax
call fcn.00407640
mov byte [ebp - 4], 9
cmp dword [0x51736c], 1
jne 0x420f8e
cmp dword [esi + 0x350], 0
je 0x420f8e
lea eax, [esi + 0x340]
lea ecx, [ebp - 0xbc]
cmp ecx, eax
je 0x420f39
push 0xffffffffffffffff
push 0
push eax
call fcn.00407640
push str.download_curl_second
lea ecx, [ebp - 0x8c]
call fcn.00407110
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
call fcn.00417c20
mov ecx, eax
call fcn.004199c0
push eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xb
push eax
call fcn.00417c20
mov ecx, eax
call fcn.0041fb30
lea ecx, [ebp - 0x44]
call fcn.00407880
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 9
call fcn.00407880
jmp 0x420ffe
push str.download_curl_qq
lea ecx, [ebp - 0x5c]
call fcn.00407110
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xc
push eax
call fcn.00417c20
mov ecx, eax
call fcn.004199c0
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
push eax
call fcn.00417c20
mov ecx, eax
call fcn.0041fb30
cmp dword [ebp - 0x30], 8
jb 0x420fd5
push dword [ebp - 0x44]
call fcn.00494620
add esp, 4
xor eax, eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x420ffe
push dword [ebp - 0x5c]
call fcn.00494620
add esp, 4
inc dword [0x51736c]
lea ecx, [ebp - 0x5c]
push str._F__IM_ldcurl.exe
call fcn.00407110
push str.taskkill
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call fcn.00407110
push 0x7d0
push ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x44]
call fcn.004091e0
add esp, 8
cmp dword [ebp - 0x30], 8
jb 0x42104b
push dword [ebp - 0x44]
call fcn.00494620
add esp, 4
xor eax, eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x421074
push dword [ebp - 0x5c]
call fcn.00494620
add esp, 4
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xd4]
call fcn.00408210
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xc0], 8
cmovae eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4210b0
lea ecx, [ebp - 0xd4]
call fcn.004083f0
push 5
push str..curl
lea ecx, [ebp - 0x2c]
call fcn.00408fe0
lea ecx, [ebp - 0xec]
call fcn.004085f0
push 0xe
push 0x4eec28
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x11
call fcn.00408fe0
push str.ldcurlldcurl.exe
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x11c]
call fcn.00408d00
add esp, 4
push str.url
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x12
call fcn.00407110
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0xa4]
call fcn.00408f10
push 6
push str.hwnd
lea ecx, [ebp - 0xa4]
call fcn.00408fe0
mov edx, dword [ebp - 0x124]
lea ecx, [ebp - 0x8c]
call fcn.0040c350
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x14
call fcn.00408f10
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x78], 8
jb 0x421176
push dword [ebp - 0x8c]
call fcn.00494620
add esp, 4
push 0xe
push str.index1path
lea ecx, [ebp - 0xa4]
call fcn.00408fe0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00408f10
push 1
push 0x4eea04
lea ecx, [ebp - 0xa4]
call fcn.00408fe0
push 1
push ecx
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x11c]
call fcn.004090c0
add esp, 8
test al, al
jne 0x4211e0
mov edx, 0x41bf90
mov ecx, esi
call fcn.00421b20
push eax
lea ecx, [esi + 0x10c]
call fcn.00407e50
cmp dword [ebp - 0x90], 8
jb 0x4211f7
push dword [ebp - 0xa4]
call fcn.00494620
add esp, 4
xor eax, eax
mov dword [ebp - 0x90], 7
cmp dword [ebp - 0x108], 8
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
jb 0x42122b
push dword [ebp - 0x11c]
call fcn.00494620
add esp, 4
xor eax, eax
mov dword [ebp - 0x108], 7
cmp dword [ebp - 0xd8], 8
mov dword [ebp - 0x10c], 0
mov word [ebp - 0x11c], ax
jb 0x42125f
push dword [ebp - 0xec]
call fcn.00494620
add esp, 4
xor eax, eax
mov dword [ebp - 0xd8], 7
cmp dword [ebp - 0xc0], 8
mov dword [ebp - 0xdc], 0
mov word [ebp - 0xec], ax
jb 0x421293
push dword [ebp - 0xd4]
call fcn.00494620
add esp, 4
xor eax, eax
mov dword [ebp - 0xc0], 7
cmp dword [ebp - 0xa8], 8
mov dword [ebp - 0xc4], 0
mov word [ebp - 0xd4], ax
jb 0x4212c7
push dword [ebp - 0xbc]
call fcn.00494620
add esp, 4
xor eax, eax
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], ax
cmp dword [ebp - 0x18], 8
jb 0x4212f5
push dword [ebp - 0x2c]
call fcn.00494620
add esp, 4
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.004944c3
mov esp, ebp
pop ebp
ret 4