Function at 0x419190
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478968
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4a3110]
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.004180e0
push str.ksolite.dll
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 4], edi
call fcn.00401790
mov edi, 8
add esp, 0x10
cmp dword [eax + 0x14], edi
jb 0x4191f0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
cmp dword [ebp - 0x34], edi
jb 0x41920d
mov eax, dword [ebp - 0x48]
push eax
call fcn.0042a9e1
add esp, 4
test bl, bl
je 0x419260
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.00401710
cmp dword [ebp - 0x18], edi
jb 0x419240
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042a9e1
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.0042b571
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x64]
push 0x80000001
push ecx
call fcn.00418960
push str.office6
push eax
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 1
call fcn.00401880
add esp, 0x14
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401710
cmp dword [ebp - 0x34], edi
jb 0x4192a2
mov eax, dword [ebp - 0x48]
push eax
call fcn.0042a9e1
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 0x4192c8
mov edx, dword [ebp - 0x64]
push edx
call fcn.0042a9e1
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4192d3
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41930a
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.00401710
cmp dword [ebp - 0x18], edi
jb 0x419240
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x419238
lea eax, [ebp - 0x64]
push 0x80000002
push eax
call fcn.00418960
push str.office6
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 3
call fcn.00401880
add esp, 0x14
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00401710
cmp dword [ebp - 0x34], edi
jb 0x41934c
mov edx, dword [ebp - 0x48]
push edx
call fcn.0042a9e1
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 0x419370
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0042a9e1
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41937b
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 0x41922f
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00401710
cmp dword [ebp - 0x18], edi
jb 0x419240
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x419238