Function at 0x1006d130
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10213f70
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x10250150]
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 0x1006d174
test edi, edi
je 0x1006d23a
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.102134e7
lea eax, [ebp - 0x21c]
push eax
push 0x1a
call fcn.100e6f30
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 0x1006d23a
push 0
lea ecx, [ebp - 0x240]
call fcn.10016d20
lea eax, [ebp - 0x240]
push eax
push ecx
mov esi, esp
call fcn.10003980
mov ecx, eax
test ecx, ecx
je 0x1006d400
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.10004a70
test al, al
jne 0x1006d224
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006d206
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.10004050
mov ecx, ebx
call fcn.100747e0
test eax, eax
jne 0x1006d249
lea ecx, [ebp - 0x240]
call fcn.100170a0
lea ecx, [ebp + 8]
call fcn.1000d2b0
xor eax, eax
jmp 0x1006d3e2
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0
push 0x10219d7c
lea ecx, [ebp - 0x220]
call fcn.10004700
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x240]
push eax
push ecx
mov ecx, esp
push str.apps
call fcn.1006bea0
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.1000cc60
mov ecx, ebx
call fcn.10074ac0
mov esi, eax
test edi, edi
je 0x1006d2b2
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x24]
call fcn.10004870
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.1006bea0
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.1000cc60
mov ecx, ebx
call fcn.10074ac0
mov dword [ebp - 0x228], eax
test edi, edi
je 0x1006d30a
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x2c]
call fcn.10004870
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.1006bea0
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.1000cc60
mov ecx, ebx
call fcn.10074ac0
mov dword [ebp - 0x228], eax
test edi, edi
je 0x1006d364
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x34]
call fcn.10004870
mov eax, dword [ebp - 0x228]
mov dword [edi + 0x30], eax
or esi, eax
mov dword [ebp - 0x224], esi
lea ecx, [ebp - 0x220]
call int.10008f10
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1006d3a5
cmp dword [ebp + 0x20], 0
jne 0x1006d3a5
lea eax, [ebp - 0x240]
push eax
push ecx
mov ecx, esp
lea eax, [ebp - 0x21c]
push eax
call fcn.10004700
mov ecx, ebx
call fcn.1006cfe0
lea ecx, [ebp - 0x240]
call fcn.100170a0
lea ecx, [ebp + 8]
call fcn.1000d2b0
mov eax, esi
jmp 0x1006d3e2
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.10212f74
mov esp, ebp
pop ebp
ret 0x20
push 0x80004005
call fcn.100030c0
int3