Function at 0x417100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x43b1b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 2
push 0xffffffffffffffff
push str.PlatformLoadPlugin
mov edi, ecx
call dword [sym.imp.crt.dll_Ordinal_25]
mov ecx, dword [ebp + 8]
and ecx, eax
add esp, 0xc
mov dword [ebp + 8], ecx
test ecx, 0x4000
je 0x4171af
test dword [edi + 0x78], 0x4000
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
jne 0x4171af
mov eax, dword [edi + 0x7c]
test eax, 0x4000
jne 0x4171af
or eax, 0x4000
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.urlsender.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x210], eax
test eax, eax
je 0x4171a8
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x210]
call fcn.00422350
or dword [edi + 0x78], 0x4000
and dword [edi + 0x7c], 0xffffbfff
mov eax, 0x200
test dword [ebp + 8], eax
je 0x41722a
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
test dword [edi + 0x78], eax
jne 0x41722a
mov eax, dword [edi + 0x7c]
test eax, 0x200
jne 0x41722a
or eax, 0x200
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.vip.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x210], eax
test eax, eax
je 0x417223
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x210]
call fcn.00422350
or dword [edi + 0x78], 0x200
and dword [edi + 0x7c], 0xfffffdff
mov eax, 0x8000
test dword [ebp + 8], eax
je 0x4172a5
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
test dword [edi + 0x78], eax
jne 0x4172a5
mov eax, dword [edi + 0x7c]
test eax, 0x8000
jne 0x4172a5
or eax, 0x8000
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.gsc.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x210], eax
test eax, eax
je 0x41729e
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x210]
call fcn.00422350
or dword [edi + 0x78], 0x8000
and dword [edi + 0x7c], 0xffff7fff
test byte [ebp + 8], 0x10
je 0x417363
cmp dword [edi + 0x8c], 0
jne 0x417363
mov ecx, dword [0x42fcb0]
mov edx, dword [0x42fcb4]
lea eax, [ebp - 0x210]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x42fcb8]
mov dword [eax + 4], edx
mov edx, dword [0x42fcbc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
push str.StormNCStormNC_R.dll
mov eax, 0x10
mov dword [ebp - 0x210], 0
call fcn.00417b70
mov ebx, dword [ebp - 0x210]
test ebx, ebx
je 0x417359
cmp dword [ebx + 0x18], 0
je 0x417359
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea esi, [edi + 0x98]
push esi
push 0x4303c4
push eax
call edx
mov esi, dword [esi]
test esi, esi
je 0x417343
mov eax, dword [edi + 0x94]
test eax, eax
je 0x417343
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
push eax
push esi
call edx
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov edx, dword [eax]
lea ecx, [edi + 0x9c]
push ecx
push 0x4303d4
push ebx
call edx
mov dword [edi + 0x8c], 1
test byte [ebp + 8], 0x20
je 0x4173d0
test byte [edi + 0x78], 0x20
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
jne 0x4173d0
mov eax, dword [edi + 0x7c]
test al, 0x20
jne 0x4173d0
or eax, 0x20
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.ListDownload.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x210], eax
test eax, eax
je 0x4173cc
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x210]
call fcn.00422350
or dword [edi + 0x78], 0x20
and dword [edi + 0x7c], 0xffffffdf
mov ebx, 8
test byte [ebp + 8], bl
je 0x41743e
test byte [edi + 0x78], bl
jne 0x41743e
mov eax, dword [edi + 0x7c]
test bl, al
jne 0x41743e
mov ecx, dword [0x42fc60]
mov edx, dword [0x42fc64]
or eax, ebx
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x42fc68]
mov dword [eax + 4], edx
mov edx, dword [0x42fc6c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, str.binSKMD.dll
mov ecx, edi
call fcn.00417c90
mov dword [ebp - 0x210], eax
test eax, eax
je 0x41743a
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x210]
call fcn.00422350
or dword [edi + 0x78], ebx
and dword [edi + 0x7c], 0xfffffff7
mov eax, 0x10000
test dword [ebp + 8], eax
je 0x4174b9
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
test dword [edi + 0x78], eax
jne 0x4174b9
mov eax, dword [edi + 0x7c]
test eax, 0x10000
jne 0x4174b9
or eax, 0x10000
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.MovieStormDownLoad.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x210], eax
test eax, eax
je 0x4174b2
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x210]
call fcn.00422350
or dword [edi + 0x78], 0x10000
and dword [edi + 0x7c], 0xfffeffff
mov eax, dword [ebp + 8]
and eax, 0x40000
mov dword [ebp - 0x214], eax
je 0x41753e
test dword [edi + 0x78], 0x40000
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
jne 0x41753e
mov eax, dword [edi + 0x7c]
test eax, 0x40000
jne 0x41753e
or eax, 0x40000
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.bin_videoshortcut.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x210], eax
test eax, eax
je 0x417537
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x210]
call fcn.00422350
or dword [edi + 0x78], 0x40000
and dword [edi + 0x7c], 0xfffbffff
test byte [ebp + 8], 2
je 0x4175ab
test byte [edi + 0x78], 2
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
jne 0x4175ab
mov eax, dword [edi + 0x7c]
test al, 2
jne 0x4175ab
or eax, 2
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.binTips.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x210], eax
test eax, eax
je 0x4175a7
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x210]
call fcn.00422350
or dword [edi + 0x78], 2
and dword [edi + 0x7c], 0xfffffffd
test byte [ebp + 8], 4
je 0x417618
test byte [edi + 0x78], 4
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
jne 0x417618
mov eax, dword [edi + 0x7c]
test al, 4
jne 0x417618
or eax, 4
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.binNewsClient.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x210], eax
test eax, eax
je 0x417614
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x210]
call fcn.00422350
or dword [edi + 0x78], 4
and dword [edi + 0x7c], 0xfffffffb
test byte [ebp + 8], 1
je 0x417685
test byte [edi + 0x78], 1
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
jne 0x417685
mov eax, dword [edi + 0x7c]
test al, 1
jne 0x417685
or eax, 1
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.LogPlatform.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x210], eax
test eax, eax
je 0x417681
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x210]
call fcn.00422350
or dword [edi + 0x78], 1
and dword [edi + 0x7c], 0xfffffffe
test dword [ebp + 8], 0x400
je 0x417703
test dword [edi + 0x78], 0x400
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
jne 0x417703
mov eax, dword [edi + 0x7c]
test eax, 0x400
jne 0x417703
or eax, 0x400
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.binlmd.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x210], eax
test eax, eax
je 0x4176fc
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x210]
call fcn.00422350
or dword [edi + 0x78], 0x400
and dword [edi + 0x7c], 0xfffffbff
cmp dword [ebp - 0x214], 0
je 0x417781
test dword [edi + 0x78], 0x40000
jne 0x417781
mov eax, dword [edi + 0x7c]
test eax, 0x40000
jne 0x417781
mov ecx, dword [0x42fc90]
mov edx, dword [0x42fc94]
or eax, 0x40000
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x42fc98]
mov dword [eax + 4], edx
mov edx, dword [0x42fc9c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, str.binVideoShortcut.dll
mov ecx, edi
call fcn.00417c90
mov dword [ebp - 0x214], eax
test eax, eax
je 0x41777a
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x214]
call fcn.00422350
or dword [edi + 0x78], 0x40000
and dword [edi + 0x7c], 0xfffbffff
test byte [ebp + 8], 0x80
je 0x4177f6
test byte [edi + 0x78], 0x80
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
jne 0x4177f6
mov eax, dword [edi + 0x7c]
test al, al
js 0x4177f6
or eax, 0x80
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.binUpload.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x214], eax
test eax, eax
je 0x4177ef
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x214]
call fcn.00422350
or dword [edi + 0x78], 0x80
and dword [edi + 0x7c], 0xffffff7f
test dword [ebp + 8], 0x80000
je 0x41788b
cmp dword [edi + 0x90], 0
jne 0x41788b
test dword [edi + 0x78], 0x80000
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
jne 0x417881
mov eax, dword [edi + 0x7c]
test eax, 0x80000
jne 0x417881
or eax, 0x80000
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.binSKDP.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x214], eax
test eax, eax
je 0x41787a
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x214]
call fcn.00422350
or dword [edi + 0x78], 0x80000
and dword [edi + 0x7c], 0xfff7ffff
mov dword [edi + 0x90], 1
test byte [ebp + 8], 0x40
je 0x4179de
test byte [edi + 0x78], 0x40
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
jne 0x4178fc
mov eax, dword [edi + 0x7c]
test al, 0x40
jne 0x4178fc
or eax, 0x40
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.Update.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x214], eax
test eax, eax
je 0x4178f8
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x214]
call fcn.00422350
or dword [edi + 0x78], 0x40
and dword [edi + 0x7c], 0xffffffbf
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004277f0
mov eax, dword [0x43d030]
push 0
push 0
push 0
push 0x104
lea edx, [ebp - 0x20c]
push edx
push str.Update.dll
push eax
call dword [sym.imp.crt.dll_Ordinal_33]
mov ebx, dword [0x42d394]
add esp, 0x28
lea ecx, [ebp - 0x20c]
push ecx
call ebx
mov esi, dword [sym.imp.crt.dll_Ordinal_58]
test eax, eax
jne 0x417968
push 0
push 0
push 0
push 1
push str.DAILY.NEWUPDATE_MODULE_UPDATEDLLNOTEXIST
call esi
add esp, 0x14
lea edx, [ebp - 0x20c]
push edx
call dword [0x42d380]
push str.BaofengUpdate.exe
lea eax, [ebp - 0x20c]
push eax
call dword [0x42d398]
lea ecx, [ebp - 0x20c]
push ecx
call ebx
test eax, eax
jne 0x4179a3
push eax
push eax
push eax
push 1
push str.DAILY.NEWUPDATE_MODULE_UPDATEEXENOTEXIST
call esi
add esp, 0x14
lea edx, [ebp - 0x20c]
push edx
call dword [0x42d380]
push str.http.dll
lea eax, [ebp - 0x20c]
push eax
call dword [0x42d398]
lea ecx, [ebp - 0x20c]
push ecx
call ebx
test eax, eax
jne 0x4179de
push eax
push eax
push eax
push 1
push str.DAILY.NEWUPDATE_MODULE_UPDATEHTTPNOTEXIST
call esi
add esp, 0x14
mov eax, 0x800
test dword [ebp + 8], eax
je 0x417a59
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
test dword [edi + 0x78], eax
jne 0x417a59
mov eax, dword [edi + 0x7c]
test eax, 0x800
jne 0x417a59
or eax, 0x800
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.pfarr.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x214], eax
test eax, eax
je 0x417a52
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x214]
call fcn.00422350
or dword [edi + 0x78], 0x800
and dword [edi + 0x7c], 0xfffff7ff
mov eax, 0x2000
test dword [ebp + 8], eax
je 0x417ad4
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
test dword [edi + 0x78], eax
jne 0x417ad4
mov eax, dword [edi + 0x7c]
test eax, 0x2000
jne 0x417ad4
or eax, 0x2000
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.udm.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x214], eax
test eax, eax
je 0x417acd
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x214]
call fcn.00422350
or dword [edi + 0x78], 0x2000
and dword [edi + 0x7c], 0xffffdfff
mov eax, 0x20000
test dword [ebp + 8], eax
je 0x417b4f
mov ecx, dword [0x42dc38]
mov edx, dword [0x42dc3c]
mov esi, dword [0x42dc40]
mov ebx, dword [0x42dc44]
test dword [edi + 0x78], eax
jne 0x417b4f
mov eax, dword [edi + 0x7c]
test eax, 0x20000
jne 0x417b4f
or eax, 0x20000
sub esp, 0x10
mov dword [edi + 0x7c], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov edx, str.binLogSW.dll
mov ecx, edi
mov dword [eax + 0xc], ebx
call fcn.00417c90
mov dword [ebp - 0x214], eax
test eax, eax
je 0x417b48
lea esi, [edi + 0x68]
lea ecx, [ebp - 0x214]
call fcn.00422350
or dword [edi + 0x78], 0x20000
and dword [edi + 0x7c], 0xfffdffff
call dword [sym.imp.crt.dll_Ordinal_99]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042728e
mov esp, ebp
pop ebp
ret 4