Function at 0x415d00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4df32d
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x518caa
call fcn.004dd464
mov edx, dword [edi + 0x77c]
cmp dword [edx - 0xc], 0
je 0x415e47
mov esi, dword [edi + 0x780]
lea ecx, [edx - 0x10]
sub esi, 0x10
cmp ecx, esi
je 0x415d96
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x415d87
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x415d87
call fcn.00406660
mov dword [ebp - 0x18], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415d7c
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 0x415d96
push dword [edx - 0xc]
lea ecx, [edi + 0x780]
push edx
call fcn.00406740
push ecx
mov ecx, dword [edi + 0x780]
mov esi, esp
sub ecx, 0x10
mov dword [ebp - 0x18], esi
call fcn.00406660
add eax, 0x10
lea ecx, [ebp - 0x30]
mov dword [esi], eax
call fcn.00402be0
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
jbe 0x41605c
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov cl, byte [eax]
call fcn.00404260
mov ecx, dword [edi + 0x7b0]
mov dword [edi + 0x788], eax
mov dword [edi + 0x78c], edx
test ecx, ecx
je 0x415dfe
mov eax, dword [ecx]
push dword [edi + 0x780]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x41604b
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415e2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416061
push ecx
push edx
call fcn.004b04f5
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.004062e0
lea eax, [ebp - 0x14]
push eax
call fcn.00415b10
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x415f33
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415f33
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 0x415ee6
cmp dword [esi + 0xc], 0
jl 0x415ed4
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x415ed4
mov ecx, edx
call fcn.00406660
mov dword [ebp - 0x18], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415ec7
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 0x415ee6
mov eax, dword [ebp - 0x14]
push dword [eax - 0xc]
push eax
call fcn.00406740
lea ecx, [edi + 0x780]
mov edx, dword [edi + 0x79c]
mov eax, dword [edi + 0x798]
test edx, edx
jl 0x415eff
jg 0x415f0b
cmp eax, 0x128c5680
ja 0x415f0b
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 0x416033
mov eax, dword [edx]
push dword [ecx]
mov ecx, edx
call dword [eax + 0x2c]
jmp 0x416033
lea ecx, [ebp - 0x10]
call fcn.00404b70
mov byte [ebp - 4], 2
cmp dword [edi + 0x79c], 0
jl 0x415f73
jg 0x415f56
cmp dword [edi + 0x798], 0x128c5680
jbe 0x415f73
push 0x11
push str.D:Program_Files_
lea ecx, [ebp - 0x10]
call fcn.00406740
mov eax, dword [edi + 0x798]
mov ecx, dword [edi + 0x79c]
jmp 0x415f7f
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.004068d0
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 0x416002
cmp dword [esi + 0xc], 0
jl 0x415ff6
mov edx, dword [eax - 0x10]
cmp edx, dword [esi]
jne 0x415ff6
mov ecx, dword [ebp - 0x18]
call fcn.00406660
mov dword [ebp - 0x18], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415fe6
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 0x416008
push dword [eax - 0xc]
push eax
call fcn.00406740
mov eax, dword [ebp - 0x10]
lea edx, [edi + 0x780]
mov ecx, dword [edi + 0x7b0]
test ecx, ecx
je 0x41601c
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 0x416033
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 0x41604b
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.00406640
call fcn.004b7be0
int3