Function at 0x418960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47884b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4a3110]
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
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc4], ebx
push ebx
mov dword [ebp - 0xc0], ecx
xor edx, edx
mov esi, 7
push 0x480fe8
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.00401f10
push 0xb
xor eax, eax
push str.InstallRoot
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00401f10
mov byte [ebp - 4], 2
call fcn.00418200
mov edx, str.SOFTWAREKingsoftPDFCommon
test al, al
jne 0x418a03
mov edx, str.SOFTWAREKingsoftOffice6.0Common
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418a14
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x64]
call fcn.00401f10
lea edx, [ebp - 0x48]
push edx
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x64]
push ecx
push edx
push eax
mov byte [ebp - 4], 3
call fcn.004186b0
add esp, 0x14
mov edi, 8
mov dword [ebp - 0xc4], 1
cmp dword [ebp - 0x50], edi
jb 0x418a73
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0042a9e1
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x18], edi
jb 0x418a90
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042a9e1
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], edi
jb 0x418ab0
mov edx, dword [ebp - 0x48]
push edx
call fcn.0042a9e1
add esp, 4
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
cmp dword [eax + 0x10], ebx
je 0x418add
cmp dword [eax + 0x14], edi
jb 0x418ace
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x418ca6
xor ecx, ecx
push ebx
mov word [ebp - 0xe0], cx
push 0x480fe8
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd0], ebx
call fcn.00401f10
push esi
xor edx, edx
push str.Version
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 4
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
call fcn.00401f10
push 0x23
xor eax, eax
push str.SOFTWAREKingsoftOffice6.0Common
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
call fcn.00401f10
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x80]
push eax
push ecx
lea edx, [ebp - 0xb8]
push edx
mov byte [ebp - 4], 6
call fcn.004186b0
add esp, 0x14
cmp dword [ebp - 0x6c], edi
jb 0x418b8c
mov eax, dword [ebp - 0x80]
push eax
call fcn.0042a9e1
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x88], edi
jb 0x418baf
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0042a9e1
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xcc], edi
jb 0x418bdf
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.0042a9e1
add esp, 4
xor edx, edx
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd0], ebx
mov word [ebp - 0xe0], dx
cmp dword [ebp - 0xa8], ebx
je 0x418c8f
lea eax, [ebp - 0x64]
push eax
call fcn.004180e0
push 0x47ea94
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00401880
lea edx, [ebp - 0xb8]
push edx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040e910
add esp, 0x1c
mov ecx, dword [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401710
cmp dword [ebp - 0x34], edi
jb 0x418c55
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0042a9e1
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], edi
jb 0x418c72
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042a9e1
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x50], edi
jb 0x418c8f
mov edx, dword [ebp - 0x64]
push edx
call fcn.0042a9e1
add esp, 4
cmp dword [ebp - 0xa4], edi
jb 0x418ca6
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0042a9e1
add esp, 4
mov eax, dword [ebp - 0xbc]
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.0042b571
mov esp, ebp
pop ebp
ret