Function at 0x4907a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x260
mov esi, dword [ebp + 8]
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x258], eax
lea edi, [esp + 0x50]
push 0x208
push 0
push edi
call fcn.006030b0
add esp, 0xc
push str.chrome.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x490848
push 0x103
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360base.dll
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.006208d5
add esp, 4
cmp eax, 0x7ffffff0
jae 0x490a1f
mov ebx, eax
cmp eax, 5
jae 0x4909c5
mov byte [esi + 0xb], bl
mov edi, esi
test ebx, ebx
jne 0x4909ee
jmp 0x490a01
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edi, edi
cmp word [esp + 0x50], 0
mov eax, 0
je 0x49087d
xor ecx, ecx
nop word [eax + eax]
lea eax, [ecx + 1]
cmp word [esp + ecx*2 + 0x52], 0
mov ecx, eax
jne 0x490870
lea ebx, [esp + 0x44]
mov ecx, ebx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0046ed80
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00481560
add esp, 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
cmp dword [esp + 0x40], 0
je 0x490995
lea edi, [esp + 0xc]
lea ecx, [esp + 0x44]
push edi
call fcn.0046f6e0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov esi, esp
push esi
call dword [eax + 0x28]
movzx eax, byte [esp + 0xb]
test al, al
jns 0x4908e9
mov esi, dword [esp]
mov eax, dword [esp + 4]
lea ebx, [esp + 0x18]
mov ecx, edi
push eax
push esi
push ebx
call fcn.0046fbd0
lea esi, [esp + 0x24]
mov ecx, ebx
push 0xb
push str.360base.dll
push esi
call fcn.0046fbd0
lea edi, [esp + 0x30]
mov ecx, edi
push esi
call fcn.00468c2e
mov ecx, esi
call fcn.0046ee40
mov ecx, ebx
call fcn.0046ee40
cmp byte [esp + 0xb], 0
jns 0x490936
push dword [esp]
call fcn.00517bd6
add esp, 4
lea ecx, [esp + 0xc]
call fcn.0046ee40
cmp byte [esp + 0x3b], 0
mov esi, dword [ebp + 8]
jns 0x49094d
mov edi, dword [esp + 0x30]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x490991
lea ecx, [esp + 0x44]
lea edi, [esp + 0x18]
push edi
call fcn.0046f6e0
mov ecx, edi
push 0xb
push str.360base.dll
lea ebx, [esp + 0x2c]
push ebx
call fcn.0046fbd0
lea ecx, [esp + 0x30]
push ebx
call fcn.00468c2e
mov ecx, ebx
call fcn.0046ee40
mov ecx, edi
call fcn.0046ee40
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x30]
movsd qword [esi], xmm0
mov dword [esp + 0x40], 0
test edi, edi
je 0x4909ba
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea ecx, [esp + 0x44]
call fcn.0046ee40
jmp 0x490a07
lea esi, [ebx + 8]
and esi, 0xfffffff8
js 0x490a26
lea eax, [esi + esi]
push eax
call fcn.00517b56
add esp, 4
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [eax], edi
or esi, 0x80000000
mov dword [eax + 8], esi
mov esi, eax
mov dword [eax + 4], ebx
mov eax, ebx
add eax, ebx
push eax
lea eax, [esp + 0x54]
push eax
push edi
call fcn.006025b0
add esp, 0xc
mov word [edi + ebx*2], 0
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.00517c1a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.00467d64
call fcn.0061842c
int3