Function at 0x41b7b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x451270]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x288], 0
xor ecx, ecx
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], cx
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x22c], ecx
mov word [ebp - 0x23c], cx
test eax, eax
je 0x41b820
lea ebx, [ecx + 1]
push eax
lea ecx, [ebp - 0x284]
call fcn.004055b0
mov esi, eax
jmp 0x41b844
xor eax, eax
mov dword [ebp - 0x210], 7
mov ebx, 2
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x224], ax
lea esi, [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], ax
cmp dword [esi + 0x14], 8
jae 0x41b882
mov eax, dword [esi + 0x10]
inc eax
je 0x41b890
add eax, eax
push eax
lea eax, [ebp - 0x254]
push esi
push eax
call fcn.00420b40
add esp, 0xc
jmp 0x41b890
mov eax, dword [esi]
mov dword [ebp - 0x254], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x244], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x240], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
test bl, 2
je 0x41b8f1
and ebx, 0xfffffffd
cmp dword [ebp - 0x210], 8
jb 0x41b8d4
push dword [ebp - 0x224]
call fcn.00420949
add esp, 4
xor eax, eax
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], ax
test bl, 1
je 0x41b90d
cmp dword [ebp - 0x270], 8
jb 0x41b90d
push dword [ebp - 0x284]
call fcn.00420949
add esp, 4
mov edx, dword [str.http:__qbview.url.cn_getResourceInfo_appid52uaiospagew350pageh600platformtype600version10000doview1url]
cmp word [edx], 0
jne 0x41b91d
xor ecx, ecx
jmp 0x41b931
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b922
sub ecx, esi
sar ecx, 1
push ecx
push 0
push edx
lea ecx, [ebp - 0x254]
call fcn.00403c50
cmp eax, 0xffffffff
je 0x41b959
push 7
push str.init.js
lea ecx, [ebp - 0x23c]
call fcn.00401ad0
jmp 0x41b9a8
lea eax, [ebp - 0x254]
mov ecx, edi
push eax
call fcn.0041bca0
test al, al
je 0x41b97f
push 5
push str.rm.js
lea ecx, [ebp - 0x23c]
call fcn.00401ad0
jmp 0x41b9a8
lea eax, [ebp - 0x254]
mov ecx, edi
push eax
call fcn.0041bd40
lea ecx, [ebp - 0x23c]
test al, al
je 0x41b99e
push str.comm.js
jmp 0x41b9a3
push str.adb.js
call fcn.00401500
cmp dword [ebp - 0x22c], 0
je 0x41bb73
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00421940
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push 0x43efa8
push eax
call esi
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
cmp word [ebp - 0x20c], 0
jne 0x41ba34
xor ecx, ecx
jmp 0x41ba4f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ba40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00401ad0
cmp dword [ebp - 0x25c], 0
je 0x41bb73
cmp dword [ebp - 0x258], 8
lea eax, [ebp - 0x26c]
cmovae eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bb73
lea eax, [ebp - 0x284]
mov dword [ebp - 0x270], 0xf
push eax
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x274], 0
push eax
mov byte [ebp - 0x284], 0
call fcn.00404fc0
xor eax, eax
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x284]
mov dword [ebp - 0x214], 0
push 0xfde9
push eax
call fcn.00401330
add esp, 0x14
cmp dword [ebp - 0x210], 8
jb 0x41bc05
mov eax, dword [ebp - 0x224]
test eax, eax
jne 0x41bc0b
xor esi, esi
mov ecx, dword [edi + 8]
push esi
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x14]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x210], 8
jb 0x41bb3f
push dword [ebp - 0x224]
call fcn.00420949
add esp, 4
xor eax, eax
mov dword [ebp - 0x210], 7
cmp dword [ebp - 0x270], 0x10
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], ax
jb 0x41bb73
push dword [ebp - 0x284]
call fcn.00420949
add esp, 4
cmp dword [ebp - 0x240], 8
pop edi
pop esi
pop ebx
jb 0x41bb8d
push dword [ebp - 0x254]
call fcn.00420949
add esp, 4
xor eax, eax
mov dword [ebp - 0x240], 7
cmp dword [ebp - 0x228], 8
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], ax
jb 0x41bbc1
push dword [ebp - 0x23c]
call fcn.00420949
add esp, 4
xor eax, eax
mov dword [ebp - 0x228], 7
cmp dword [ebp - 0x258], 8
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], ax
jb 0x41bbf5
push dword [ebp - 0x26c]
call fcn.00420949
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421184
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
jne 0x41bb15
push 0x8007000e
call fcn.0040e310
int3