Function at 0x41d1f8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e74a
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 0x49df68
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.00403bac
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.00403bac
mov byte [ebp - 4], 2
call fcn.004117ab
mov edx, str.SOFTWAREKingsoftPDFCommon
test al, al
jne 0x41d29b
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 0x41d2ac
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x64]
call fcn.00403bac
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.0040f940
add esp, 0x14
mov edi, 8
mov dword [ebp - 0xc4], 1
cmp dword [ebp - 0x50], edi
jb 0x41d30b
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00404f07
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 0x41d328
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f07
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 0x41d348
mov edx, dword [ebp - 0x48]
push edx
call fcn.00404f07
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 0x41d375
cmp dword [eax + 0x14], edi
jb 0x41d366
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d53e
xor ecx, ecx
push ebx
mov word [ebp - 0xe0], cx
push 0x49df68
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd0], ebx
call fcn.00403bac
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.00403bac
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.00403bac
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.0040f940
add esp, 0x14
cmp dword [ebp - 0x6c], edi
jb 0x41d424
mov eax, dword [ebp - 0x80]
push eax
call fcn.00404f07
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 0x41d447
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00404f07
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 0x41d477
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.00404f07
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 0x41d527
lea eax, [ebp - 0x64]
push eax
call fcn.0040e226
push 0x49b980
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00405aad
lea edx, [ebp - 0xb8]
push edx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xc
call fcn.00409544
add esp, 0x1c
mov ecx, dword [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0xd
call fcn.00403c9c
cmp dword [ebp - 0x34], edi
jb 0x41d4ed
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00404f07
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 0x41d50a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f07
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 0x41d527
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404f07
add esp, 4
cmp dword [ebp - 0xa4], edi
jb 0x41d53e
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00404f07
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