Function at 0x46b6a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3071
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4e24e0]
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 eax, dword [0x4ebc54]
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x230], edi
cmp eax, edi
jne 0x46b7a6
lea esi, [ebp - 0x234]
call fcn.004016d0
push 0x4aebd8
push eax
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 4], edi
call fcn.0040f510
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b72f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46b76d
mov eax, dword [ebp - 0x224]
mov esi, eax
call fcn.0040f130
test eax, eax
je 0x46b76d
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
je 0x46b76d
push 0x4aebf0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ebc54], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46b796
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4ebc54]
cmp eax, edi
jne 0x46b7a6
xor eax, eax
jmp 0x46b94e
mov dword [ebp - 0x220], edi
lea ecx, [ebp - 0x220]
push ecx
push 0x4cecf0
mov dword [ebp - 4], 3
call eax
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x46b935
mov edx, dword [eax]
push edi
push ebx
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
je 0x46b92f
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x22c]
push edx
mov dword [ebp - 0x22c], edi
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0x54]
call eax
cmp eax, edi
jne 0x46b821
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
lea edx, [ebp - 0x22c]
push edx
push 2
push eax
mov eax, dword [ecx + 0x54]
call eax
cmp eax, edi
je 0x46b92f
mov eax, dword [ebp - 0x220]
push edi
lea edx, [ebp - 0x228]
mov dword [ebp - 0x228], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
test eax, eax
jl 0x46b92f
mov esi, dword [ebp - 0x228]
cmp esi, edi
je 0x46b92f
push 0x206
lea edx, [ebp - 0x21a]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x21c], cx
call fcn.0044b7d0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
add esp, 0xc
push 0x102
lea ecx, [ebp - 0x21c]
push ecx
push 3
push esi
call edx
lea eax, [ebp - 0x21c]
push str.Qizhi_Software__beijing__Co._Ltd
push eax
call fcn.004479b4
add esp, 8
test eax, eax
je 0x46b917
lea ecx, [ebp - 0x21c]
push str.360.cn
push ecx
call fcn.004479b4
add esp, 8
test eax, eax
je 0x46b917
lea edx, [ebp - 0x21c]
push str.Qihoo_360_Software__Beijing__Company_Limited
push edx
call fcn.004479b4
add esp, 8
test eax, eax
je 0x46b917
lea eax, [ebp - 0x21c]
push str.QIHU_360_SOFTWARE_CO._LIMITED
push eax
call fcn.004479b4
add esp, 8
test eax, eax
je 0x46b917
lea ecx, [ebp - 0x21c]
push str.Beijing_Qihoo_Technologies_Co._Ltd
push ecx
call fcn.004479b4
add esp, 8
test eax, eax
je 0x46b917
lea edx, [ebp - 0x21c]
push str.Beijing_Qihu_Technology_Co.__Ltd.
push edx
call fcn.004479b4
add esp, 8
test eax, eax
jne 0x46b921
mov dword [ebp - 0x230], 1
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x46b948
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x230]
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.0044557a
mov esp, ebp
pop ebp
ret