Function at 0x41ef20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50db7e
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x55b4e0]
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 edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0xe8], 0
cmp dword [edi + 0x280], 5
mov dword [ebp - 0xf0], esi
jae 0x41ef8f
push 3
push 0x53c144
push dword [edi + 0x280]
lea ebx, [edi + 0x270]
push ecx
mov ecx, ebx
call fcn.00406330
test eax, eax
jne 0x41f2d1
cmp dword [edi + 0x284], 8
lea ebx, [edi + 0x270]
jb 0x41efa2
mov eax, dword [ebx]
jmp 0x41efa4
mov eax, ebx
push eax
push str.start_get_openid_:__s_s_config
push 0x487
push str.DNDownloaderModel::_getPackageByOpenID
call fcn.0040c6c0
mov ecx, dword [0x5657ec]
add esp, 0x10
test ecx, ecx
jne 0x41effb
push 0x50
call fcn.004cfe82
add esp, 4
mov dword [ebp - 0xe8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41efec
mov ecx, eax
call fcn.0040d610
mov ecx, eax
jmp 0x41efee
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [0x5657ec], ecx
lea eax, [edi + 0x98]
push eax
push ebx
lea eax, [ebp - 0x74]
push eax
call fcn.0040e030
mov dword [ebp - 4], 1
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
push eax
push str.url__s
push 0x48a
push str.DNDownloaderModel::_getPackageByOpenID
call fcn.0040c6c0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
push 0x64
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004d8de0
add esp, 0x1c
lea ecx, [ebp - 0xdc]
call fcn.0042b330
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x7c], 0
push eax
lea ecx, [ebp - 0xdc]
call fcn.0042b460
test al, al
jne 0x41f101
push 0
push 0x538280
lea ecx, [ebp - 0x5c]
call fcn.00407d40
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x44]
call fcn.00409bf0
mov esi, eax
push str.LDCurlDownloader::downloadMemory_start
push 0x77
push str.LDCurlDownloader::downloadMemory
mov byte [ebp - 4], 4
call fcn.0040c6c0
add esp, 0xc
call fcn.00449e80
test eax, eax
jne 0x41f0dc
push str.curl_init_error
push 0xaf
push str.LDCurlDownloader::downloadMemory
call fcn.0040c6c0
add esp, 0xc
jmp 0x41f0e6
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.004239d0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], 0x10
jb 0x41f0fb
push dword [ebp - 0x44]
call fcn.004b6db0
add esp, 4
mov esi, dword [ebp - 0xf0]
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.00409bc0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x41f118
mov eax, dword [eax]
push eax
push str.get_config_sucess__s
push 0x494
push str.DNDownloaderModel::_getPackageByOpenID
call fcn.0040c6c0
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], 8
jb 0x41f145
push dword [ebp - 0x44]
call fcn.004b6db0
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp dword [ebp - 0x4c], eax
jbe 0x41f287
mov eax, dword [0x5657ec]
test eax, eax
jne 0x41f197
push 0x50
call fcn.004cfe82
add esp, 4
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x41f18c
mov ecx, eax
call fcn.0040d610
jmp 0x41f18e
xor eax, eax
mov byte [ebp - 4], 3
mov dword [0x5657ec], eax
lea ecx, [ebp - 0x108]
push ecx
mov ecx, eax
call fcn.0040d740
push 2
push 0x5388ec
mov byte [ebp - 4], 7
mov ebx, 1
push dword [eax + 0x10]
mov dword [ebp - 0xe8], ebx
push ecx
mov ecx, eax
call fcn.00406330
test eax, eax
je 0x41f203
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d6c0
mov ecx, eax
call fcn.0040d740
mov dword [ebp - 4], 8
mov ebx, 3
mov edx, 0x53c1f4
mov dword [ebp - 0xe8], ebx
mov ecx, eax
call fcn.00406130
mov byte [ebp - 0xdd], 0
test al, al
je 0x41f20a
mov byte [ebp - 0xdd], 1
test bl, 2
je 0x41f237
and ebx, 0xfffffffd
cmp dword [ebp - 0x18], 8
jb 0x41f223
push dword [ebp - 0x2c]
call fcn.004b6db0
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 3
test bl, 1
je 0x41f25a
cmp dword [ebp - 0xf4], 8
jb 0x41f25a
push dword [ebp - 0x108]
call fcn.004b6db0
add esp, 4
cmp byte [ebp - 0xdd], 0
lea eax, [ebp - 0x5c]
push esi
push eax
je 0x41f271
mov ecx, edi
call fcn.00420100
jmp 0x41f281
call fcn.0041b610
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.0041ad10
lea ebx, [edi + 0x270]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.0042a440
cmp dword [ebp - 0x48], 0x10
jb 0x41f2a7
push dword [ebp - 0x5c]
call fcn.004b6db0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jb 0x41f2d1
push dword [ebp - 0x74]
call fcn.004b6db0
add esp, 4
cmp dword [edi + 0xac], 8
lea eax, [edi + 0x98]
jb 0x41f2e2
mov eax, dword [eax]
push eax
push str.package_is__s
push 0x4a0
push str.DNDownloaderModel::_getPackageByOpenID
call fcn.0040c6c0
add esp, 0x10
cmp dword [edi + 0x48c], 0
je 0x41f48c
xor eax, eax
mov dword [ebp - 0x30], 7
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x47c]
mov dword [ebp - 0x34], 0
push esi
lea ecx, [ebp - 0x44]
mov word [ebp - 0x44], ax
call fcn.00407640
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 9
call fcn.004085f0
push 0xe
push 0x53b6e8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00408fe0
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00408f10
push 7
push str._bg.jpg
lea ecx, [ebp - 0x2c]
call fcn.00408fe0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push str.start_download_bg__s
push 0x4aa
push str.DNDownloaderModel::_getPackageByOpenID
call fcn.0040c6c0
sub esp, 8
mov eax, esp
mov dword [ebp - 0xe8], esp
mov dword [eax + 0x10], 0
mov edx, esi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x108]
call fcn.00409bf0
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push eax
call fcn.00423bc0
mov byte [ebp - 4], 0xa
mov bl, al
cmp dword [ebp - 0xf4], 0x10
jb 0x41f3dd
push dword [ebp - 0x108]
call fcn.004b6db0
add esp, 4
test bl, bl
je 0x41f456
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 0x41f456
xorps xmm0, xmm0
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x2c]
movlpd qword [ebp - 0xec], xmm0
call fcn.00407f30
cmp dword [ebp - 0xe8], 0
jl 0x41f456
jg 0x41f427
cmp dword [ebp - 0xec], 0x1400
jbe 0x41f456
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00407640
lea ecx, [edi + 0x80]
call fcn.00421790
cmp dword [ebp - 0x18], 8
jb 0x41f467
push dword [ebp - 0x2c]
call fcn.004b6db0
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x41f48c
push dword [ebp - 0x44]
call fcn.004b6db0
add esp, 4
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.004cfd33
mov esp, ebp
pop ebp
ret 4