Function at 0x407aa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420390
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4282d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
add esi, 0xc
lea eax, [ebp - 0x10]
push esi
push eax
mov ebx, str.Baidu_Toolbar.exe
call fcn.00403ae0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407b14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x407c7b
mov ecx, dword [ebp - 0x10]
push 0
push ecx
call fcn.004096b0
test al, al
je 0x407b2e
push 0x1770
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x14]
push esi
push edx
mov ebx, str.ASBarBroker.exe
call fcn.00403ae0
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00403a70
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407af5
mov ecx, dword [ebp - 0x10]
push 0
push ecx
call fcn.004096b0
lea edx, [ebp - 0x18]
push esi
push edx
mov ebx, str.AddressBar.dll
call fcn.00403ae0
add esp, 8
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00403a70
xor bl, bl
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407bd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407bf4
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
jmp 0x407c79
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00402ed0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
push 0x65
push ecx
push edx
push eax
push str.http:__tuijian.bd.baofeng.com_banding_servlet_BDSuccess
push str._s_ver_sditchid_suid_ssoftid_d
lea edi, [ebp - 0x14]
call fcn.00403920
add esp, 0x18
mov ecx, edi
call fcn.00409dd0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407c68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x407c87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4