Function at 0x41c1a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484d38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b7b70]
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 edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
push 0x48b450
mov dword [ebp - 4], edi
call fcn.00424af0
add esp, 4
lea eax, [ebp - 0x20]
push eax
push 0x2001f
push edi
push str.SOFTWAREMicrosoftOffice12.0MOC
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x41c480
mov ecx, dword [ebp - 0x20]
push 0x48b3f8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edi
call fcn.00424af0
add esp, 4
call fcn.004462c7
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41c23b
push 0x80004005
call fcn.00410860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x2b
push str.C:Program_FilesMicrosoft_OfficeOffice12_
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00411460
push str.OFFICE12
push str.OFFICE11
lea ecx, [ebp - 0x14]
call fcn.00415160
mov esi, dword [ebp - 0x14]
lea eax, [esi - 0x10]
push eax
call fcn.00411050
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 2]
add eax, 0xffffffb0
mov byte [ebp - 4], 2
cmp eax, 0x28
ja case.0x41c2a2.81
movzx edx, byte [eax + 0x41c4b4]
jmp dword [edx*4 + 0x41c4a4]
push str.Wordconv.exe
lea ecx, [ebp - 0x14]
call fcn.00411ed0
mov esi, dword [ebp - 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call ebx
test eax, eax
je 0x41c32c
cmp esi, edi
jne 0x41c2df
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
jmp 0x41c428
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41c303
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
jmp 0x41c428
lea edi, [eax + eax]
mov eax, edi
call fcn.00460f20
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0040f410
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
jmp 0x41c428
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004118e0
push str.wordconv.exe
jmp 0x41c3d7
push str.Excelcnv.exe
lea ecx, [ebp - 0x14]
call fcn.00411ed0
mov esi, dword [ebp - 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call ebx
test eax, eax
je 0x41c37c
cmp esi, edi
jne 0x41c2df
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
jmp 0x41c428
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004118e0
push str.excelcnv.exe
jmp 0x41c3d7
push str.PPCNVCOM.exe
lea ecx, [ebp - 0x14]
call fcn.00411ed0
mov esi, dword [ebp - 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call ebx
test eax, eax
je 0x41c3c6
cmp esi, edi
jne 0x41c2df
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
jmp 0x41c428
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.004118e0
push str.ppcnvcom.exe
lea ecx, [ebp - 0x14]
call fcn.00411ed0
mov esi, dword [ebp - 0x14]
cmp esi, edi
jne 0x41c3ea
xor eax, eax
jmp 0x41c413
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41c3fd
xor eax, eax
jmp 0x41c413
lea edi, [eax + eax]
mov eax, edi
call fcn.00460f20
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0040f410
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
push esi
call ebx
test eax, eax
je case.0x41c2a2.81
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c452
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41c480
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
lea esp, [ebp - 0x38]
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.00460f10
mov esp, ebp
pop ebp
ret 4