Function at 0x1001e63d
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push str.PluginPath
push 0x1003c3e4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ebx
call fcn.10020145
add esp, 0x14
lea eax, [ebp - 0x11c]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x11c]
push eax
call edi
cmp byte [ebp + eax - 0x11d], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x1001e6a4
lea eax, [ebp - 0x11c]
push 0x10041064
push eax
call esi
lea eax, [ebp - 0x11c]
push eax
call edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x11c]
push str.chrome
push eax
call esi
lea eax, [ebp - 0x11c]
push 0x10041064
push eax
call esi
lea eax, [ebp - 0x11c]
push str.installed_chrome.txt
push eax
call esi
push ebx
push 0x80
push 3
push ebx
push 3
lea eax, [ebp - 0x11c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x1001e7ea
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
lea eax, [eax + eax + 2]
push ebx
push eax
push ebx
push 4
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x1001e7ea
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
cmp ecx, ebx
je 0x1001e7ea
mov eax, dword [ebp - 8]
add eax, 2
push eax
mov eax, dword [ebp - 8]
add ecx, eax
push ebx
push ecx
call fcn.10013fcd
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.10013e0e
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x1001e7c6
push dword [ebp + 0xc]
call edi
add eax, dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
mov cl, byte [eax]
cmp cl, 0xa
je 0x1001e794
cmp cl, 0xd
jne 0x1001e797
inc eax
jmp 0x1001e788
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
sub ecx, eax
add ecx, dword [ebp - 8]
push ecx
push eax
push dword [ebp - 0xc]
call fcn.10013c80
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
sub eax, dword [ebp + 0xc]
add esp, 0xc
add eax, dword [ebp - 4]
push dword [ebp - 4]
mov byte [eax + ecx], bl
call edi
mov dword [ebp - 8], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x1001e7ea
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push str.chrome
lea eax, [ebp + eax - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x11c]
push str.overlayinfo_browsercontentoverlays.rdf
push eax
call esi
lea eax, [ebp - 0x11c]
push eax
call fcn.10020c5e
test eax, eax
pop ecx
je 0x1001e9a8
push ebx
push 0x80
push 3
push ebx
push 3
lea eax, [ebp - 0x11c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x1001e994
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push ebx
mov dword [ebp - 8], esi
lea eax, [esi + esi + 2]
push eax
push ebx
push 4
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x1001e994
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
cmp ecx, ebx
je 0x1001e994
lea eax, [esi + 2]
add ecx, esi
push eax
push ebx
push ecx
call fcn.10013fcd
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.10013e0e
add esp, 0x14
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x1001e99f
cmp eax, dword [ebp - 4]
mov esi, eax
jbe 0x1001e8e1
dec esi
cmp byte [esi], 0x3c
je 0x1001e8ea
cmp esi, dword [ebp - 4]
ja 0x1001e8d6
cmp byte [esi], 0x3c
jne 0x1001e96f
push str._RDF:li_
call edi
push eax
push str._RDF:li_
push esi
call fcn.10013d79
add esp, 0xc
test eax, eax
je 0x1001e96f
push dword [ebp + 0x10]
call edi
add dword [ebp + 0xc], eax
push str.__RDF:li_
push dword [ebp + 0xc]
call fcn.10013e0e
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp + 0xc], eax
je 0x1001e96f
push str.__RDF:li_
call edi
add dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
cmp al, 0xa
je 0x1001e939
cmp al, 0xd
jne 0x1001e93e
inc dword [ebp + 0xc]
jmp 0x1001e92c
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
push eax
push dword [ebp + 0xc]
push esi
call fcn.10013c80
sub esi, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
add esp, 0xc
add esi, dword [ebp - 4]
push dword [ebp - 4]
mov byte [esi + eax], bl
call edi
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 1
mov esi, dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x1001e994
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001e9af
mov dword [ebp - 0x10], 1
jmp 0x1001e972
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret