Function at 0x4062f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d386
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
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 edi, ecx
mov word [ebp - 0x9c], ax
xor ebx, ebx
push 0x29
mov eax, str.SOFTWAREBaiduBaidushoujizhushou_service
lea esi, [ebp - 0x9c]
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
call fcn.00412480
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0045a530
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x88], 8
jb 0x406383
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00464d3e
add esp, 4
mov eax, 7
mov dword [ebp - 0x88], eax
xor ecx, ecx
mov dword [ebp - 0x6c], eax
xor edx, edx
push 0x10
mov eax, str._baiduhelper.exe
lea esi, [ebp - 0x80]
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
call fcn.00412480
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
lea ebx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.0040eb40
add esp, 4
mov esi, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x6c], esi
jb 0x4063ea
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00464d3e
add esp, 4
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x18], esi
jae 0x40640a
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x406454
cmp dword [ebp - 0x18], esi
jb 0x406426
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00464d3e
add esp, 4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0xa4], esi
jb 0x40644d
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00464d3e
add esp, 4
mov al, 1
jmp 0x406732
lea eax, [ebp - 0x64]
push str.SOFTWAREBaiduBaidushoujizhushou_
lea ebx, [edi + 0x6a8]
push eax
call fcn.0040e540
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.0045a840
add esp, 0xc
lea ecx, [edi + 0x6c4]
mov edi, dword [ecx + 0x10]
mov edx, 0x10
mov dword [ebp - 0xe0], ecx
cmp dword [ecx + 0x14], edx
jb 0x406496
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x38]
mov eax, esi
cmp esi, edi
jb 0x4064a1
mov eax, edi
cmp dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x48]
jae 0x4064ac
lea edx, [ebp - 0x48]
call fcn.00411b60
xor ebx, ebx
cmp eax, ebx
jne 0x4064ca
cmp esi, edi
jb 0x4064ca
xor eax, eax
cmp esi, edi
setne al
cmp eax, ebx
je 0x4066b5
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xc4], ebx
cmp esi, ebx
je 0x406534
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x40650a
lea eax, [ebp - 0x48]
lea edx, [ebp - 0xc0]
push edx
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0xd4]
push edx
lea ecx, [ebp - 0xd8]
push ecx
push str._d._d._d._d
push eax
call fcn.00465cc8
add esp, 0x18
mov eax, dword [ebp - 0xd4]
imul eax, eax, 0x5f5e100
cdq
mov esi, eax
mov eax, dword [ebp - 0xd8]
push 0xe8
mov edi, edx
cdq
push 0xd4a51000
push edx
push eax
call fcn.0046c060
add esi, eax
mov eax, dword [ebp - 0xcc]
adc edi, edx
imul eax, eax, 0x2710
cdq
add esi, eax
mov eax, dword [ebp - 0xc0]
adc edi, edx
cdq
add esi, eax
adc edi, edx
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe8], esi
cmp dword [edx + 0x6d4], ebx
je 0x4065c9
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x14], 0x10
jb 0x40659f
mov eax, dword [eax]
lea ecx, [ebp - 0xc4]
push ecx
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xd0]
push edx
push str._d._d._d._d
push eax
call fcn.00465cc8
add esp, 0x18
mov eax, dword [ebp - 0xc8]
imul eax, eax, 0x5f5e100
cdq
mov ebx, eax
mov eax, dword [ebp - 0xd0]
push 0xe8
mov esi, edx
cdq
push 0xd4a51000
push edx
push eax
call fcn.0046c060
add ebx, eax
mov eax, dword [ebp - 0xbc]
adc esi, edx
imul eax, eax, 0x2710
cdq
add ebx, eax
mov eax, dword [ebp - 0xc4]
adc esi, edx
cdq
add ebx, eax
adc esi, edx
mov eax, ebx
or eax, esi
je 0x40664e
cmp edi, esi
jl 0x40664e
jg 0x406626
cmp dword [ebp - 0xe8], ebx
jb 0x40664e
lea ecx, [ebp - 0x48]
call fcn.00412f00
lea ecx, [ebp - 0x64]
call fcn.00412f00
lea esi, [ebp - 0x2c]
call fcn.00412900
lea esi, [ebp - 0xb8]
call fcn.00412900
jmp 0x406730
mov ebx, 0x10
cmp dword [ebp - 0x34], ebx
jb 0x406664
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00464d3e
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x50], ebx
jb 0x406686
mov edx, dword [ebp - 0x64]
push edx
call fcn.00464d3e
add esp, 4
mov dword [ebp - 0x50], esi
mov esi, 8
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x18], esi
jb 0x4066a6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00464d3e
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
jmp 0x406430
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jb 0x4066cb
mov eax, dword [ebp - 0x48]
push eax
call fcn.00464d3e
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jb 0x4066ea
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00464d3e
add esp, 4
mov dword [ebp - 0x50], esi
mov esi, 8
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x18], esi
jb 0x406709
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00464d3e
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0xa4], esi
jb 0x406730
mov ecx, dword [ebp - 0xb8]
push ecx
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