Function at 0x41ec90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d9dc5
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x510337
call fcn.004b532d
mov eax, dword [edi + 0x77c]
lea ecx, [edi + 0x77c]
push ecx
cmp dword [eax - 0xc], 0
je 0x41ed67
lea ecx, [edi + 0x780]
call fcn.00403b80
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [edi + 0x780]
sub eax, 0x10
push eax
call fcn.004043f0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x30]
push eax
call fcn.004066d0
add esp, 8
cmp dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
jbe 0x41ef15
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
movzx eax, byte [eax]
push eax
call fcn.00408240
mov ecx, dword [edi + 0x7b0]
add esp, 4
mov dword [edi + 0x788], eax
mov dword [edi + 0x78c], edx
test ecx, ecx
je 0x41ed4e
mov eax, dword [ecx]
push dword [edi + 0x780]
call dword [eax + 0x2c]
lea ecx, [ebp - 0x30]
call fcn.004024c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x41ef1a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x4e5124
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00404300
test al, al
jne 0x41edaa
push 9
push 0x4e5124
mov ecx, esi
call fcn.00406280
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
push eax
mov ecx, edi
call fcn.0041e060
mov eax, dword [ebp - 0x14]
or esi, 0xffffffff
mov dword [ebp - 4], 2
cmp dword [eax - 0xc], 0
je 0x41ee38
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ee38
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x780]
call fcn.00403b80
mov ecx, dword [edi + 0x79c]
mov eax, dword [edi + 0x798]
test ecx, ecx
jl 0x41ee02
jg 0x41ee0e
cmp eax, 0x128c5680
ja 0x41ee0e
mov eax, dword [edi + 0x790]
mov ecx, dword [edi + 0x794]
mov dword [edi + 0x788], eax
mov dword [edi + 0x78c], ecx
mov ecx, dword [edi + 0x7b0]
test ecx, ecx
je 0x41eee5
mov eax, dword [ecx]
push dword [edi + 0x780]
call dword [eax + 0x2c]
jmp 0x41eee5
lea eax, [ebp - 0x10]
push eax
call fcn.00408320
add esp, 4
cmp dword [edi + 0x79c], 0
mov byte [ebp - 4], 3
jl 0x41ee7c
jg 0x41ee5f
cmp dword [edi + 0x798], 0x128c5680
jbe 0x41ee7c
push 0x11
push str.D:Program_Files_
lea ecx, [ebp - 0x10]
call fcn.00406280
mov eax, dword [edi + 0x798]
mov ecx, dword [edi + 0x79c]
jmp 0x41ee88
mov eax, dword [edi + 0x790]
mov ecx, dword [edi + 0x794]
mov dword [edi + 0x788], eax
push 9
mov dword [edi + 0x78c], ecx
lea ecx, [ebp - 0x10]
push str.GptChrome
call fcn.004040d0
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x780]
call fcn.00403b80
mov ecx, dword [edi + 0x7b0]
test ecx, ecx
je 0x41eec7
mov eax, dword [ecx]
push dword [edi + 0x780]
call dword [eax + 0x2c]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41eee5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41ef04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0040a460
push 0x80004005
call fcn.004042d0
int3