Function at 0x100305f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e383e
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x101237f8]
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.10004e30
mov ecx, eax
test ecx, ecx
je 0x10030842
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.100352f0
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 1
call fcn.10036830
lea ecx, [esi + 0x104]
mov byte [ebp - 4], 2
call fcn.10039a20
lea ecx, [esi + 0x160]
mov byte [ebp - 4], 3
call fcn.1003d280
mov byte [ebp - 4], 4
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x1003084c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x280], eax
mov byte [ebp - 4], 5
lea edi, [esi + 0x288]
mov dword [esi + 0x284], 0
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x10030856
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push 0
push eax
mov dword [esi + 0x28c], 0
call fcn.1006a830
lea eax, [ebp - 0x21c]
push eax
call fcn.1000c6c0
mov eax, dword [ebp - 0x21c]
add esp, 0x10
cmp dword [eax - 0xc], 0
je 0x10030803
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100307fd
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10086654
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 0x10030759
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x100edb38
lea eax, [ebp - 0x218]
mov dword [esi + 0x284], 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 0x10030799
push 0x104
mov ecx, edi
call fcn.100051c0
mov edx, dword [edi]
cmp dword [edx - 8], 0x104
jl 0x10030860
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.1003f020
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jne 0x100307d7
xor ecx, ecx
jmp 0x100307e9
push dword [eax - 8]
push eax
call fcn.100871f1
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x10030860
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x10030860
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
jmp 0x10030825
mov eax, dword [ebp - 0x21c]
lea edi, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1003081b
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esi + 0x284], 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.1005a0a8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100041e0
push 0x80004005
call fcn.100041e0
push 0x80004005
call fcn.100041e0
push 0x80070057
call fcn.100041e0
int3