Function at 0x40e000
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e873
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov dword [ebp - 0x68], edi
call fcn.0040e226
push str.ksolite.dll
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 4], edi
call fcn.00404f12
mov edi, 8
add esp, 0x10
cmp dword [eax + 0x14], edi
jb 0x40e060
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
cmp dword [ebp - 0x34], edi
jb 0x40e07d
mov eax, dword [ebp - 0x48]
push eax
call fcn.00404f07
add esp, 4
test bl, bl
je 0x40e0d0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
lea edx, [ebp - 0x2c]
mov word [esi], cx
push edx
mov ecx, esi
call fcn.00403c9c
cmp dword [ebp - 0x18], edi
jb 0x40e0b0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f07
add esp, 4
mov eax, esi
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 4
lea ecx, [ebp - 0x64]
push 0x80000001
push ecx
call fcn.0041d1f8
push str.office6
push eax
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 1
call fcn.00405aad
add esp, 0x14
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00403c9c
cmp dword [ebp - 0x34], edi
jb 0x40e112
mov eax, dword [ebp - 0x48]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov byte [ebp - 4], cl
cmp dword [ebp - 0x50], edi
jb 0x40e138
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404f07
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x40e143
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e17a
lea ecx, [ebp - 0x2c]
xor eax, eax
push ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov ecx, esi
mov word [esi], ax
call fcn.00403c9c
cmp dword [ebp - 0x18], edi
jb 0x40e0b0
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x40e0a8
lea eax, [ebp - 0x64]
push 0x80000002
push eax
call fcn.0041d1f8
push str.office6
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 3
call fcn.00405aad
add esp, 0x14
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00403c9c
cmp dword [ebp - 0x34], edi
jb 0x40e1bc
mov edx, dword [ebp - 0x48]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x50], edi
jb 0x40e1e0
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00404f07
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x40e1eb
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
test eax, eax
je 0x40e09f
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00403c9c
cmp dword [ebp - 0x18], edi
jb 0x40e0b0
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x40e0a8