Function at 0x420e10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dee2
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x55b4e0]
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 [0x5657ec]
test eax, eax
jne 0x420e83
push 0x50
call fcn.004cfe82
add esp, 4
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x420e75
mov ecx, eax
call fcn.0040d610
jmp 0x420e77
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5657ec], eax
lea edi, [esi + 0x2b8]
push edi
lea ecx, [esi + 0x254]
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 0x4210ae
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 0x420f2c
push dword [ebp - 0x60]
lea ecx, [ebp - 0x44]
push edi
call fcn.00407d40
test edi, edi
je 0x420f37
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 0x420f47
push eax
call edi
mov eax, dword [ebp - 0x6c]
cmp eax, 0xffffffff
je 0x420f52
push eax
call edi
cmp dword [ebp - 0x34], 0
je 0x42106e
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 0x420fa9
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 0x420fd0
push dword [ebp - 0x74]
call fcn.004b6db0
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 0x420ffc
push dword [ebp - 0x8c]
call fcn.004b6db0
add esp, 4
cmp byte [ebp - 0x11d], 0
je 0x421057
call fcn.0040d6c0
lea ecx, [eax + 0x38]
lea eax, [ebp - 0x104]
cmp ecx, eax
je 0x421021
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 0x65a
push str.DNDownloaderModel::realDownloadPlayer
call fcn.0040c6c0
add esp, 0x10
cmp dword [ebp - 0xf0], 8
jb 0x42106e
push dword [ebp - 0x104]
call fcn.004b6db0
add esp, 4
cmp dword [ebp - 0x48], 8
jb 0x42107f
push dword [ebp - 0x5c]
call fcn.004b6db0
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 0x4210a8
push dword [ebp - 0x44]
call fcn.004b6db0
add esp, 4
lea edi, [esi + 0x2b8]
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 0x421131
push str.installer_has_downloaded
push 0x660
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.00420b90
test al, al
je 0x42112d
push str.file_sign_ok
push 0x664
push str.DNDownloaderModel::realDownloadPlayer
call fcn.0040c6c0
mov ecx, dword [esi + 0x30]
add esp, 0xc
test ecx, ecx
jne 0x421123
call fcn.00484c57
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x421634
mov byte [ebp - 4], 1
mov eax, dword [0x5657ec]
test eax, eax
jne 0x421166
push 0x50
call fcn.004cfe82
add esp, 4
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x42115b
mov ecx, eax
call fcn.0040d610
jmp 0x42115d
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x5657ec], eax
push edi
lea ecx, [esi + 0x254]
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 0x4211b3
cmp dword [ebp - 0x18], 8
jb 0x421196
push dword [ebp - 0x2c]
call fcn.004b6db0
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 0x4211c7
push dword [ebp - 0x8c]
call fcn.004b6db0
add esp, 4
mov eax, dword [0x565814]
cmp eax, 2
jg 0x421634
jne 0x421227
push 0xc
call fcn.004cfe82
add esp, 4
test eax, eax
je 0x421214
xorps xmm0, xmm0
lea ecx, [esi + 0x124]
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], 0x41c340
call fcn.00407e50
jmp 0x421634
xor eax, eax
lea ecx, [esi + 0x124]
push eax
call fcn.00407e50
jmp 0x421634
xor eax, eax
mov dword [ebp - 0xa8], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0xbc], ax
lea ecx, [ebp - 0xbc]
lea eax, [esi + 0x288]
mov dword [ebp - 0xac], 0
push eax
call fcn.00407640
mov byte [ebp - 4], 9
cmp dword [0x565814], 1
jne 0x4212de
cmp dword [esi + 0x2b0], 0
je 0x4212de
lea eax, [esi + 0x2a0]
lea ecx, [ebp - 0xbc]
cmp ecx, eax
je 0x421289
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.00418020
mov ecx, eax
call fcn.00419e20
push eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xb
push eax
call fcn.00418020
mov ecx, eax
call fcn.0041fe80
lea ecx, [ebp - 0x44]
call fcn.00407880
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 9
call fcn.00407880
jmp 0x42134e
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.00418020
mov ecx, eax
call fcn.00419e20
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
push eax
call fcn.00418020
mov ecx, eax
call fcn.0041fe80
cmp dword [ebp - 0x30], 8
jb 0x421325
push dword [ebp - 0x44]
call fcn.004b6db0
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 0x42134e
push dword [ebp - 0x5c]
call fcn.004b6db0
add esp, 4
inc dword [0x565814]
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 0x42139b
push dword [ebp - 0x44]
call fcn.004b6db0
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 0x4213c4
push dword [ebp - 0x5c]
call fcn.004b6db0
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 0x421400
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 0x53b6e8
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 0x4214c6
push dword [ebp - 0x8c]
call fcn.004b6db0
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 0x53b4b4
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 0x421530
mov edx, 0x41c340
mov ecx, esi
call fcn.00421ed0
push eax
lea ecx, [esi + 0x124]
call fcn.00407e50
cmp dword [ebp - 0x90], 8
jb 0x421547
push dword [ebp - 0xa4]
call fcn.004b6db0
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 0x42157b
push dword [ebp - 0x11c]
call fcn.004b6db0
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 0x4215af
push dword [ebp - 0xec]
call fcn.004b6db0
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 0x4215e3
push dword [ebp - 0xd4]
call fcn.004b6db0
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 0x421617
push dword [ebp - 0xbc]
call fcn.004b6db0
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 0x421645
push dword [ebp - 0x2c]
call fcn.004b6db0
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.004cfd33
mov esp, ebp
pop ebp
ret 4