Function at 0x41b580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50894b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x547770]
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 0x514388
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.004021e0
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.004021e0
mov byte [ebp - 4], 2
call fcn.0041ac90
mov edx, str.SOFTWAREKingsoftPDFCommon
test al, al
jne 0x41b623
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 0x41b634
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x64]
call fcn.004021e0
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.0041b2d0
add esp, 0x14
mov edi, 8
mov dword [ebp - 0xc4], 1
cmp dword [ebp - 0x50], edi
jb 0x41b693
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b9d66
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 0x41b6b0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9d66
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 0x41b6d0
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b9d66
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 0x41b6fd
cmp dword [eax + 0x14], edi
jb 0x41b6ee
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b8c6
xor ecx, ecx
push ebx
mov word [ebp - 0xe0], cx
push 0x514388
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd0], ebx
call fcn.004021e0
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.004021e0
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.004021e0
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.0041b2d0
add esp, 0x14
cmp dword [ebp - 0x6c], edi
jb 0x41b7ac
mov eax, dword [ebp - 0x80]
push eax
call fcn.004b9d66
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 0x41b7cf
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004b9d66
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 0x41b7ff
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.004b9d66
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 0x41b8af
lea eax, [ebp - 0x64]
push eax
call fcn.0041ab70
push 0x511e7c
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00401890
lea edx, [ebp - 0xb8]
push edx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xc
call fcn.00410960
add esp, 0x1c
mov ecx, dword [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401720
cmp dword [ebp - 0x34], edi
jb 0x41b875
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9d66
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 0x41b892
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9d66
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 0x41b8af
mov edx, dword [ebp - 0x64]
push edx
call fcn.004b9d66
add esp, 4
cmp dword [ebp - 0xa4], edi
jb 0x41b8c6
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004b9d66
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.004ba901
mov esp, ebp
pop ebp
ret