Function at 0x40a1de
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4162cc]
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040b085
pop ecx
test eax, eax
pop ecx
jne 0x40a58e
mov esi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str.SogouExplorer.exe
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a29f
push 4
call fcn.0040c396
mov ecx, eax
call fcn.0040c706
push dword [ebp - 8]
and byte [0x41c5d8], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a290
and word [ebp - 0x88], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x86]
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 8]
call fcn.0040bf6f
add esp, 0xc
test eax, eax
je 0x40a290
lea eax, [ebp - 0x88]
push 0x418c70
push eax
call fcn.00409c62
pop ecx
test eax, eax
pop ecx
jl 0x40a290
mov byte [0x41c5d8], 1
mov dword [0x41c5dc], 1
jmp 0x40a641
push str.ttraveler.exe
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a2be
mov dword [0x41c5dc], 2
jmp 0x40a641
push str.QQBrowser.exe
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a2dd
mov dword [0x41c5dc], 3
jmp 0x40a641
push str.Maxthon.exe
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a35c
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a34d
and word [ebp - 0x88], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x86]
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 8]
call fcn.0040bf6f
add esp, 0xc
test eax, eax
je 0x40a34d
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
xor ecx, ecx
cmp eax, 3
setge cl
add ecx, 4
mov dword [0x41c5dc], ecx
jmp 0x40a641
mov dword [0x41c5dc], 4
jmp 0x40a641
push str.360se.exe
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a387
push 6
pop esi
push esi
call fcn.0040c396
mov ecx, eax
call fcn.0040c706
mov dword [0x41c5dc], esi
jmp 0x40a641
push str.360chrome.exe
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a3b4
push 5
call fcn.0040c396
mov ecx, eax
call fcn.0040c706
mov dword [0x41c5dc], 7
jmp 0x40a641
push str.iexplore.exe
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a41e
call fcn.0040a18b
sub eax, 6
je 0x40a401
dec eax
je 0x40a3e7
dec eax
je 0x40a3f5
dec eax
jne 0x40a641
mov dword [0x41c5dc], 0xa
jmp 0x40a40b
push 4
call fcn.0040c396
mov ecx, eax
call fcn.0040c706
mov dword [0x41c5dc], 9
jmp 0x40a40b
mov dword [0x41c5dc], 8
push 4
call fcn.0040c396
mov ecx, eax
call fcn.0040c706
jmp 0x40a641
push str.TheWorld.exe
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a49b
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a48c
and word [ebp - 0x88], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x86]
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 8]
call fcn.0040bf6f
add esp, 0xc
test eax, eax
je 0x40a48c
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
xor ecx, ecx
cmp eax, 3
setl cl
dec ecx
and ecx, 0xfffffffa
add ecx, 0x11
jmp 0x40a342
mov dword [0x41c5dc], 0x11
jmp 0x40a641
push str.twchrome.exe
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a4ba
mov dword [0x41c5dc], 0xc
jmp 0x40a641
push str.chrome.exe
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a538
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a529
and word [ebp - 0x108], 0
push 0x3f
pop ecx
xor eax, eax
lea edi, [ebp - 0x106]
push 0x7f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 8]
call fcn.0040c03f
add esp, 0xc
test eax, eax
je 0x40a529
lea eax, [ebp - 0x108]
push str.ChromePlus
push eax
call esi
neg eax
sbb eax, eax
pop ecx
and al, 0xfb
pop ecx
add eax, 0x12
mov dword [0x41c5dc], eax
jmp 0x40a641
mov dword [0x41c5dc], 0xd
jmp 0x40a641
push str.Safari.exe
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a557
mov dword [0x41c5dc], 0xe
jmp 0x40a641
push 0x418aa4
push dword [ebp - 4]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40a576
mov dword [0x41c5dc], 0xf
jmp 0x40a641
push str.FireFox.exe
push dword [ebp - 4]
call esi
neg eax
sbb eax, eax
pop ecx
and eax, 0x10
pop ecx
add eax, 0x10
jmp 0x40a51f
push ebx
call fcn.0040a18b
push 9
pop ebx
push 6
pop esi
cmp eax, esi
je 0x40a5c9
jle 0x40a5bd
cmp eax, 8
jle 0x40a5b5
cmp eax, ebx
jne 0x40a5bd
mov dword [0x41c5dc], 0xa
jmp 0x40a5d3
mov dword [0x41c5dc], ebx
jmp 0x40a5d3
mov dword [0x41c5dc], 0x20
jmp 0x40a5d3
mov dword [0x41c5dc], 8
push 1
push 1
call fcn.0040c3cd
mov ecx, eax
call fcn.0040c4df
push 0x46
xor eax, eax
pop ecx
lea edi, [ebp - 0x120]
mov dword [ebp - 0x124], 0x11c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], esi
jb 0x40a613
push 2
jmp 0x40a615
push 1
push ebx
call fcn.0040c3cd
mov ecx, eax
call fcn.0040c619
push dword [0x41c5dc]
push 8
call fcn.0040c3cd
mov ecx, eax
call fcn.0040c619
mov dword [0x41c5dc], 0x20
pop ebx
lea ecx, [ebp - 8]
call fcn.00403948
lea ecx, [ebp - 4]
call fcn.00403948
pop edi
pop esi
leave
ret