Function at 0x1000ef30
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015235d
mov eax, dword fs:[0]
push eax
sub esp, 0x250
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 esi, ecx
mov dword [ebp - 0x25c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x258], 1
push 0
push eax
call fcn.10129ae0
add esp, 0xc
mov dword [ebp - 0x254], 0x104
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x258]
push eax
push str.InstallLocation
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall360Chrome
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000f276
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.User_DataDefaultHistory
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
je 0x1000f0d4
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x1000f292
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x1000f03b
movzx eax, ax
lea ecx, [ebp - 0x24c]
push eax
call fcn.1000b800
jmp 0x1000f066
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000f044
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.1000e410
mov eax, dword [esi + 8]
lea edi, [esi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x250], eax
cmp dword [edi + 8], eax
je 0x1000f0a1
mov esi, dword [ebp - 0x24c]
lea eax, [esi - 0x10]
push eax
call fcn.1000cb70
mov ecx, dword [ebp - 0x250]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x1000f0b6
lea ecx, [ebp - 0x24c]
push ecx
push eax
mov ecx, edi
call fcn.1000e680
mov esi, dword [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000f0d4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360History
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x1000f276
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x1000f29c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x250], eax
mov eax, str.WebHistory
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x250]
test eax, 0xffff0000
jne 0x1000f14b
movzx eax, ax
push eax
call fcn.1000b800
jmp 0x1000f157
push 0xa
push str.WebHistory
call fcn.1000e410
push 1
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100343c0
add esp, 0xc
mov edx, dword [ebp - 0x250]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f197
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x18
push str.360chrome_temhistory.db
lea ecx, [ebp - 0x24c]
call fcn.1000edb0
push 0xfde9
push dword [ebp - 0x24c]
lea eax, [ebp - 0x248]
push eax
call fcn.101095c0
mov esi, eax
push 0xfde9
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.101095c0
push esi
push eax
mov byte [ebp - 4], 7
call fcn.1002a780
add esp, 0x20
movzx esi, al
lea ecx, [ebp - 0x230]
call fcn.10004da0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 5
call fcn.10004da0
test esi, esi
je 0x1000f254
push dword [ebp - 0x24c]
call edi
test eax, eax
je 0x1000f254
mov esi, dword [ebp - 0x25c]
mov edi, dword [esi + 8]
cmp dword [esi + 0xc], edi
je 0x1000f244
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
push eax
call fcn.1000cb70
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 8], 4
jmp 0x1000f254
lea eax, [ebp - 0x24c]
push eax
push edi
lea ecx, [esi + 4]
call fcn.1000ec40
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000f276
mov ecx, dword [edx]
push edx
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 0x80004005
call fcn.1000b280
int3