Function at 0x41e4a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e8e0d
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x524e73
call fcn.004e6414
mov edx, dword [edi + 0x77c]
cmp dword [edx - 0xc], 0
je 0x41e5e7
mov esi, dword [edi + 0x780]
lea ecx, [edx - 0x10]
sub esi, 0x10
cmp ecx, esi
je 0x41e536
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x41e527
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x41e527
call fcn.00408b90
mov dword [ebp - 0x18], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e51c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [edi + 0x780], eax
jmp 0x41e536
push dword [edx - 0xc]
lea ecx, [edi + 0x780]
push edx
call fcn.00408c90
push ecx
mov ecx, dword [edi + 0x780]
mov esi, esp
sub ecx, 0x10
mov dword [ebp - 0x18], esi
call fcn.00408b90
add eax, 0x10
lea ecx, [ebp - 0x30]
mov dword [esi], eax
call fcn.00405a00
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
jbe 0x41e7fc
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov cl, byte [eax]
call fcn.004046f0
mov ecx, dword [edi + 0x7b0]
mov dword [edi + 0x788], eax
mov dword [edi + 0x78c], edx
test ecx, ecx
je 0x41e59e
mov eax, dword [ecx]
push dword [edi + 0x780]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x41e7eb
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e5cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e801
push ecx
push edx
call fcn.004b8e2a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, esp
push str.GptChrome
call fcn.00408580
lea eax, [ebp - 0x14]
push eax
call fcn.0041e2b0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x41e6d3
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e6d3
mov edx, dword [ebp - 0x14]
lea ecx, [edi + 0x780]
mov esi, dword [ecx]
add edx, 0xfffffff0
sub esi, 0x10
or ebx, 0xffffffff
cmp edx, esi
je 0x41e686
cmp dword [esi + 0xc], 0
jl 0x41e674
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x41e674
mov ecx, edx
call fcn.00408b90
mov dword [ebp - 0x18], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e667
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
lea ecx, [edi + 0x780]
mov dword [ecx], eax
jmp 0x41e686
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
push eax
call fcn.00408c90
lea ecx, [edi + 0x780]
mov edx, dword [edi + 0x79c]
mov eax, dword [edi + 0x798]
test edx, edx
jl 0x41e69f
jg 0x41e6ab
cmp eax, 0x128c5680
ja 0x41e6ab
mov eax, dword [edi + 0x790]
mov edx, dword [edi + 0x794]
mov dword [edi + 0x788], eax
mov dword [edi + 0x78c], edx
mov edx, dword [edi + 0x7b0]
test edx, edx
je 0x41e7d3
mov eax, dword [edx]
push dword [ecx]
mov ecx, edx
call dword [eax + 0x2c]
jmp 0x41e7d3
lea ecx, [ebp - 0x10]
call fcn.00404fb0
mov byte [ebp - 4], 2
cmp dword [edi + 0x79c], 0
jl 0x41e713
jg 0x41e6f6
cmp dword [edi + 0x798], 0x128c5680
jbe 0x41e713
push 0x11
push str.D:Program_Files_
lea ecx, [ebp - 0x10]
call fcn.00408c90
mov eax, dword [edi + 0x798]
mov ecx, dword [edi + 0x79c]
jmp 0x41e71f
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.00408e20
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x780]
mov esi, dword [ecx]
or ebx, 0xffffffff
sub esi, 0x10
lea edx, [eax - 0x10]
mov dword [ebp - 0x18], edx
cmp edx, esi
je 0x41e7a2
cmp dword [esi + 0xc], 0
jl 0x41e796
mov edx, dword [eax - 0x10]
cmp edx, dword [esi]
jne 0x41e796
mov ecx, dword [ebp - 0x18]
call fcn.00408b90
mov dword [ebp - 0x18], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e786
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
lea edx, [edi + 0x780]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
jmp 0x41e7a8
push dword [eax - 0xc]
push eax
call fcn.00408c90
mov eax, dword [ebp - 0x10]
lea edx, [edi + 0x780]
mov ecx, dword [edi + 0x7b0]
test ecx, ecx
je 0x41e7bc
mov eax, dword [ecx]
push dword [edx]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x10]
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e7d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41e7eb
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.00408b70
call fcn.004c05a0
int3