Function at 0x1003e6d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012e0ae
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1017d4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], esi
mov dword [esi], vtable.CInstallTask.0
call fcn.10004f20
mov ecx, eax
test ecx, ecx
je 0x1003e947
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call fcn.10043290
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 1
call fcn.10044a60
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 2
call fcn.10048370
lea ecx, [esi + 0x188]
mov byte [ebp - 4], 3
call fcn.1004cdf0
mov byte [ebp - 4], 4
call fcn.10004f20
mov ecx, eax
test ecx, ecx
je 0x1003e951
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x2a8], eax
mov byte [ebp - 4], 5
lea edi, [esi + 0x2b0]
mov dword [esi + 0x2ac], 0
call fcn.10004f20
mov ecx, eax
test ecx, ecx
je 0x1003e95b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x208
mov dword [esi + 0x2b4], 0
lea eax, [ebp - 0x218]
mov dword [esi + 0x2b8], 7
push 0
mov dword [esi + 0x2bc], 0
mov dword [esi + 0x2c0], 0
push eax
mov byte [ebp - 4], 6
mov byte [esi + 0x2c4], 0
call fcn.100ce270
lea eax, [ebp - 0x21c]
push eax
call fcn.10012f20
mov eax, dword [ebp - 0x21c]
add esp, 0x10
cmp dword [eax - 0xc], 0
je 0x1003e908
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003e902
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100ebccd
mov edx, dword [ebp - 0x21c]
add esp, 0xc
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003e85e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.LdsSecurity.exe
lea eax, [ebp - 0x218]
mov dword [esi + 0x2ac], 3
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [edi]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or ecx, eax
jge 0x1003e89e
push 0x104
mov ecx, edi
call fcn.100052b0
mov edx, dword [edi]
cmp dword [edx - 8], 0x104
jl 0x1003e965
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi]
push 0x104
push edx
mov word [eax + 0x208], cx
lea eax, [ebp - 0x218]
push eax
call fcn.1004ea50
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jne 0x1003e8dc
xor ecx, ecx
jmp 0x1003e8ee
push dword [eax - 8]
push eax
call fcn.100ec86a
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1003e965
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x1003e965
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
jmp 0x1003e92a
mov eax, dword [ebp - 0x21c]
lea edi, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1003e920
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esi + 0x2ac], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100845e8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100042d0
push 0x80004005
call fcn.100042d0
push 0x80004005
call fcn.100042d0
push 0x80070057
call fcn.100042d0
int3