Function at 0x10011b00
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152651
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x101933a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor ebx, ebx
mov dword [ebp - 0x224], ebx
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x10011df4
lea esi, [ebp - 0x218]
shr esi, 0x10
or edi, 0xffffffff
mov dword [ebp - 0x22c], esi
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
test esi, esi
jne 0x10011ba0
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.1000b800
jmp 0x10011bc5
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10011ba3
sub eax, edx
lea ecx, [ebp - 0x21c]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1000e410
mov dword [ebp - 4], 1
test ebx, ebx
jne 0x10011c58
mov esi, dword [ebp - 0x21c]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x10011c04
push 0x104
lea ecx, [ebp - 0x21c]
call fcn.1000b9b0
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 8], 0x104
jl 0x10011dfe
push str.GoogleChromeUser_DataDefaultHistory
xor eax, eax
mov dword [esi - 0xc], 0x104
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [esi - 8]
push esi
call fcn.1012ff55
add esp, 8
test eax, eax
js 0x10011dfe
cmp eax, dword [esi - 8]
jg 0x10011dfe
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x10011d2e
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x10011df4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push ebx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push str.GoogleChromeUser_DataProfile__dHistory
push eax
call fcn.1000ee70
mov esi, dword [ebp - 0x21c]
mov ecx, 1
add esp, 0xc
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x10011cbe
push 0x104
lea ecx, [ebp - 0x21c]
call fcn.1000b9b0
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 8], 0x104
jl 0x10011dfe
mov edi, dword [ebp - 0x220]
xor eax, eax
push edi
mov dword [esi - 0xc], 0x104
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [esi - 8]
push esi
call fcn.1012ff55
add esp, 8
test eax, eax
js 0x10011dfe
cmp eax, dword [esi - 8]
jg 0x10011dfe
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
add edi, 0xfffffff0
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10011d2b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or edi, 0xffffffff
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011dbc
mov edi, dword [ebp - 0x228]
mov ebx, dword [edi + 8]
cmp dword [edi + 0xc], ebx
je 0x10011d62
lea eax, [esi - 0x10]
push eax
call fcn.1000cb70
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [edi + 8], 4
jmp 0x10011d78
lea eax, [ebp - 0x21c]
push eax
push ebx
lea ecx, [edi + 4]
call fcn.1000ec40
mov esi, dword [ebp - 0x21c]
mov ebx, dword [ebp - 0x224]
or edi, 0xffffffff
inc ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x224], ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10011da6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x10011df4
mov esi, dword [ebp - 0x22c]
jmp 0x10011b70
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x10011dd8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061045
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000b280
push 0x80070057
call fcn.1000b280
int3