Function at 0x40b310
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bfe1
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x4ad658]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x2c], ax
mov ebx, 7
xor edi, edi
push 0x29
mov eax, str.SOFTWAREBaiduBaidushoujizhushou_service
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
call fcn.00412480
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0045a530
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
jb 0x40b38a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00464d3e
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
xor ecx, ecx
push 0x10
mov eax, str._baiduhelper.exe
lea esi, [ebp - 0x48]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
call fcn.00412480
lea edx, [ebp - 0x64]
push edx
mov eax, esi
lea ebx, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.0040eb40
add esp, 4
mov ebx, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], ebx
jb 0x40b3e3
mov eax, dword [ebp - 0x48]
push eax
call fcn.00464d3e
add esp, 4
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x50], ebx
jae 0x40b3ff
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b445
cmp dword [ebp - 0x50], ebx
jb 0x40b41b
mov edx, dword [ebp - 0x64]
push edx
call fcn.00464d3e
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], ax
cmp dword [ebp - 0xdc], ebx
jb 0x40b43e
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.00464d3e
add esp, 4
mov al, 1
jmp 0x40b81c
mov dword [ebp - 0x18], esi
xor edx, edx
push 0x26
mov eax, str.SOFTWAREBaiduBaidushoujizhushoumini
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.00412480
lea eax, [ebp - 0x9c]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0045a530
add esp, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], ebx
jb 0x40b489
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00464d3e
add esp, 4
mov eax, 7
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
xor eax, eax
xor edx, edx
mov word [ebp - 0x48], ax
push 0x15
mov eax, str._baidupcsuitemini.exe
lea esi, [ebp - 0x48]
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x38], edi
call fcn.00412480
lea ecx, [ebp - 0x80]
push ecx
mov eax, esi
lea ebx, [ebp - 0x9c]
mov byte [ebp - 4], 9
call fcn.0040eb40
add esp, 4
mov esi, 8
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x34], esi
jb 0x40b4e7
mov edx, dword [ebp - 0x48]
push edx
call fcn.00464d3e
add esp, 4
xor eax, eax
mov ebx, 7
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
cmp dword [ebp - 0x6c], esi
jae 0x40b503
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b59a
cmp dword [ebp - 0x6c], esi
jb 0x40b523
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00464d3e
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], esi
jb 0x40b546
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00464d3e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x50], esi
jb 0x40b56c
mov edx, dword [ebp - 0x64]
push edx
call fcn.00464d3e
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], ax
cmp dword [ebp - 0xdc], esi
jb 0x40b43e
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.00464d3e
add esp, 4
mov al, 1
jmp 0x40b81c
xor edx, edx
push 0x29
mov eax, str.SOFTWAREBaiduBaidushoujizhushoupcsuite
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.00412480
lea eax, [ebp - 0xd4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0045a530
add esp, 4
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x18], 8
jb 0x40b5e0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00464d3e
add esp, 4
xor eax, eax
xor edx, edx
mov word [ebp - 0x48], ax
push 0x17
mov eax, str._baidushoujizhushou.exe
lea esi, [ebp - 0x48]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
call fcn.00412480
lea ecx, [ebp - 0xb8]
push ecx
mov eax, esi
lea ebx, [ebp - 0xd4]
mov byte [ebp - 4], 0xf
call fcn.0040eb40
mov esi, 8
add esp, 4
cmp dword [ebp - 0x34], esi
jb 0x40b638
mov edx, dword [ebp - 0x48]
push edx
call fcn.00464d3e
add esp, 4
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], esi
jae 0x40b64c
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b740
cmp dword [ebp - 0xa4], esi
jb 0x40b672
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00464d3e
add esp, 4
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], edi
mov word [ebp - 0xb8], cx
cmp dword [ebp - 0xc0], esi
jb 0x40b6a3
mov edx, dword [ebp - 0xd4]
push edx
call fcn.00464d3e
add esp, 4
xor eax, eax
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xc4], edi
mov word [ebp - 0xd4], ax
cmp dword [ebp - 0x6c], esi
jb 0x40b6c9
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00464d3e
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], esi
jb 0x40b6ec
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00464d3e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x50], esi
jb 0x40b712
mov edx, dword [ebp - 0x64]
push edx
call fcn.00464d3e
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], ax
cmp dword [ebp - 0xdc], esi
jb 0x40b43e
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.00464d3e
add esp, 4
mov al, 1
jmp 0x40b81c
cmp dword [ebp - 0xa4], esi
jb 0x40b757
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00464d3e
add esp, 4
xor eax, eax
mov ebx, 7
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], edi
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0xc0], esi
jb 0x40b788
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.00464d3e
add esp, 4
xor edx, edx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xc4], edi
mov word [ebp - 0xd4], dx
cmp dword [ebp - 0x6c], esi
jb 0x40b7ae
mov eax, dword [ebp - 0x80]
push eax
call fcn.00464d3e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x88], esi
jb 0x40b7d1
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00464d3e
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x50], esi
jb 0x40b7f7
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00464d3e
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
cmp dword [ebp - 0xdc], esi
jb 0x40b81a
mov eax, dword [ebp - 0xf0]
push eax
call fcn.00464d3e
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464d49
mov esp, ebp
pop ebp
ret