Function at 0x41bbe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508a38
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov dword [ebp - 0x68], edi
call fcn.0041ab70
push str.ksolite.dll
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 4], edi
call fcn.004017a0
mov edi, 8
add esp, 0x10
cmp dword [eax + 0x14], edi
jb 0x41bc40
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
cmp dword [ebp - 0x34], edi
jb 0x41bc5d
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9d66
add esp, 4
test bl, bl
je 0x41bcb0
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.00401720
cmp dword [ebp - 0x18], edi
jb 0x41bc90
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9d66
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.004ba901
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x64]
push 0x80000001
push ecx
call fcn.0041b580
push str.office6
push eax
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 1
call fcn.00401890
add esp, 0x14
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401720
cmp dword [ebp - 0x34], edi
jb 0x41bcf2
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9d66
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 0x41bd18
mov edx, dword [ebp - 0x64]
push edx
call fcn.004b9d66
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41bd23
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bd5a
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.00401720
cmp dword [ebp - 0x18], edi
jb 0x41bc90
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x41bc88
lea eax, [ebp - 0x64]
push 0x80000002
push eax
call fcn.0041b580
push str.office6
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 3
call fcn.00401890
add esp, 0x14
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00401720
cmp dword [ebp - 0x34], edi
jb 0x41bd9c
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b9d66
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 0x41bdc0
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b9d66
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41bdcb
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 0x41bc7f
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00401720
cmp dword [ebp - 0x18], edi
jb 0x41bc90
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x41bc88