Function at 0x1006c360
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fba30
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov edi, dword [ebp + 0x24]
cmp dword [ebp + 0x20], 0
je 0x1006c3a4
test edi, edi
je 0x1006c464
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.101f9fcf
lea eax, [ebp - 0x21c]
push eax
push 0x1a
call fcn.100dbd90
add esp, 0x14
push str.360se6_apps_bin_appslocal.json
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006c464
push 0
lea ecx, [ebp - 0x240]
call fcn.10014510
lea eax, [ebp - 0x240]
push eax
push ecx
mov esi, esp
call fcn.10002d70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.10023e80
test al, al
jne 0x1006c44e
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006c430
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.10003740
mov ecx, ebx
call fcn.10072d10
test eax, eax
jne 0x1006c473
lea ecx, [ebp - 0x240]
call fcn.10014820
lea ecx, [ebp + 8]
call fcn.1000c070
xor eax, eax
jmp 0x1006c60c
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0
push 0x10202940
lea ecx, [ebp - 0x220]
call fcn.10002490
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x240]
push eax
push ecx
mov ecx, esp
push str.apps
call fcn.1006b070
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.1000b980
mov ecx, ebx
call fcn.10072f80
mov esi, eax
test edi, edi
je 0x1006c4dc
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x24]
call fcn.10002790
mov dword [edi + 0x20], esi
mov dword [ebp - 0x224], esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x240]
push eax
push ecx
mov ecx, esp
push str.toolbar
call fcn.1006b070
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.1000b980
mov ecx, ebx
call fcn.10072f80
mov dword [ebp - 0x228], eax
test edi, edi
je 0x1006c534
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x2c]
call fcn.10002790
mov eax, dword [ebp - 0x228]
mov dword [edi + 0x28], eax
or esi, eax
mov dword [ebp - 0x224], esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x240]
push eax
push ecx
mov ecx, esp
push str.sidebar
call fcn.1006b070
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.1000b980
mov ecx, ebx
call fcn.10072f80
mov dword [ebp - 0x228], eax
test edi, edi
je 0x1006c58e
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x34]
call fcn.10002790
mov eax, dword [ebp - 0x228]
mov dword [edi + 0x30], eax
or esi, eax
mov dword [ebp - 0x224], esi
lea ecx, [ebp - 0x220]
call fcn.10007e10
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1006c5cf
cmp dword [ebp + 0x20], 0
jne 0x1006c5cf
lea eax, [ebp - 0x240]
push eax
push ecx
mov ecx, esp
lea eax, [ebp - 0x21c]
push eax
call fcn.10002490
mov ecx, ebx
call fcn.1006c220
lea ecx, [ebp - 0x240]
call fcn.10014820
lea ecx, [ebp + 8]
call fcn.1000c070
mov eax, esi
jmp 0x1006c60c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0x20