Function at 0x42cbc2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51379d
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [section..data]
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 0x523b80
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.0040392d
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.0040392d
mov byte [ebp - 4], 2
call fcn.0041280d
mov edx, str.SOFTWAREKingsoftPDFCommon
test al, al
jne 0x42cc65
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 0x42cc76
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x64]
call fcn.0040392d
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.00410b67
add esp, 0x14
mov edi, 8
mov dword [ebp - 0xc4], 1
cmp dword [ebp - 0x50], edi
jb 0x42ccd5
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00404f7d
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 0x42ccf2
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f7d
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 0x42cd12
mov edx, dword [ebp - 0x48]
push edx
call fcn.00404f7d
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 0x42cd3f
cmp dword [eax + 0x14], edi
jb 0x42cd30
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42cf08
xor ecx, ecx
push ebx
mov word [ebp - 0xe0], cx
push 0x523b80
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd0], ebx
call fcn.0040392d
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.0040392d
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.0040392d
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.00410b67
add esp, 0x14
cmp dword [ebp - 0x6c], edi
jb 0x42cdee
mov eax, dword [ebp - 0x80]
push eax
call fcn.00404f7d
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 0x42ce11
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00404f7d
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 0x42ce41
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.00404f7d
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 0x42cef1
lea eax, [ebp - 0x64]
push eax
call fcn.0040fd1b
push 0x520f74
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00405b23
lea edx, [ebp - 0xb8]
push edx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040c156
add esp, 0x1c
mov ecx, dword [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0xd
call fcn.00403fa0
cmp dword [ebp - 0x34], edi
jb 0x42ceb7
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00404f7d
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 0x42ced4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f7d
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 0x42cef1
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404f7d
add esp, 4
cmp dword [ebp - 0xa4], edi
jb 0x42cf08
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00404f7d
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.0040330b
mov esp, ebp
pop ebp
ret